Copied to clipboard

Flag this post as spam?

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


  • Damon 217 posts 287 karma points
    Nov 19, 2015 @ 10:43
    Damon
    0

    How do you debug MacroPartials errors? Error loading Partial View script

    Hi,

    when you get an error loading a MacroPartials it does not tell you why. How can you view the details of this error?

    Thanks a lot!

  • Lokesh kumar Chippada 44 posts 249 karma points
    Nov 19, 2015 @ 10:54
    Lokesh kumar Chippada
    0

    Hi, try this www.domainname.com/?umbdebugshowtrace=true

  • Mike Chambers 635 posts 1252 karma points c-trib
    Nov 19, 2015 @ 11:04
    Mike Chambers
    1

    there's also miniprofiler in u7

    https://our.umbraco.org/projects/developer-tools/miniprofiler-for-umbraco/help-using-miniprofiler-for-umbraco/42935-Debug-information-in-miniprofiler

    and there's also a setting in config\umbracosettings.config that might help

    <!-- How Umbraco should handle errors during macro execution. Can be one of the following values:
         - inline - show an inline error within the macro but allow the page to continue rendering. Historial Umbraco behaviour.
         - silent - Silently suppress the error and do not render the offending macro.
         - throw  - Throw an exception which can be caught by the global error handler defined in Application_OnError. If no such
                    error handler is defined then you'll see the Yellow Screen Of Death (YSOD) error page.
         Note the error can also be handled by the umbraco.macro.Error event, where you can log/alarm with your own code and change the behaviour per event. -->
    <MacroErrors>inline</MacroErrors>
    
Please Sign in or register to post replies

Write your reply to:

Draft