<?xml version="1.0" encoding="UTF-8"?>
<httpErrors errorMode="Detailed" />
Classic ASP using IIS7 – Error Handling – 500 Internal Server
This is a common problem I see lots of people running into since GoDaddy upgraded from IIS 6 to IIS 7. The below story is a similar situation that I had while trying to work on a Classic ASP web site hosted at GoDaddy. I have included the answer/fix below.
Original Story: I am with godaddy for webhosting right now. The have me using IIS7.
When I run my ASP page I get the error :
Error 500 :There is a problem with the resource you are looking for,
and it cannot be displayed.
Basically, there is an error in my code, however, it doesn’t tell me
the line number the error was found on. After searching the web I
found out how to turn on the more detailed error reporting… but you
have to do it on the webserver. I don’t have access to the webserver.
After spending allot of time chatting with godaddy, they claim I can
turn this on in the web.config file. I know this can be turn on for
ASP.NET in the web.config file… but as far as I know, not classic
OK…. Here is the web.config file I use that gives you the old school error handling data:
Step 1. Open a text document.
Step 2. Insert this code:
Step 3. Save the file as Web.Config
Step 4. Upload the Web.Config file to your host web directory.
I hope this helps people avoid the few hours I was on the phone with GoDaddy technical support. :) Please let me know if this helps anyone out.