HttpModule 禁用 SharePoint 2003 管理

发布于 2024-07-10 03:13:02 字数 264 浏览 5 评论 0原文

我有一个 Web 部件,其中包含指向 SharePoint (2003) 中的“管理用户”的链接。

我还有一个 http 模块,该模块必须向通过 sharePoint 站点提供的 aspx 页面添加一些 JavaScript。 这对于普通用户提供的页面运行良好,但是当单击这些由 Web 部件提供的管理页面时...

可能出了什么问题以及如何调整我的过滤器以允许使用脚本提供这些页面?

Http 模块正在处理此事件:ReleaseRequestState...

I have a web part with links to e.g. "Manage Users" i SharePoint (2003)

I also have a http module, that must add some JavaScript to the aspx pages served through the sharePoint site. This runs well for normal user served pages but when clicking these admin pages, served by the web part...

What can be wrong and how do I adapt my filter to allow these pages being served with script?

The Http Module is working with this event: ReleaseRequestState...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

飞烟轻若梦 2024-07-17 03:13:02

错误在于必须为 60 hive 中的虚拟目录启用过滤器。 失败的页面全部来自 /_layouts/ 文件夹。

也就是说,您必须更新 LAYOUTS 文件夹中的 web.config,并将 dll + 任何引用的 dll 添加到相应的 bin 文件夹中。

What was wrong was that the filter must be enabled for the virtual directory in the 60 hive. The pages failing was all from the /_layouts/ folder.

That is you have to update the web.config in the LAYOUTS folder and add the dll + any referenced dll's to the corresponding bin folder.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文