调出sharepoint错误的详细页面
生活随笔
收集整理的這篇文章主要介紹了
调出sharepoint错误的详细页面
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
記錄一個小技巧:
在開發sharepoint的時候經常出現" An unexpected error has occurred."的頁面,讓人非常的郁悶。
打開web.config,?找到:
?<SafeMode MaxControls="200" CallStack="false" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false">
改成:
<SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="true">
另:
<customErrors mode="On" />
改成:
<customErrors mode="Off" />
錯誤的詳細內容就出來了, 哈哈
其實當sharepoint開發完的時候,我們可以把上面的屬性改回去了。
轉載于:https://www.cnblogs.com/Lordan/archive/2008/01/20/1046249.html
總結
以上是生活随笔為你收集整理的调出sharepoint错误的详细页面的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 左侧卵巢呈多囊改变是怎么回事?
- 下一篇: 北京环球影城购票入口