« Previous Next »

Thread: Custom 404 page issues

Last post 10-22-2008 12:39 PM by shouston. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 10-20-2008, 3:52 PM

    • shouston
    • Not Ranked
    • Joined on 01-10-2008, 2:44 PM
    • Posts 6

    Custom 404 page issues

     Added a custom 404 but it is not workign for htm and html pages.  Works just fine for invalid aspx and asp pages.

     

    On thm and html pages I get this instead.

     

     

    In IIS I set the custom 404 to url:   /404.aspx

     

    Any ideas?

  • 10-20-2008, 9:54 PM In reply to

    Re: Custom 404 page issues

    That is tricky.  Have you tried mapping the .html and .htm script mappings in IIS?

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 10-22-2008, 12:32 PM In reply to

    Re: Custom 404 page issues

    Hay,

    you can try one thing, open your IIS >> right click on the website in question >> Properties >> Home Directory >> Configuration >> you will get list of extensions added for web site >> click on .aspx >>  Edit >> here at the bottom uncheck check box for "Verify that file exists" >> Ok >> Ok
    and try again...update us if the problem persist

  • 10-22-2008, 12:39 PM In reply to

    • shouston
    • Not Ranked
    • Joined on 01-10-2008, 2:44 PM
    • Posts 6

    Re: Custom 404 page issues

     Thanks for the suggestions.  I figured it out.  The developer had left some code in the web.config that was averiding this.

Page 1 of 1 (4 items)
Microsoft Communities