Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: V9 Display XSL errors in XMLPackage

  1. #1
    valentim is offline Senior Member
    Join Date
    Apr 2006
    Posts
    192

    Default V9 Display XSL errors in XMLPackage

    There is already a post on the forum somewhere but we haven't been able to find it again.

    In Version 9, if an XMLPackage has an error a "this page has an error" message is displayed. Nice for the customer! And the error is logged in Admin: Configuration -> Maintenance -> View System Log. Nice for production.

    How is this behavior turned off in a development environment so that errors are seen directly on the XMLPackage page?

    Thanks!
    Matthew
    Aydus Consulting
    Strategy+Development+Design=The Aydus Difference

  2. #2
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    Set the System.ErrorHandlingEnabled AppConfig to false and we'll display errors normally.

  3. #3
    valentim is offline Senior Member
    Join Date
    Apr 2006
    Posts
    192

    Default

    Thank you Scott! And for others following this thread there's another new error AppConfig:

    System.ShowFriendlyErrors
    If error handling is enabled, determines whether a friendly error page will be shown if an error occurs, or if the user will be shown an ASP.NET exception page.
    Matthew
    Aydus Consulting
    Strategy+Development+Design=The Aydus Difference