Monitoring Exchange 2007 with SCOM 2012 a lot of workflow script errors
There is a lot of errors with exception like: he constructor for the managed module type "Microsoft.EnterpriseManagement.Modules.PowerShell.PowerShellProbeActionModule" threw an exception. This module was running in rule "Microsoft.Exchange2007.Database.MSExchangeDatabase.DatabaseFileGrowth" running for instance "Private MDB (x\First Storage Group\Mailbox Database)" with id:"{5C1D78A0-0A52-7E2F-623E-766F0AD312DC}" in management group "DC1". The exception text is: System.TypeInitializationException: The type initializer for 'Microsoft.EnterpriseManagement.Common.PowerShell.RunspaceConfigurationContainer' threw an exception. ---> System.TypeLoadException: Could not load type 'System.Management.Automation.Runspaces.InitialSessionState' from assembly 'System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. at Microsoft.EnterpriseManagement.Common.PowerShell.RunspaceConfigurationContainer..cctor() --- End of inner exception stack trace --- at Microsoft.EnterpriseManagement.Common.PowerShell.RunspaceConfigurationContainer..ctor(List`1 snapIns, List`1 modules) at Microsoft.EnterpriseManagement.Modules.PowerShell.PowerShellProbeActionModule..ctor(ModuleHost`1 moduleHost, XmlReader configuration, Byte[] previousState) The constructor for the managed module type "Microsoft.EnterpriseManagement.Modules.PowerShell.PowerShellProbeActionModule" threw an exception. This module was running in rule "Microsoft.Exchange2007.PrivateMdb.MSExchangeDatabase.MailboxCount" running for instance "Private MDB (x\First Storage Group\Mailbox Database)" with id:"{5C1D78A0-0A52-7E2F-623E-766F0AD312DC}" in management group "DC1". The exception text is: System.TypeInitializationException: The type initializer for 'Microsoft.EnterpriseManagement.Common.PowerShell.RunspaceConfigurationContainer' threw an exception. ---> System.TypeLoadException: Could not load type 'System.Management.Automation.Runspaces.InitialSessionState' from assembly 'System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. at Microsoft.EnterpriseManagement.Common.PowerShell.RunspaceConfigurationContainer..cctor() --- End of inner exception stack trace --- at Microsoft.EnterpriseManagement.Common.PowerShell.RunspaceConfigurationContainer..ctor(List`1 snapIns, List`1 modules) at Microsoft.EnterpriseManagement.Modules.PowerShell.PowerShellProbeActionModule..ctor(ModuleHost`1 moduleHost, XmlReader configuration, Byte[] previousState) Guntars Svilpe
June 1st, 2012 5:28am

Hi, Did you read the OM2007_MP_EX2007_SP1.doc before import? http://www.microsoft.com/en-us/download/details.aspx?id=23944Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
June 1st, 2012 6:39am

Hi, I'm using Exchange Server 2007 Operations Manager 2007 R2 MP and have read OM2007_MP_EX2007_R2.doc http://www.microsoft.com/en-us/download/details.aspx?id=1750. What do you think I'm missing?Guntars Svilpe
June 1st, 2012 6:57am

Hi, The fix was to install PowerShell 2.0 on Exchange 2007 server. Thanks anyway.Guntars Svilpe
Free Windows Admin Tool Kit Click here and download it now
July 9th, 2012 5:42am

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

Other recent topics Other recent topics