Copied to clipboard

Flag this post as spam?

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


  • Connie DeCinko 931 posts 1160 karma points
    Sep 27, 2010 @ 23:49
    Connie DeCinko
    0

    Default Umbraco 404 handler refuses to run

    Last week I had no problem with the default 404 handler "handle404".  Today it apparently has gone AWOL.  I cannot for the life of me get the Umbraco 404 page to display.  In trying to still get a sitewide custom 404 for any type of page work, I removed the 404 from IIS, I'm tried varius settings in Umbraco and web.config and no matter what, all I get is the generic 404 error for .html, .cfm, .aspx, folders or files with no extension, etc.

    404handlers.config

    <?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="InfoCaster.Umbraco._301UrlTracker" type="Handler301URLTracker" />
      <notFound assembly="umbraco" type="handle404" />
    </NotFoundHandlers>
  • Connie DeCinko 931 posts 1160 karma points
    Sep 28, 2010 @ 00:01
    Connie DeCinko
    0

    NOTE:  Cannot edit forum posts due to XSLT error.

    web.config

    ...
      <system.web>
        <customErrors mode="Off" />
    ...
      <system.webServer>
        <httpRedirect enabled="false" destination="" exactDestination="true" httpResponseStatus="Permanent" />
        <httpErrors>
        </httpErrors>
      </system.webServer>
    ...
  • RuneO 36 posts 116 karma points
    Sep 29, 2010 @ 13:48
    RuneO
    0

    How does your site behaves with the above settings if you doesn't get the standard Umbraco 404 error page catched in handle404?

    Regards,
    Rune

Please Sign in or register to post replies

Write your reply to:

Draft