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

解决方法:

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

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

 

EXEC sp_configure 'clr enabled';
EXEC sp_configure 'clr enabled' , '1';
RECONFIGURE;

posted @ 2013-01-06 16:37  xust  阅读(151)  评论(0编辑  收藏  举报