Hiding Error Details

Hiding Error Details

Custom Error Messages

  • This setting controls the display of user-friendly error messages to users
  • This is more secure than providing error details (including a stack trace)
  • "On" forces the display of custom (friendly) messages on all occasions
  • "Off" causes the system to always display detailed ASP.NET error information
  • "RemoteOnly" causes the display of custom (friendly) messages to users not running on the local Web server
  • Do not display application detail information to remote clients

Configuration Settings


    <customErrors mode="RemoteOnly"/>



Comment in Sitecore web.config file