skip to Main Content

I have read pretty much EVERY blog post, article and help document published regarding this problem and they have not helped. The most common suggestions are:

  1. Internet Explorer -> Tools Menu -> Internet Options -> Advanced -> Show Friendly Error Messages (make sure this is NOT ticked)

  2. IIS -> Home Directory tab -> Configuration… -> Debugging tab -> Send Detailed ASP Error message to the client (make sure this is selected)

Neither of these work and I have a feeling it has to do with Plesks management of IIS. Is there ANY way to see what these Internal Server Errors are? Even if it means browsing around the server for log files?



  1. Chosen as BEST ANSWER

    An idea spurred on by Agent_9191:

    At the top of the page put:

    On Error Resume Next

    And at the bottom of the page put:

    If Err.Number <> 0 Then Response.Write(Err.Description)

    Any other ideas on debugging direct from IIS without changing page code?

  2. Another LEGENDARY page for ASP Classic developers (using IIS 7.0 though) is here:

    Login or Signup to reply.
  3. “If” you have the ability to chance your custom 500 error page then you can catch the error using a call to Server.GetLastError which will give you all the details (well most of them) which should allow you to start debugging it on live.

    Can you not recreate the problem locally?

    Login or Signup to reply.
  4. The class_terminate event can be used to create a global error handler without touching the iis config. When ASP encounters an error it server.execute’s the configured 500 handler and then return to the orginal script to clean up all remaining objects.

    This offers you an opportunity to create a global debugger object and use the class_terminate event to handle the errors (eg print out debug info).


    class cDebugger
        private sub class_terminate
            if err then
                dim asp_error
                set asp_error = server.getLastError()
                response.write asp_error.description
            end if
        end sub
    end class
    set [_debugger] = new cDebugger
    Login or Signup to reply.
  5. The following applies to Plesk only.

    Proceed to your domain in Plesk control panel and turn off “Custom Error Documents” under “Physical hosting setup”. This will send error message directly to the browser.

    You can also find error messages in log file directory yourdomain.comstatisticslogsW3SVCXXXX

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top