Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up 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 May 25, 2017

Views: 702 Votes: 14 Revisions: 8

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 websits.
  11. Complete the Wizard.
Last modified
06:49, 25 May 2017

Tags

Classifications

Public