views:

854

answers:

3

Hi there!

IIS 7.5 , 2008rc2, classic asp, 500 error msg:

The page cannot be displayed because an internal server error has occurred.

I need to know how to configure iis to get detailed error. I've tried setting to true all of debugging options into ASP configuration. Now I need help. Can anyone help me?

thank u.

A: 

Double click "ASP" in the sites Home screen in IIS admin, expand "Debugging Properties" and enable "Send errors to browser" and click "Apply"

Under "Error Pages" on the home screen select "500", then "Edit feature settings" and select "Detailed Errors".

Alex K.
A: 

Found it.

http://blogs.iis.net/ksingla/archive/2009/02/16/iis-7-5-updates-to-custom-errors-and-compression.aspx

run cmd as administrator, go to your system32\inetsrv folder and execute:

appcmd.exe set config -section:system.webServer/httpErrors -allowAbsolutePathsWhenDelegated:true

Now I can see detailed asp errors .

egidiocs
+1  A: 

I had came to the same problem and fixed the same was as Alex K.

So if "Send Errors To Browser" is not working set also this:

Error Pages -> 500 -> Edit Feature Settings -> "Detailed Erros"

Vaclav