禁止在 .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
ALTER DATABASE SYS_MES SET TRUSTWORTHY on;

exec sp_changedbowner 'sa'

 

posted @ 2023-07-04 21:34  小杨观世界  阅读(102)  评论(0编辑  收藏  举报