The online FAQ database contains hundreds of answers to frequently asked questions, articles on using our web server applications and other related technologies, and resolutions to common problems. If you are seeing an error message, be sure to try searching on the error message or error number that you are seeing.

Question My web server is running IIS7 on Windows 2008 Server and my site displays a generic 500 Error page instead of showing the ASP error generated by a classic ASP application.

Answer The generic error page will be titled "500 - Internal server error." and will display the text "There is a problem with the resource you are looking for, and it cannot be displayed."

To correct this situation and have the site properly display error messages for diagnosing your site development, you must change a setting for your site or your IIS server.

If your site is on a webhost on a shared server, then the server is operated by your webhost and you cannot do this step yourself. You will have to contact your webhost to have this setting changed for your site.

To change display of ASP errors for a specific site or existing sites.
  1. Open IIS Manager
  2. Expand Server node (will display the name of your server) and then under that expand the Sites folder.
  3. In the list of sites displayed under the Sites folder, find the website you want to change the setting for and click on it.
  4. In the Features Panel, under the section titled IIS, you want to double-click on the "Error Pages" icon.
  5. In the list of configured Error Pages, click on the 500 error to highlight it.
  6. In the Actions Panel, click the "Edit Feature Settings" link.
  7. In the Edit Error Page Settings box that appears, change the option under Error Responses to "Detailed errors" and click the OK button.

To change display of ASP errors for new sites.
  1. Open IIS Manager
  2. Find the Server node (will display the name of your server) and click on it.
  3. In the Features Panel, under the section titled IIS, you want to double-click on the "Error Pages" icon.
  4. In the list of configured Error Pages, click on the 500 error to highlight it.
  5. In the Actions Panel, click the "Edit Feature Settings" link.
  6. In the Edit Error Page Settings box that appears, change the option under Error Responses to "Detailed errors" and click the OK button.