How to enable detailed errors for remote client - IIS7
By default IIS 7.0 (Internet Information Service), shows the
detailed error when you're browsing locally, but if you are
remoting as a normal web client to the webserver, you won't be able
to see the error, except the default '500 -
Internal server error'.
Here is the guide to enable the detailed error, within IIS
First of all, you need access to IIS controlpanel, and the
Webconfig from the specific website, you want's to see the detailed
error from. In the Webconfig, it's very important that you have
specified the CustomError mode to Off, otherwise your local configs
would overwrite the server default settings. Please check you got
the same setup as the example below.
<customErrors mode="Off" />
If you still receive the default error, you have to change the
server custom error module settings. You can do this from the IIS7
Admin tool by running the server manager, or writing inetmgr.exe
from the Run command.
- Select your website, at the left menu
- Click on the "Error Pages" button
- Click on the action "Edit Feature Settings" at the right
- Pick the "Detailed errors" option
- Confirm the change by clicking "OK"
You should now be able to see the detailed error from the IIS7
webserver, from your remote location. Check the picture below, to
verify you got the same settings.
Error reading XSLT file: \xslt\RelatedBlogs.xslt
Der er ingen kommentarer skrevet
Tilføj en kommentar