« Previous Next »

Thread: Changing "Page cannot be displayed" error in IIS

Last post 06-08-2009 1:00 PM by tomkmvp. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 06-08-2009, 12:40 PM

    Changing "Page cannot be displayed" error in IIS

    Hi,

    I have IIS 5.1 in my local machine and a website being configured onto it. When the IIS is running, the application just works fine. But when the IIS is stopped and when I try to access the application, I get a "Page cannot be displayed" error.

    Now my requirement is to identify this and redirect user to an user defined HTML page.(instead of "Page cannot be displayed" error). I tried out browsing the Custom error pages in Website properties, but I couldnt find the one which is getting displayed when the error occurs.

    Any idea where the "Page cannot be displayed" HTML page is located? Or options to show the user defined HTML page?

    Venkatesh

  • 06-08-2009, 1:00 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,078

    Re: Changing "Page cannot be displayed" error in IIS

    First of all, make sure friendly error messages are disabled in IE so we are getting the full error message.

    You can also check the IIS log file to see what status code is logged for error and then create the relevant custom error page for that code.  It's likely that you're seeing a 500 status error.

     

Page 1 of 1 (2 items)