Avatar of OTM
OTM
 asked on

Displaying ASP Classic errors in IIS7

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
Microsoft IIS Web ServerASP

Avatar of undefined
Last Comment
Scott Fell

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
TonyReba

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
OTM

ASKER
Perfect, never saw that in all my googling...

thanks
Scott Fell

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.    

Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes