sharepoint 2010 配置自定义错误页面

来源:互联网 发布:装饰工程预算软件 编辑:程序博客网 时间:2024/06/04 18:35

sharepoint 自带的错误页面,往往客户无法接受,所以配置一个自定义错误的页面就很有必要了,调查了很久,终于把这个问题解决了...

自定义一个应用程序页面,部署后路径为:/_layouts/ErrorPage.html

把CallStack设置为true
把customErrors mode="On"
再指定 defaultRedirect属性就搞定了。

 <customErrors defaultRedirect="/_layouts/ErrorPage.html" mode="On">