我已经将我的web.config文件设置为完全信任,为什么我仍然会收到此错误?
该网站在Mono .NET和内置的.NET网络服务器下运行良好,但不适用于IIS 7.
<system.web>
<!-- trust level-->
<securityPolicy>
<trustLevel name="Full" policyFile="internal" />
<trustLevel name="High" policyFile="web_hightrust.config" />
<trustLevel name="Medium" policyFile="web_mediumtrust.config" />
<trustLevel name="Low" policyFile="web_lowtrust.config" />
<trustLevel name="Minimal" policyFile="web_minimaltrust.config"/>
</securityPolicy>
<trust
level="Full"
originUrl=""
processRequestInApplicationTrust="true"
/>
...
</system.web>