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

查看:23
本文介绍了是否可以在 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天全站免登陆