Network Management
How to troubleshoot and resolve when SolarWinds web console shows Server Error in '/' Application
This article provides step-by-step instructions on how to troubleshoot and resolve when the SolarWinds web console is not accessible and displays a generic error message of "Server Error in '/' Application"
First published date
Last published date
Overview
Product section
Cause
Resolution
As there are multitudes of reasons why the behavior can be observed, to dig deeper and understand, turning Custom Errors mode to Off can help.
Turn Custom Errors mode to Off
To confirm the issue, perform the following steps:
- Navigate to C:\inetpub\SolarWinds (for 2020.2.6 and older) and C:\Program Files\Solarwinds\Orion\Web (for 2022.1 and newer)
- Open the web.config file
- Modify the line <customErrors mode="On" /> to <customErrors mode="Off" />
- Save Changes
- Open a web browser and try to reach the SolarWinds web console.
A detailed error message and stack trace will be provided. Please copy all details and open a SolarWinds Support Case to help determine the root cause.
Other Steps you can take to further isolate/resolve the issue are listed below:
Resolution 1:
- You can go to SolarWinds Platform Service Manager and Restart the Website. You should see the entire error message:
This error message means that the issue is caused by our website being precompiled for a performance boost. You can disable the precompilation process by following the steps in this Thwack post.
- Once done, the website will need to be rebuilt according to the steps in this article.
Resolution 2:
Uninstall IIS
- Log in to your SolarWinds Platform server as a local administrator.
- Click Start > Control Panel > Add or Remove Programs.
- Click Add/Remove Windows Components.
- Click Application Server, and then click Details.
- Clear Internet Information Services (IIS) and click OK on the Application Server window.
- Click Next on the Windows Components window, then click Finish after completing the Windows Components Wizard.
Reinstall IIS
- Log in to your SolarWinds Platform server as a local administrator.
- Click Start > Control Panel > Add or Remove Programs.
- Click Add/Remove Windows Components.
- Click Application Server, confirm it is checked, and then click Details.
- Click Internet Information Services (IIS), confirm it is checked, and click Details.
- Click World Wide Web Service, confirm it is checked, and click Details.
- Select World Wide Web Service, confirm it is checked, and click OK.
- Click OK on the Internet Information Services (IIS) window, then OK on the Application Server window.
- Click Management and Monitoring Tools, confirm it is checked, and click Details.
- Confirm that Simple Network Management Protocol and WMI SNMP Provider are checked, then click OK.
- Click Next on the Windows Components window, then click Finish after completing the Windows Components Wizard.
Click Start > SolarWinds Platform > Configuration Wizard, then complete the Configuration Wizard.
NOTE: You may restart the website through the IIS manager, then wait a few minutes. Then you can check the console to see if you can log in again.
Resolution 3:
Confirm database connectivity with the SolarWinds server:
Resolution 4:
Run the configuration wizard and select the 'All Unassigned' option in the web settings section and choose port 8787:
If you don't receive an error at the end of the Configuration Wizard you should be able to re-enable HTTPS via the following steps:
- Click Start > Control Panel > Administrative Tools > Computer Management.
- Expand Services and Applications > Internet Information Services (IIS) Manager > Web Sites.
- Click SolarWinds Orion and then click Action > Properties.
- Click the Web Site tab.
- Confirm that SSL port is set to 443.
- Click Advanced.
- If the Multiple SSL identities for this Web site field does not list the IP address for the SolarWinds Web Console with SSL port 443, complete the following steps:
- Click Add and then select the IP address of the SolarWinds Web Console.
- As it was set initially in the Configuration Wizard, this option is usually set to (All Unassigned). If the IP address of the SolarWinds Web Console was not initially set to (All Unassigned), select the actual, configured IP address of the SolarWinds Web Console.
- Type 443 as the TCP port, and then click OK.
If you want to accept only HTTPS connections, complete the following steps:
- Click the Directory Security tab.
- Click Edit in the Secure communications section.
- Select Require secure channel (SSL).
- Select Accept client certificates in the Client certificates area.
- Click OK on the Secure Communications window.
- Click Apply and then click OK to exit.
- Log in to your SolarWinds server using an account with administrative rights.
- Start the SolarWinds Platform Service Manager in the SolarWinds Platform program folder, and click Shutdown Everything.
- Start the Database Manager from the SolarWinds Platform program folder.
- Select Add Orion Server and expand the SQL server.
- Navigate to SQL Servers > your SolarWinds Orion database server > SolarWindsOrion > Websites in the left pane.
- Right-click the Websites table, and click Query Table.
- Replace the default query with the following query, and click Refresh.
- UPDATE dbo.Websites SET SSLEnabled=1 WHERE WebsiteID=1
- Switch to the SolarWinds Platform Service Manager, and click Start Everything.
- Open up a command prompt as administrator and run iisreset
Resolution 5:
Check Anti-Virus on the Machine
-
Anti-Virus may be scanning the C:\inetpub\SolarWinds Folder for environments running 2020.2.6 and older, or C:\Program Files\Solarwinds\Orion\Web for environments running 2022.1 and newer.
-
Temporarily disable Anti-Virus and confirm whether the website becomes accessible.
Resolution 6:
- RDP to the Main SolarWinds Server.
- Go to the Control Panel --> Program and Features.
- Check if Microsoft Monitoring Agent is installed.
- Uninstall the Microsoft Monitoring Agent and reboot the Main SolarWinds Server.
- Run the Configuration Wizard and it will complete with no errors.
- The Web Console will be accessible after completion.