【问】安装加密锁驱动时报错:禁止在 .NET Framework 中执行用户代码。启用 clr enabled 配置选项? | ||
【适用版本】孕婴童3 | 【模块】基础业务 | 【点击数】68 |
【知识编号】Z2017082900019 | ||
【问题描述】安装加密锁驱动时报错:禁止在 .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 ‘allow updates’, 0; –设置为0
GO
RECONFIGURE WITH OVERRIDE;
GO
然后再执行上面的代码
或者用下面的方法,如还不行,建议重装操作系统。
exec sp_configure ‘show advanced options’, ‘1’;
go
reconfigure WITH OVERRIDE; –加上override
go
exec sp_configure ‘clr enabled’, ‘1’
go
reconfigure WITH OVERRIDE; — 加上override
exec sp_configure ‘show advanced options’, ‘1’;
go如果是64位操作系统和数据库,首先将软件安装包server下面的x64文件夹内的文件复制到软件的安装目录
跟SQL安装目录的binn文件夹下,然后修复下加密锁即可。