且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

上载Web应用程序时出现错误

更新时间:2022-03-17 22:48:13

如果看到此消息,则意味着您需要使用EXTERNAL_ACCESS或UNSAFE作为PERMISSION_SET值来创建程序集.在使用EXTERNAL_ACCESS或UNSAFE创建程序集之前,必须存在两个条件:

1.数据库必须由管理员(sysadmin固定服务器角色的成员)标记为TRUSTWORTHY,或者该程序集已使用证书或非对称密钥签名
2.创建装配的用户必须具有EXTERNAL ACCESS ASSEMBLY或UNSAFE ASSEMBLY权限.
If you see this message it means you need to create your assembly with either EXTERNAL_ACCESS or UNSAFE as the PERMISSION_SET value. Before you can create an assembly with EXTERNAL_ACCESS or UNSAFE two conditions must exist:

1. Database must be marked as TRUSTWORTHY by an administrator (member of sysadmin fixed server role) or the assembly has been signed with a certificate or asymmetric key
2. User creating the assembly must have EXTERNAL ACCESS ASSEMBLY or UNSAFE ASSEMBLY permissions.