Copied to clipboard

Flag this post as spam?

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


  • Andrew 32 posts 52 karma points
    Feb 28, 2011 @ 18:00
    Andrew
    0

    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

  • Javier Barrera 34 posts 85 karma points
    Mar 11, 2011 @ 17:42
    Javier Barrera
    0

    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

     <httpErrors existingResponse="PassThrough" />

    In <system.webServer>. I didn't add this in the <location> directive as they did.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies