由于 safe 程序集 “” 中的类型 “” 具有 pinvokeimpl 方法,CREATE ASSEMBLY 失败。在 safe 程序集中不允许 P/Invoke。解决方法
2016年6月25日
Sql Server用户自定义函数出现错误:
由于 safe 程序集 “” 中的类型 “” 具有 pinvokeimpl 方法,CREATE ASSEMBLY 失败。在 safe 程序集中不允许 P/Invoke。网上不容易找到解决方法,现公布如下:
alter database yourdb set trustworthy on
分类: 数据库