Saturday 11 March 2017

Execution of user code in the .Net Framework is disabled. Enable “clr enabled” configuration option

GP Error while email testing – GP 2016R2

Error – Execution of user code in the .Net Framework is disabled. Enable “clr enabled” configuration option.


The above error is related to the SQL server, the clr enabled is not enable. For this need to enable the clr on SQL server. Use the below query to enable to clr .

USE master;
GO
EXEC sp_configure 'show advanced option', '1';
GO
RECONFIGURE;
GO
EXEC sp_configure 'CLR Enabled', 1;
GO
RECONFIGURE;
GO
EXEC sp_configure 'show advanced option', '0';
GO
RECONFIGURE;
GO





1 comment: