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:
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
is working on a reply...