Copied to clipboard

Flag this post as spam?

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


  • Tara Pattenden 44 posts 205 karma points
    Sep 04, 2020 @ 23:37
    Tara Pattenden
    0

    I get 404 instead of yellow screen of death. How to change?

    Hi

    I am pretty new to razor and umbraco coming from a wp background. I'm working on a site that I was told was wp but it's umbraco.

    Right now any errors in my templates generate an error page that says

    Page not found No umbraco document matches the url '/Error'.

    This page can be replaced with a custom 404. Check the documentation for "custom 404".

    But I want to see the yellow screen of death so I can see what went wrong and get helpful information.

    I have got the following set in webconfig. how do i turn on browser errors?

  • Marc Goodson 2144 posts 14347 karma points MVP 8x c-trib
    Sep 07, 2020 @ 07:46
    Marc Goodson
    101

    Hi Tara

    in the Web.Config file there is a setting called CustomErrors, for production environment you will have this turned On to show a CustomError page, but if you are working locally, or just want to see the error you can set this to be Off, and then you should see the YSOD that you crave!

    There is some useful info here about debugging with Umbraco that might help:

    https://our.umbraco.com/Documentation/Getting-Started/Code/Debugging/index-v7

    and also info on where the tracelogs live

    https://our.umbraco.com/Documentation/Getting-Started/Code/Debugging/Logging/index-v7

    which is another good place to look for underlying errors.

    regards

    Marc

Please Sign in or register to post replies

Write your reply to:

Draft