We help IT Professionals succeed at work.

Displaying ASP Classic errors in IIS7

OTM
OTM asked
on
Hi,

I have an asp classic that i'm migrating to a new dedicated webserver running iis7, i need to display the error, error line, etc for debugging but all i get is:


500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

I've tried creating a web.config file and putting it in the websites folder, and changing the settings in IIS under ASP > Compillation.

The web.config i've created in the websites folder is as below:

<configuration>
<system.webServer>
     <asp scriptErrorSentToBrowser="true"/>
     <httpErrors errorMode="Detailed"/>
 </system.webServer>
</configuration>

Open in new window


What am i doing wrong? I've read through a lot of forums and it appears this should do the job..

thanks,

Sam
Comment
Watch Question

Commented:
Try : Internet Information Services (IIS) Manager —> Default Web Site —> Click Error Pages properties and select Detail errors
OTM

Author

Commented:
Perfect, never saw that in all my googling...

thanks
Scott FellDeveloper & EE Moderator
CERTIFIED EXPERT
Fellow
Most Valuable Expert 2013

Commented:
In IIS, click on your site.  Then click on the ASP icon.  Under the Compilation area, there is a Debugging area that you need to open up.  Once there you have about 10 different options including  sending the error to the browser.    

Explore More ContentExplore courses, solutions, and other research materials related to this topic.