Copied to clipboard

Flag this post as spam?

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


  • patrick 41 posts 93 karma points
    May 13, 2012 @ 13:13
    patrick
    1

    Solution for custom 404 error page handler

    Hi,

    Just solved a problem where I could not make the 404 page handler work correctly with umbraco 4.7.x and IIS7.

    After reading many posts, where people suggested to change a setting in the web.config, which did not work, as this setting does not belong in the web.config,

    <httpErrors existingResponse="PassThrough" /> (DO NOT USE)

    I found out that the problem could be easily solved bij changing a setting using the Internet Information Services Manager. Just navigate to your site in IIS and click on the error pages icon. In the right action pane click on 'Open Feature'. In the next window click on 'Edit Feature Settings', select 'Detailed errors' in the pop-up, and click on 'OK'.

    Open the umbracosettings.config file and make sure the following entries are present:

    <errors>
                <error404>[nodeid]</error404>
    </errors>

    The [nodeid] is the id for your custom 404 page.

    You are now ready to go.

    Hope this helps.

    Patrick

Please Sign in or register to post replies

Write your reply to:

Draft