Copied to clipboard

Flag this post as spam?

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


  • atze187 160 posts 215 karma points
    Nov 11, 2009 @ 22:54
    atze187
    0

    How to use ASP.NET functionality on 404 error

    Hi,

    since we are relaunching our site as we move from our old classic asp cms to umbraco (currently v4.0.21) and have a custom http error management solution i wondered if there is any way to bypass the umbraco built-in 404 error page and use the default IIS error page instead. Any ideas?

    Cheers,
    André

  • atze187 160 posts 215 karma points
    Nov 11, 2009 @ 22:55
    atze187
    0

    See, title ain't correct. It's the IIS functionality i want to use.

  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    Nov 12, 2009 @ 08:37
    Casey Neehouse
    0

    you could use a template that calls the default page with a Server.Transfer command.  It really depends on the reasoning behind calling something outside of umbraco.

    Another option is to move your 404 pages into umbraco, and map IIS to those pages.

  • Petr Snobelt 923 posts 1535 karma points
    Nov 12, 2009 @ 08:59
  • atze187 160 posts 215 karma points
    Nov 12, 2009 @ 17:25
    atze187
    0

    Thanks for your replies, most likely we'll use the Server.Transfer method, so we don't have to port everything to asp.net (currently it is written in classic asp and working perfectly, maybe we'll switch to asp.net when we have some spare time left).

  • 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