Feb 11, 2014

Msg 6263, Level 16, State 1, Line 4 Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option.


When will execute in CLR objects like CLR stored procedures or CLR data types we may get error message like:

Msg 6263, Level 16, State 1, Line 4
Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option.

Cause: In your sql server execution of CLR objects has not been allowed.

Solution:
To enable it execute following query in SSMS:
sp_configure 'clr enabled', 1
GO

RECONFIGURE
GO

No comments:

Post a Comment