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

Jua*_*dio 2 iis windows-server tfs2012

我们有一个与TFS 2010交互的WCF服务,我们计划迁移到TFS 2012,因此我们安装了一个服务器来测试它,服务器安装了以下内容:

Windows Server 2012
SQL Server 2012
SharePoint 2013
TFS 2012
Run Code Online (Sandbox Code Playgroud)

我为我的服务创建了一个站点并试图运行,我收到以下消息:

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.
Run Code Online (Sandbox Code Playgroud)

所以我将游泳池改为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. 
Run Code Online (Sandbox Code Playgroud)

并且知道我被卡住了我用谷歌搜索但没有找到任何东西,我创建了一个带有vanilla HTML页面的新站点,只加载64位池.

我在服务器上检查了由TFS和SharePoint创建的站点,并且都是64位.

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

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

谢谢

小智 11

IIS7支持并行运行32位和64位,因为它现在按照AppPool进行配置.

但是,虽然我不确定它是否是SharePoint 2013中受支持的配置,但是可以解决此错误.

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

appcmd.exe set config -section:system.webServer/globalModules /[name='SPNativeRequestModule'].preCondition:integratedMode,bitness64
Run Code Online (Sandbox Code Playgroud)

请参阅此网站了解详情.