Ich versuche, den WCF-Dienst in "hostgator" zu hosten. Ich möchte die Vertrauensstufe festlegen, weil ich einen Sicherheitsberechtigungsfehler erhalte.Fehler beim Hosten des WCF-Dienstes beim Hinzufügen <trust level = "Full" />
Wenn ich Trust Level
in web.config
einstelle, erhalte ich einen Fehler.
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>
Fehler:
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Kann jemand einen Weg vorschlagen, dieses Problem zu lösen?