Error When Accessing AppAdvisor and AppDiagnostics
When I try to launch AppAdvisor or AppDiagnostics I receieve an error message that says: An error has occurred The additional error information can be found in the Windows Application Log. We apologize for any inconvenience caused by this temporary service outage. At the same time I get the ASP.NET error below in the Windows Application Event log on my WebConsole server. The following lines appear to be the issue: Exception type: InvalidCastException Exception message: Unable to cast object of type 'System.DBNull' to type 'System.String'. I've tried a few things. I uninstalled the WebConsole and reinstalled it. I also uninstalled it from one Management Server and installed it on another with the same issue. I ran EXEC [apm].GrantRWPermissionsToComputer N'[LOGIN] on both the OperationsManager and OperationsManagerDW db's to ensure that there sufficient permissions. I've also tried to run the OperationsManagerAppMonitoring Application Pool as NetworkService which did nothing as well. I've also played around with IIS authentication permissions in every imaginable combination with no luck. Any recommendations? Event code: 3005 Event message: An unhandled exception has occurred. Event time: 7/30/2012 3:26:33 PM Event time (UTC): 7/30/2012 7:26:33 PM Event ID: bd1d4es94934e36b5ee159e0a03804e7 Event sequence: 8 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT/AppAdvisor-4-12949349583849395 Trust level: Full Application Virtual Path: /AppAdvisor Application Path: C:\Program Files\Operations Manager 2012\WebConsole\AppDiagnostics\AppAdvisor\Web\ Machine name: ManagementServer1 Process information: Process ID: 1728 Process name: w3wp.exe Account name: IIS APPPOOL\OperationsManagerAppMonitoring Exception information: Exception type: InvalidCastException Exception message: Unable to cast object of type 'System.DBNull' to type 'System.String'. at Microsoft.EnterpriseManagement.Common.Internal.ServiceProxy.HandleFault(String methodName, Message message) at Microsoft.EnterpriseManagement.Common.Internal.ApmManagementServiceProxy.GetDatabaseInfo(Guid classType) at Microsoft.EnterpriseManagement.ApmManagement.GetDatabaseInfo(Guid classType) at Avicode.Intercept.SEManager.Core.Services.SCOM.DatabaseInfo.DatabaseInfoSDKProviderExtension.<>c__DisplayClasse.<GetApmDatabaseInfo>b__c() at Avicode.Intercept.SEManager.Core.Services.SCOM.DatabaseInfo.DatabaseInfoSDKProviderExtension.DoActionWithRetries[T](Func`1 action, ManagementGroup mg) at Avicode.Intercept.SEManager.Core.Services.SCOM.DatabaseInfo.DatabaseInfoSDKProviderExtension.GetApmDatabaseInfo(IDatabaseInfoSDKProvider dbInfoSDKProviderBase, Guid sqlPropertyStorageClassGuid) at Avicode.Intercept.SEManager.Core.Services.SCOM.DatabaseInfo.DatabaseInfoSDKProviderBase.get_DatabaseInfo() at Avicode.Intercept.SEManager.Core.Services.SCOM.DatabaseInfo.DatabaseInfoSDKProviderBase.get_ServerName() at Avicode.Intercept.SEManager.Core.DBAccess.DBAccess.GetConnectionString(IDatabaseInfoProvider provider) at Avicode.Intercept.SEManager.Core.DBAccess.DBAccess.get_ReportConnectionString() at Avicode.Intercept.SEManager.Core.DBAccess.DBAccess.get_ReportingDB() at Avicode.Intercept.SEManager.WebViewer.Pages.Authenticate.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Request information: Request URL: https://localhost:443/AppAdvisor/Pages/Authenticate.aspx?ReturnUrl=/AppAdvisor Request path: /AppAdvisor/Pages/Authenticate.aspx User host address: ::1 User: Is authenticated: False Authentication Type: Thread account name: IIS APPPOOL\OperationsManagerAppMonitoring Thread information: Thread ID: 18 Thread account name: IIS APPPOOL\OperationsManagerAppMonitoring Is impersonating: False Stack trace: at Microsoft.EnterpriseManagement.Common.Internal.ServiceProxy.HandleFault(String methodName, Message message) at Microsoft.EnterpriseManagement.Common.Internal.ApmManagementServiceProxy.GetDatabaseInfo(Guid classType) at Microsoft.EnterpriseManagement.ApmManagement.GetDatabaseInfo(Guid classType) at Avicode.Intercept.SEManager.Core.Services.SCOM.DatabaseInfo.DatabaseInfoSDKProviderExtension.<>c__DisplayClasse.<GetApmDatabaseInfo>b__c() at Avicode.Intercept.SEManager.Core.Services.SCOM.DatabaseInfo.DatabaseInfoSDKProviderExtension.DoActionWithRetries[T](Func`1 action, ManagementGroup mg) at Avicode.Intercept.SEManager.Core.Services.SCOM.DatabaseInfo.DatabaseInfoSDKProviderExtension.GetApmDatabaseInfo(IDatabaseInfoSDKProvider dbInfoSDKProviderBase, Guid sqlPropertyStorageClassGuid) at Avicode.Intercept.SEManager.Core.Services.SCOM.DatabaseInfo.DatabaseInfoSDKProviderBase.get_DatabaseInfo() at Avicode.Intercept.SEManager.Core.Services.SCOM.DatabaseInfo.DatabaseInfoSDKProviderBase.get_ServerName() at Avicode.Intercept.SEManager.Core.DBAccess.DBAccess.GetConnectionString(IDatabaseInfoProvider provider) at Avicode.Intercept.SEManager.Core.DBAccess.DBAccess.get_ReportConnectionString() at Avicode.Intercept.SEManager.Core.DBAccess.DBAccess.get_ReportingDB() at Avicode.Intercept.SEManager.WebViewer.Pages.Authenticate.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Custom event details:
July 30th, 2012 3:53pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics