ipark's blog[MVP MOSS]

Office System ( MOSS...)
随笔 - 23, 评论 - 122, 引用 - 3

导航

关于

My Old Blog: http://freepark.cnblogs.com Email:ipark.cn@gmail.com


Locations of visitors to this page

Creative Commons License

每月存档

最新留言

广告

 

SharePoint默认的出错界面,对于最终用户来说有时候真是不友好:

怎么自定制的处理错误呢?

一般的ASP.Net的项目我们可以在global.asax文件中添加Application_Error方法来在全局范围内处理错误。

但是在SharePoint中我们没有办法这么做,所以我们只能通过写自定义的HttpModule来实现自定制的出错处理了。

具体的可以参考这篇Blog:

Catching unhandled exceptions in SharePoint

http://blogs.msdn.com/jannemattila/archive/2008/02/04/catching-unhandled-exceptions-in-sharepoint.aspx

 

打印 | 张贴于 2008-04-01 15:39:47

留言反馈

暂时没有留言纪录
博客主人设置本博客不允许匿名用户发表言论,请登录后再试

Powered by: Joycode.MVC引擎 0.5.1.8