+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Turn off widget stack traces

Turn off widget stack traces

4 posts, 0 answered
  1. Sam
    Sam avatar
    16 posts
    Registered:
    28 Jul 2010
    19 Jan 2015
    Link to this post

    My custom widget is displaying an exception message with a stack trace. 

    I don't care about why I'm getting the exception. How can this be turned off? I don't ever want a user to see an exception or stack trace on the live site. 'customErrors' is already turned On in the web.config. 

  2. Junior Dominguez
    Junior Dominguez avatar
    115 posts
    Registered:
    27 Sep 2016
    22 Jan 2015
    Link to this post
    Hi Sam,

    Can you try by setting <customErrors mode="RemoteOnly"> in the web.config file as recommended here in this article?

    Best Regards,
    Junior Dominguez
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  3. Sam
    Sam avatar
    16 posts
    Registered:
    28 Jul 2010
    22 Jan 2015 in reply to Junior Dominguez
    Link to this post
    I already wrote that customErrors is turned On, which is even more-specific than RemoteOnly.
  4. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    27 Sep 2016
    27 Jan 2015
    Link to this post
    Hi Sam,

    Actually this error is server error and you need also to handle it by setting the httpError also.

    More information how you could handle the server error could be found for example in that blog post.

    I hope this information helps.

    Regards,
    Svetoslav Manchev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
4 posts, 0 answered