禁止在 .NET Framework 中执行用户代码。启用 "clr enabled" 配置选项

解决方法:

查询分析器中运行如下代码即可:

use <databasename>

go

exec sp_configure 'show advanced options', '1';
go
reconfigure;
go
exec sp_configure 'clr enabled', '1'
go
reconfigure;
exec sp_configure 'show advanced options', '1';
go

原文地址:https://www.cnblogs.com/huaan011/p/4285533.html