且构网

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

如何部署一个IIS ASP .NET应用程序以完全信任?

更新时间:2023-11-20 15:16:34

我不知道是否充分信任模式能够解决您的问题,因为错误似乎是从C ++,要么某种权限的未来在文件系统级丢失或文件本身缺少

I am not sure if giving full trust mode will resolve your issue since error seems to be coming from C++ and either some kind of permission at file system level is missing or the file itself is missing.

在任何情况下,回答你的问题,宥可以使用web.config中设置完全信任模式,增加以下部分,你的web.config,

In any case, to answer your question, yuo can set full trust mode using web.config, add following section to your web.config,

<system.web>
 <securityPolicy>
   <trustLevel name="Full" policyFile="internal"/>
 </securityPolicy>
</system.web>

更多细节可以看这里:http://msdn.microsoft.com/en-us/library/wyts434y.aspx