How to get the full error stack trace of SharePoint
博客地址 http://blog.csdn.net/foxdave
SharePoint开发,怎么得到真实的详细错误信息。
大家在开发遇到页面报错需要提问的时候,先将详细错误信息获取到再提问,谢谢。
Ver 12
Change c:\inetpub\wwwroot\wss\VirtualDirectories\<webapp port>\web.config
Set customErrors node's mode attribute to "Off"
Set CallStack attribute to "true"
Ver 14
Config as Ver 12 do.
In addition, go to the {SharePoint Root}\TEMPLATE folder, change the web.config in ADMIN and Layouts folders.
Set customErrors node's mode attribute to "Off"
Ver 15
Just do the same as Ver 14