I'm running SCOM 2007 R2. I can not remove any Views that were created under Monitoring nor can I remove any folders that were created. I receive The server threw an unknown exception. See inner exception for details error.
I am a member of the Operations Manager Administrators role. Below is the full error.
Note: The following information was gathered when the operation was attempted. The information may appear cryptic but provides context for the error. The application will continue to run.
Microsoft.EnterpriseManagement.Common.UnknownServiceException: The service threw an unknown exception. See inner exception for details. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The type initializer for 'Bid' threw
an exception. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.TypeInitializationException: The type initializer for 'Bid' threw an exception. ----> System.Security.SecurityException: Request for the permission of type 'System.Diagnostics.EventLogPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Diagnostics.EventLog..ctor(String logName, String machineName, String source)
at Bid.internalInitialize()
at Bid..cctor()
--- End of inner ExceptionDetail stack trace ---
at Bid.get_VerboseOn()
at Bid.ScopeAuto..ctor(String strScopeName)
at Microsoft.EnterpriseManagement.Configuration.ManagementPack.DeserializeManagementPack(Byte[] managementPack)
at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccess.UpdateManagementPa...).
--- End of inner exception stack trace ---
at Microsoft.EnterpriseManagement.DataAbstractionLayer.SdkDataAbstractionLayer.HandleIndigoExceptions(Exception ex)
at Microsoft.EnterpriseManagement.DataAbstractionLayer.TypeSpaceOperations.UpdateManagementPack(ManagementPack managementPack, ManagementGroup managementGroup)
at Microsoft.EnterpriseManagement.Configuration.ManagementPackDatabaseWriter.UpdateManagementPack(ManagementPack mp)
at Microsoft.EnterpriseManagement.Configuration.ManagementPack.AcceptChanges()
at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.MonitoringViewsFolderDefinition.DeleteViewJob(Object sender, ConsoleJobEventArgs args)
at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The type initializer for 'Bid' threw an exception. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.TypeInitializationException: The type initializer for 'Bid' threw an exception. ----> System.Security.SecurityException: Request for the permission of type 'System.Diagnostics.EventLogPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Diagnostics.EventLog..ctor(String logName, String machineName, String source)
at Bid.internalInitialize()
at Bid..cctor()
--- End of inner ExceptionDetail stack trace ---
at Bid.get_VerboseOn()
at Bid.ScopeAuto..ctor(String strScopeName)
at Microsoft.EnterpriseManagement.Configuration.ManagementPack.DeserializeManagementPack(Byte[] managementPack)
at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccess.UpdateManagementPa...).