SCOM / OPSMGR execution of CLR code
Does SCOM 2007 enable CLR on the SQL Server or is it a task that must be performed. As i now get errors when doing tasks Date: 30/06/2009 12:38:09 p.m.Application: System Center Operations Manager 2007Application Version: 6.0.6278.0Severity: ErrorMessage: Microsoft.EnterpriseManagement.Common.UnknownServiceException: The service threw an unknown exception. See inner exception for details. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:System.Data.SqlClient.SqlException: Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at Sys...). --- End of inner exception stack trace --- at Microsoft.EnterpriseManagement.DataAbstractionLayer.SdkDataAbstractionLayer.HandleIndigoExceptions(Exception ex) at Microsoft.EnterpriseManagement.DataAbstractionLayer.TypeSpaceOperations.PerformGroupMembershipDiscoverySnapshot(String managementPackXml) at Microsoft.EnterpriseManagement.ManagementGroup.RefreshMonitoringGroupMembers(ManagementPack managementPack) at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomTemplatePagesManager.PopulateNewGenericGroupMembers(Object sender, ConsoleJobEventArgs e) 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]: Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:System.Data.SqlClient.SqlException: Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at Sys...).
June 30th, 2009 3:51pm

Setup configurs SQL to allow execution of CLR code. You can do it manually.Run this on the OperationsManager databasesp_configure @configname=clr_enabled, @configvalue=1GORECONFIGUREGOhttp://OpsMgr.ru/
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2009 10:36pm

Hi There, Thank you for the answer but i need to know if it should be turned on or is this the result of poor Management Packs. I never got these errors till i installed DFS and DHCP MP's.Cheers
July 1st, 2009 4:49pm

Hi sp_Configure @Configname=clr_enabled,@configvalue=1 GO RECONFIGURE GO it's worked for me..
Free Windows Admin Tool Kit Click here and download it now
July 6th, 2012 5:32am

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

Other recent topics Other recent topics