I receive "HTTP 500 - Internal Server Error" when I try to access my ASP or ASP.net page

DiscountASP.NET > Programming, error messages and sample code
"HTTP 500 - Internal Server Error" is not a particularly informative error message. In general, this error indicates a bug in the code.

Internet Explorer has a feature that blocks the true error message from being displayed. In order to display the true error message, follow the instructions below:
  1. Open Internet Explorer
  2. Go to "Tools" --> "Internet Options"
  3. Go to "Advanced" tab
  4. Uncheck "Show Friendly Error Message"
  5. Click "OK"
  6. Reload the page, you should now see a more detailed error message.