初始化存储过程出错,microsoft ole db provider for sql server execution of .net framework code is disabled.set "clr enabled" configuration option and restart the server.
大概中文意思是(禁止在 .NET Framework 中执行用户代码。启用 "clr enabled" 配置选项)
原因分析:从提示可以看出可能是数据库连接组件或者.NET设置的问题,但用友小辣妹表示实在没有碰到过此类错误提示,因为软件都是正常安装的,没有报错,于是就直接百度了一下 clr enabled 这个内容,出来好多可参考的文章。
解决办法:在查询分析其中执行如下代码:
SQL
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
每天一点点。。。