Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Network Performance Monitor (NPM) > Unable to add or edit an AD account or group in the Orion Web Console

Unable to add or edit an AD account or group in the Orion Web Console

Updated April 17th, 2017

Overview

 

This article describes the issue where you are unable to add or edit an AD account or group in the Web Console and it throws the following message:

Unexpected Website Error

Object reference not set to an instance of an object. 

It also shows the following error log:

2015-07-10 16:33:29,186 [25] ERROR ASP.global_asax - Application_Error(e448188144304ecb8cfd4f034234522b)

System.NullReferenceException: Object reference not set to an instance of an object.

   at Orion_Admin_AccountLimitationEditor.UpdateRow(Limitation limit, PlaceHolder phType, PlaceHolder phDetail)

   at Orion_Admin_AccountLimitationEditor.UpdateControlState()

   at Orion_Admin_Accounts_EditAccount.OnInit(EventArgs e)

   at System.Web.UI.Control.InitRecursive(Control namingContainer)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Environment

All Orion Platform modules 

 

Cause 

This issue may occur due to the following reasons: 

  • The account or group may have been added and deleted.
  • The account or group still exists on the database but the limitation assigned to the account no longer exists.

Resolution

  1. Open the Database Manager. 
  2. Click Add default server.
  3. Expand the SolarWindsOrion database.
  4. Double-click the Accounts table and execute the following query:
    SELECT accountid, limitationid1, limitationid2, limitationid3 FROM [dbo].[Accounts]
    where accountid = 'PUT THE ACCOUNT OR GROUP THAT CANNOT BE EDITTED HERE'

  5.  Double-click the Limitations table and click Execute query. Notice that there is a limitation assigned to the account or group.
  6.  Go back to the Accounts table and click Enable table editing. 
  7. Change the LimitationID1 column value from 2 to 0.