Friday, 22 June 2012

Show Custom Error In sharepoint site

As a developer, one of the first things I do after I have setup a web application & site collection is:
Open the web.config (“C:\inetpub\wwwroot\wss\VirtualDirectories\<port>”) and set:
  1. Debug=”true” instead of the default of Debug=”false” (I do a find on “debug” in Visual Studio)
  2. CallStack=”true” instead of the default of CallStack=”false” (I do a find on “callstack” in Visual Studio)
  3. CustomErrors=”Off” instead of the default of CustomErrors=”On” (I do a find on “CustomErrors” in Visual Studio) 

No comments:

Post a Comment

Note: only a member of this blog may post a comment.