无法在32位池的IIS8中加载站点(WinSrv 2012和Sharepoint 2013)

问题描述:

我们有一个与TFS 2010交互的WCF服务,我们计划迁移到TFS 2012,所以我们安装了服务器来测试它,服务器有安装以下软件:无法在32位池的IIS8中加载站点(WinSrv 2012和Sharepoint 2013)

Windows Server 2012 
SQL Server 2012 
SharePoint 2013 
TFS 2012 

我创建了一个网站,我的服务,并试图跑,我是用下面的消息映入眼帘:

Could not load file or assembly 'Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader' or one of its dependencies. An attempt was made to load a program with an incorrect format. 

所以我改变了池为32位,但后来才知道是迎接此:

The Module DLL 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\isapi\spnativerequestmodule.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture. 

并知道我卡住了我为该DLL搜索,但没有找到任何东西,我创建了一个新的网站与香草HTML页面,只加载到64位池。

我检查了TFS和SharePoint在服务器上创建的网站,都是64位。

我最好的猜测是它与SharePoint 2013有关,但我不确定。

有关如何使网站在32位池上运行的任何想法?

感谢

+0

您是否试过[Fusion Log Viewer](http://msdn.microsoft.com/zh-cn/library/e74a18c4(v = vs.110).aspx)以查看加载它的问题? – DaveShaw

+0

不,我会尝试,并相应地更新 –

运行并排的32位和64位侧IIS7支持,因为它是now configured per AppPool

但是,虽然我不确定它是否是SharePoint 2013中受支持的配置,但存在此错误的修复程序。

您可以设置的SharePoint模块仅在使用该命令64位进程运行:

appcmd.exe set config -section:system.webServer/globalModules /[name='SPNativeRequestModule'].preCondition:integratedMode,bitness64 

看到this site的细节。

将其更改为64位模式下的应用程序池,但允许它加载32位的DLL。

http://help.webcontrolcenter.com/KB/a1114/how-to-enable-32-bit-application-pool-iis-7-dedicatedvps.aspx

+0

该链接是关于将池更改为32位或64位,而不是将32位DLL加载到64位进程(我认为这甚至不可能) –

+0

嗯你是对的,这是不可能的 - “在64位Windows上,万维网发布服务不支持在同一台服务器上同时运行32位和64位工作进程。” http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/13f991a5-45eb-496c-8618-2179c3753bb0.mspx?mfr=true。我想我的一台服务器一直在32位模式下运行。 – Betty

+0

你真的不应该在TFS所在的服务器上安装任何东西,它是否使用客户端或服务器api? – Betty