win 2008 安装完域控,exchange,iis 中开启32位应用程序的应用程序池会自动中止

我在安装iis的机器上安装了域控,和exchange 而后看到服务器管理器里面有报错提示,我没关管它,但我去测试网站的时间,发现打不开了。缘由是引用了 开启容许32位应用程序的 应用程序池 会自动中止,应用程序池中止了。就会报错:HTTP Error 503 The service is unavailablehtml

而后iis里面有以下报错:服务器

“Windows Process Activation Service 未能为应用程序池“formail”生成应用程序池配置文件。错误类型为“7”。要解决此问题,请确保 applicationhost.config 文件正确,并从新提交上次所作的配置更改。数据字段包含错误号。”app

而后每次打开网站的时间,iis会有如下报错:ide

应用程序池“formail”将被自动禁用,缘由是为此应用程序池提供服务的进程中出现一系列错误。测试

缘由分析:缘由是我安装了域控,exchange,以后才出现的。具体是由于安装了CAS的服务器iis应用池没法以兼容32位运行。网站

解决办法:ui

修改C:\Windows\System32\inetsrv\config\applicationHost.config
将其中涉及exchange的dll,设置加载模式为preCondition="bitness64"

<add name="kerbauth" p_w_picpath="C:\Program Files\Microsoft\Exchange Server\V14\Bin\kerbauth.dll" />
修改成
<add name="kerbauth" p_w_picpath="C:\Program Files\Microsoft\Exchange Server\V14\Bin\kerbauth.dll" preCondition="bitness64" />spa

请注意,修改以前先停掉iis,修改完而后再开启iis。、orm

来源:http://bbs.winos.cn/archiver/tid-134736.htmlhtm

英文步骤:

1. Stop the IIS Service
2. Edit C:\Windows\System32\inetsrv\config\applicationHost.config
3. Edit the following 3 lines to append/insert the preCondition="bitness64" option

<add name="kerbauth" p_w_picpath="C:\Program Files\Microsoft\Exchange Server\V14\Bin\kerbauth.dll" preCondition="bitness64" />

<filter name="Exchange OWA Cookie Authentication ISAPI Filter" path="C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa\auth\owaauth.dll" enabled="true" preCondition="bitness64" />

<filter name="Exchange ActiveSync ISAPI Filter" path="C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\sync\bin\AirFilter.dll" enabled="true" preCondition="bitness64" />

4. Start the IIS Service
5. Set an Application Pool to use 32 bit Applications

来源:http://social.technet.microsoft.com/Forums/en-US/18abc343-dacd-481f-a889-af0c0bfe7e30/kerbauthdll-configuration-issues


弄好后,能打开了,可是又报了另一个错误:

HTTP 错误 500.24 - Internal Server Error 检测到在集成的托管管道模式下不适用的 ASP.NET 设置。

解决办法:须要在应用程序池里面 把 托管管道模式设置成 classic

以上可解决问题。正常访问了

相关文章
相关标签/搜索