Reputation: 47
On hosting my website on goddady plesk server and when there an error with one of my pages it seems not to display in detail though i have a web.config file in my root folder. I don't know if maybe there's a problem with my web.config. the only tell it tells me is "There is a problem with the resource you are trying to access"
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" />
<asp scriptErrorSentToBrowser="true"/>
</system.webServer>
<system.web>
<customErrors mode="Off"/>
<compilation debug="true"/>
</system.web>
</configuration>
Upvotes: 4
Views: 8782
Reputation: 428
This works on Fasthosts (UK) shared hosting:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" />
</system.webServer>
</configuration>
It tends to give me the detailed errors that we need for Classic ASP development. Remember to turn that off when the site goes live.
Upvotes: 4