是否可以在SharePoint环境中使用ELMAH? [英] Is it possible to use ELMAH in a SharePoint environment?

查看:122
本文介绍了是否可以在SharePoint环境中使用ELMAH?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人将 ELMAH 集成到其SharePoint环境中了吗?

Has anyone integrated ELMAH into their SharePoint environment?

我想这全都是ASP.net,但我只是想知道是否有人做过它,以及是否有实现它的过程?

I suppose it's possible as it's all ASP.net, but I just wondered if anyone had done it and if there's a walk through on how to achieve it?

推荐答案

我们在MOSS 2007环境中使用ELMAH.由于ELMAH使用HttpHandlers并通过web.config进行设置,因此激活它很麻烦.只需将ELMAH东西添加到您在SharePoint内部运行的应用程序的web.config中即可.

We use ELMAH in our MOSS 2007 environment. Since ELMAH uses HttpHandlers and is set up via the web.config, activating it was a cinch. Just add the ELMAH stuff to the web.config for the application that you're running inside SharePoint.

如果您希望ELMAH报告的错误级别高于自定义应用程序,则将其添加到SharePoint web.config.

If you want ELMAH to report errors at a level higher than your custom application, then add it to the SharePoint web.config.

这篇关于是否可以在SharePoint环境中使用ELMAH?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆