惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Docker
C
Check Point Blog
IT之家
IT之家
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
J
Java Code Geeks
G
Google Developers Blog
博客园_首页
腾讯CDC
博客园 - Franky
F
Fortinet All Blogs
MongoDB | Blog
MongoDB | Blog
M
MIT News - Artificial intelligence
Last Week in AI
Last Week in AI
B
Blog RSS Feed
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 叶小钗
H
Help Net Security
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

博客园 - KID

Core 1.0中publishOptions Include的bug EF Core 1.0 和 SQLServer 2008 分页的问题 net core 控制台中文乱码的解决方案 Evolution项目(1) asp.net5 Area的处理 asp.net5 操作Cookie 敏捷项目开源管理软件ScrumBasic(2)- 多项目支持 敏捷项目开源管理软件ScrumBasic(1) sharepoint 签入iframe出错的问题 wcf rest security sharepoint2013 错误2 关于html5缓存部分比较详细的说明 sps2013安装错误 sp2013版本区别 sharepoint session form timeout office2010 x64 Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 800 iphone 流媒体 ad 发光动画
httpmodule sharepoint
KID · 2012-12-13 · via 博客园 - KID

SharePoint 2010中加个HttpModule,像以往一样加在了<httpModules>节点下。郁闷了,不管怎么整,就是不触发,不起作用。

只好搜索一番,结果找到了原因,SharePoint 2010 默认将所有的 httpModule 配置在 IIS7 专有的system.webServer/modules节中。

其实是因为IIS 7的原因,应该发布在IIS 7上的站点都有这个问题。

可以按一下方式解决:

1、设置IIS 7的应用程序池为Classic(经典)模式,可以按照这种方式添加

<configuration>
<system.web>
<httpModules>
<add name="HelloWorldModule" type="HelloWorldModule"/>
</httpModules>
</system.web>
</configuration>
2、添加到system.webServer/modules
<configuration>
<system.webServer>
<modules>
<add name="HelloWorldModule" type="HelloWorldModule"/>
</modules>
</system.webServer>
</configuration>
标签说明
<add name="随便命名" type="HttpModule命名空间加类名,dll文件名" /> 

转自http://tanyanbo2.blog.163.com/blog/static/97339159201111134824603/