Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Stephen 22 posts 195 karma points
    Mar 17, 2017 @ 08:26
    Stephen
    0

    IIS Default 404 Page

    Hi. We recently implemented a custom 404 page on one of our Umbraco sites. We used the Umbraco Page Not Found package to achieve this. However now we would like the IIS default 404 page to be restored. I have tried uninstalling the package and I have tried setting the error404 node in umbracoSettings.config to 1, 0 and -1 but it always shows a the default umbraco 404 place holder page.

    Page not found
    
    No umbraco document matches the url '/dsqfjqnf'.
    
    This page can be replaced with a custom 404. Check the documentation for "custom 404".
    
    This page is intentionally left ugly ;-)
    

    Could anyone tell me how to get back to the IIS default 404 page?

    Thanks.

  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Mar 17, 2017 @ 09:53
    Michaël Vanbrabandt
    100

    Hi Stephen,

    what is the value of the TrySkipIisCustomErrors in your umbracoSettings configuration file under web.routing?

    If its set to true change it to false in order to stop processing custom error pages and leave it to IIS.

    Hope this helps!

    /Michaël

  • Stephen 22 posts 195 karma points
    Mar 17, 2017 @ 11:31
    Stephen
    0

    Thanks Michaël.

    That worked.

  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Mar 17, 2017 @ 11:48
    Michaël Vanbrabandt
    0

    No problem glad that the problem is solved!

    Have a nice day!

    /Michaël

Please Sign in or register to post replies

Write your reply to:

Draft