Answered by:
How to enable details of 500 errors on client

Question
-
User1979840542 posted
Details display fine if I'm in IE on the server, but from a client, I only get "500 - Internal server error". I have "friendly" error messages disabled in the browser. I know there must be a setting somewhere I am missing, but my searches have implied that the settings below are all I need. It's not working though.
Here are the settings under ASP in IIS:
Friday, November 18, 2011 12:15 PM
Answers
-
User-1672167363 posted
Hi,
Fresh Start with IIS Running Classic ASP Applications http://learn.iis.net/page.aspx/559/running-classic-asp-applications-on-iis/
For Display of Errors at in a Web Site: Enable the Errors to be Displayed then Custom Local or Remote.
Look at Stack Over Flow http://stackoverflow.com/questions/2640526/detailed-500-error-message-asp-iis-7-5 .
The Configuration Deep Dive http://learn.iis.net/page.aspx/127/deep-dive-into-iis-configuration/ .
HTH
Martin
- Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
Monday, November 21, 2011 11:03 AM
All replies
-
User-2064283741 posted
Why would you want to show the clients this?
All error messages for the 500s in asp are in the IIS logs.
Friday, November 18, 2011 8:45 PM -
User-1672167363 posted
Hi,
Do you mean "Classic ASP Tracing" settings and guide
http://learn.iis.net/page.aspx/565/using-failed-request-tracing-to-troubleshoot-classic-asp-errors/ ?
Martin
Monday, November 21, 2011 8:37 AM -
User1979840542 posted
No, I mean like previous versions of IIS did it and sent the line number where the error occured to the client browser, when enabled. I prefer to troubleshoot in this way so I don't have do be connected to the server via a remote session, console, or retrieve log files from the server to get an idea of what went wrong.Monday, November 21, 2011 10:11 AM -
User1979840542 posted
Why would you want to show the clients this?
All error messages for the 500s in asp are in the IIS logs.
I don't want to do it that way. I prefer to see it in the browser.
Monday, November 21, 2011 10:12 AM -
User-1672167363 posted
Hi,
Add to the web.config the Tracing set the Display to Remote or Local:
Article
http://learn.iis.net/page.aspx/267/how-to-use-http-detailed-errors-in-iis/ Detailed Errors Configuration.
Martin
Monday, November 21, 2011 10:26 AM -
User1979840542 posted
Thank you Martin, I appreciate your help with this!
Does the web.config file control how classic asp applications are handled as well? I was under the impression that the file was for ASP.Net.
Monday, November 21, 2011 10:34 AM -
User-1672167363 posted
Hi,
Fresh Start with IIS Running Classic ASP Applications http://learn.iis.net/page.aspx/559/running-classic-asp-applications-on-iis/
For Display of Errors at in a Web Site: Enable the Errors to be Displayed then Custom Local or Remote.
Look at Stack Over Flow http://stackoverflow.com/questions/2640526/detailed-500-error-message-asp-iis-7-5 .
The Configuration Deep Dive http://learn.iis.net/page.aspx/127/deep-dive-into-iis-configuration/ .
HTH
Martin
- Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
Monday, November 21, 2011 11:03 AM -
User-1672167363 posted
Hi,
Look at Mike's Trouble Shooting guide
http://mvolo.com/blogs/serverside/archive/2007/07/26/Troubleshoot-IIS7-errors-like-a-pro.aspx .
Edit: Extra Information http://forums.iis.net/t/1183464.aspx http.sys errors.
Martin
Tuesday, November 22, 2011 11:18 PM -
User2044130619 posted
Look at here that how to enable details of 500 Errors...
http://www.checkupdown.com/status/E500.html
Wednesday, November 23, 2011 1:41 AM