I'm running Umbraco 4.6.2 on IIS7 and I am having some trouble with my custom errors. They worked previously, but after I did the PoetPatcher fix a while ago, the custom error pages are no longer shown. Is that what is supposed to be happening? I tried to undo the PoetPatcher fix, but I still have the .dll in my /bin folder.
Currently, in my web.config, I have set custom errors to "RemoteOnly". In the /config/umbracoSettings.config I have set the <error404> to the node ID of the page I would like displayed. My 404handlers.config file has the following contents:
When I got to a page that should return a 404 error, I am getting the default 404 page from the server. If I try it locally, I get the node that I specified in umbraco.
404 not going to node
I'm running Umbraco 4.6.2 on IIS7 and I am having some trouble with my custom errors. They worked previously, but after I did the PoetPatcher fix a while ago, the custom error pages are no longer shown. Is that what is supposed to be happening? I tried to undo the PoetPatcher fix, but I still have the .dll in my /bin folder.
Currently, in my web.config, I have set custom errors to "RemoteOnly". In the /config/umbracoSettings.config I have set the <error404> to the node ID of the page I would like displayed. My 404handlers.config file has the following contents:
<?xml version="1.0" encoding="utf-8" ?>
<NotFoundHandlers>
<notFound assembly="umbraco" type="SearchForAlias" />
<notFound assembly="umbraco" type="SearchForTemplate"/>
<notFound assembly="umbraco" type="SearchForProfile"/>
<notFound assembly="umbraco" type="handle404"/>
</NotFoundHandlers>
When I got to a page that should return a 404 error, I am getting the default 404 page from the server. If I try it locally, I get the node that I specified in umbraco.
Am I doing something wrong? Thanks for any help.
-Andrew
You should take a look at this reference from Stack Overflow. It fixed my issues running Umbraco 4.52 on IIS 7.5. I just added
In <system.webServer>. I didn't add this in the <location> directive as they did.
is working on a reply...