Sunday, July 18, 2010

Viewing actual error in custom code

When there is an error in custom code, SharePoint logs the error and user is presented the generic error. Changing the following web.config changes for the web application allows you to view the errors in the browser

 <safeMode CallStack="true" />

 <customErrors mode="Off" />
 <compilation batch="false" debug="false">

No comments:

Post a Comment