Copied to clipboard

Flag this post as spam?

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


  • Swapnil Singha 3 posts 23 karma points
    Apr 19, 2011 @ 20:52
    Swapnil Singha
    0

    Custom 404 page not working and gives a blank page

    Hi,

    I have trying to get custoom 404 page not work functionality working, but on a invalid url its just returning a blank page in google chrome.I read the previous posts on the this topic and made the following changes in web.config

    in system.webserver

    I added the following lines

    <httpErrors errorMode="Custom">
           <remove statusCode="404" subStatusCode="-1" />
           <error statusCode="404" prefixLanguageFilePath="" path="/non-existing-page.aspx" responseMode="ExecuteURL" />
    </httpErrors>

    also  <customErrors mode="On"> 

    and in umbracoSettings.config,I have set the error 404 tag id of the error page.

    Am I missing something?

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 19, 2011 @ 21:53
    Jan Skovgaard
    1

    Hi Swapnil

    Have you created the 404 page in Umbraco or is it a page outside of Umbraco?

    If it's created in Umbraco are you then sure the document type it's based on has a template attached to it? And that it has been published?

    /Jan

  • Swapnil Singha 3 posts 23 karma points
    Apr 19, 2011 @ 22:25
    Swapnil Singha
    0

    Hi Jan,

    The error page is created in Umbraco.Also a template and document type is attached to it.It has been published too.

  • Swapnil Singha 3 posts 23 karma points
    Apr 19, 2011 @ 22:45
    Swapnil Singha
    0

    Hi Jan,

    One correction I need to make in the orginal post and that is

    in IE it gives the error
    The webpage cannot be found

    in mozilla firefox-blank page

    in google chrome - Oops! This link appears to be broken.

    Thanks

  • Giorgos Grispos 145 posts 179 karma points
    Sep 28, 2011 @ 12:16
    Giorgos Grispos
    0

    Hi Swapnil,

    I got the same problem, any udate for the post?

    Have you managed to set up a custom error page. Just to mention that I also have the ASP.NET Security Vulnerability Patch paclage installed.

    Thanks, Giorgos

     

Please Sign in or register to post replies

Write your reply to:

Draft