Quantcast
Channel: Operations Manager - General forum
Viewing all articles
Browse latest Browse all 11941

SCOM powershell Export-SCOMEffectiveMonitoringConfiguration static DB

$
0
0

Hi

When I try to use the following powershell cmdlet for scom, I receive the error message each time. In the opsmgr event log it shows the error and that is referenceing the "OperationsManager" database name. I am using a non-standard db name eg "OperationsManager01."  Would this be hardcoded within the cmdlet itself that is causing it to fail?  Can anyone else reproduce the problem?

Cmdlet:

Export-SCOMEffectiveMonitoringConfiguration : The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.

Event log:

An exception was thrown while processing GetEffectiveMonitoring for session ID uuid:20410731-5f6e-4e95-aea8-bb2a358fb93a;id=22.
 Exception message: Invalid object name 'OperationsManager.dbo.fn_AllBaseTypesAndSelf'. QueryDefinition 'EffectiveMonitoringWorkflow'.
 Full Exception: Microsoft.EnterpriseManagement.Common.DatabaseObjectDoesNotExistException: Invalid object name 'OperationsManager.dbo.fn_AllBaseTypesAndSelf'. QueryDefinition 'EffectiveMonitoringWorkflow'. ---> System.Data.SqlClient.SqlException: Invalid object name 'OperationsManager.dbo.fn_AllBaseTypesAndSelf'.


Viewing all articles
Browse latest Browse all 11941

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>