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) > 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

Created by Marco J Cleofe, last modified by Steven Bansil_ret on Apr 18, 2017

Views: 87 Votes: 3 Revisions: 5

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.