Network Management
After upgrading to 2022.3 - 2022.4, HTTP 500 Internal Server Error when attempting to login to the Orion Website
Unable to log in due to a website error.
First published date
Last published date
Overview
(Screenshot property of © 2022 Microsoft)
Below are error messages captured in logs:
IIS log (time in UTC)
2022-10-12 20:51:39 127.0.0.1 GET /Orion/Login.aspx ReturnUrl=%2fapps%2fplatform 8080 -
127.0.0.1 - - 500 0 1001 50
OrionWeb.log (local time / UTC+1)
2022-10-12 21:51:39,324 [14] (21) DEBUG SolarWinds.Orion.Common.SqlHelper -
(null) SQL: SELECT SettingName, SettingValue FROM WebSettings
[..]
2022-10-12 21:51:39,324 [14] (21) ASP.global_asax - (null)
Application_Error(23e09023df5d48d9a6304091a57c07a0)System.NullReferenceException:
Object reference not set to an instance of an object.
at SolarWinds.Orion.Web.UI.Localizer.WebFileRegistry.AddThemeStylesheets(PathResolver resolver)
at SolarWinds.Orion.Web.UI.OrionMinReqsMaster.OnInit(EventArgs e)
at ASP.orion_orionminreqs_master.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Product section
Cause
Resolution
Upon checking the content of the highlighted table, you may notice that some of the settings have their values blank, for example, StyleSheet. To fix the issue, you may run the below query (please make sure to adjust if you are looking at a different setting)
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. -- UPDATE [WebSettings] SET [SettingValue] = 'SlateGray.css' WHERE [SettingName] = 'StyleSheet'