Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 610
  • Last Modified:

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
0
OTM
Asked:
OTM
1 Solution
 
TonyRebaCommented:
Try : Internet Information Services (IIS) Manager —> Default Web Site —> Click Error Pages properties and select Detail errors
0
 
OTMAuthor Commented:
Perfect, never saw that in all my googling...

thanks
0
 
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
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.    

0

Featured Post

Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now