« Previous Next »

Thread: Parsing Error Information added to cs-uri-query on 500 error

Last post 12-18-2008 3:15 PM by rss2363. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 12-18-2008, 3:06 PM

    • rss2363
    • Not Ranked
    • Joined on 12-18-2008, 2:51 PM
    • Posts 2

    Parsing Error Information added to cs-uri-query on 500 error

    When a page has an "ugly ASP error", IIS marks it as a 500 in the log file.  It also adds (what appears to be Err object?) info to the cs-uri-querystring field that is logged such as:
         |18|800a000b|Division_by_zero

    I have setup a custom 500 error page and was wondering if there is any way to grab/parse that information.  It's not in any Err object, Request.ServerVariables, nor the Request.Querystring when my page is executed.


    Thanks!

     

  • 12-18-2008, 3:15 PM In reply to

    • rss2363
    • Not Ranked
    • Joined on 12-18-2008, 2:51 PM
    • Posts 2

    Re: Parsing Error Information added to cs-uri-query on 500 error

     OK, as I was adding the tags to my POST, I got some new ideas for doing my search and I found the answer here - http://support.microsoft.com/kb/224070

     The information I wanted to glean is available in the Server.GetLastError() object.


    Hope this helps someone else!
     

Page 1 of 1 (2 items)
Microsoft Communities