【发布时间】:2016-08-04 05:40:12
【问题描述】:
我正在尝试在“hostgator”中托管 WCF 服务。我想设置信任级别,因为我收到安全权限错误。
当我在web.config 中设置Trust Level 时,出现错误。
web.config:
<location allowOverride="true">
<system.web>
<compilation debug="true" targetFramework="4.5.2"/>
<identity impersonate="false" />
<authentication mode="None" />
<httpRuntime maxUrlLength="1024" relaxedUrlToFileSystemMapping="true"/>
<customErrors mode="Off"></customErrors>
<securityPolicy>
<trustLevel name="Full" policyFile="internal"/>
</securityPolicy>
</system.web>
</location>
错误:
服务器上出现应用程序错误。当前的自定义错误 此应用程序的设置会阻止应用程序的详细信息 远程查看错误(出于安全原因)。它可能, 但是,可以通过在本地服务器计算机上运行的浏览器查看。
谁能提出解决这个问题的方法?
【问题讨论】:
标签: c# wcf dynamics-crm