Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Network Performance Monitor (NPM) > Clear website cache and rebuild the website to avoid unexpected errors

Clear website cache and rebuild the website to avoid unexpected errors

Table of contents
Created by Martin.Zelenay, last modified by Richard Casey on Oct 05, 2017

Views: 1,222 Votes: 14 Revisions: 10

Overview

This article describes how to clear the website cache and rebuild the website when getting an unexpected error on the website, such as:

 

Failed to load viewstate.

Environment

All NPM versions

Steps

Warning:

  • Consult your System Administrator before performing the following procedure. 
  • Save a copy of the original root folder to your local drive as a backup file, in case you need to roll back later.
     
  1. Log on the to your NPM server using Local Admin.
  2. In the Orion NPM server, access Orion Service Manager by going to Start > All Programs > SolarWinds Orion > Advanced Features.
  3. Click Shutdown Everything to stop all services.
  4. Open CMD, type iisreset /stop and hit Enter.
  5. Go to these locations and delete the folder inside 'root' folder:

    C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root
    C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root

  6. Start the IIS service through CMD, type iisreset /start and hit Enter.
  7. Start all Orion Services

 

If that does not help, try rebuilding website:

  1. Stop all Orion Services using Orion Service Manager
  2. Stop the SolarWinds NetPerfMon website within IIS.
  3. Rename the C:\Inetpub\SolarWinds\ folder.
  4. Delete the SolarWinds NetPerfMon website from IIS.
  5. Delete the Solarwinds Orion Application Pool under Application Pools.
  6. Clean the cache by deleting the content of the below folders:

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\

  7. Run the Configuration Wizard from Start > SolarWinds Orion > Configuration and Auto-Discovery >Configuration Wizard
  8. Select Database, Website and Services and then click Next.
  9. When the wizard runs the Website Settings will show the Website Root Directory, typically c:\Inetpub\Solarwinds
  10. Rename the folder to Something like c:\Intepub\Solarwinds2 in order to create a new folder for the websites.
  11. Complete the Wizard.
Last modified
02:15, 5 Oct 2017

Tags

Classifications

Public