-->

在斜面上IIS8 32位池(WinSrv 2012和Sharepoint 2013)加载网站(Can

2019-07-31 09:52发布

我们有一个与2010年TFS交互的WCF服务,我们计划迁移到2012 TFS所以我们安装了一个服务器进行测试,服务器安装以下软件:

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. 

而且知道我坚持我用Google搜索该DLL,但没有发现任何东西,我创建了一个带有香草的HTML页面,只加载64位池的新网站。

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

我最好的猜测是,它有事情做与SharePoint 2013,但我不知道。

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

谢谢

Answer 1:

并排运行32位和64位侧IIS7支持,因为它是现在每个应用程序池配置 。

不过,虽然我不知道这是否是在SharePoint 2013支持的配置有此错误的修正。

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

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

看到这个网站了解详细情况。



Answer 2:

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

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



Answer 3:

就我而言,我最初启用32位应用程序为True,这时候所有的问题开始。 要解决,我在命令提示符下运行以下 - 没有IISRESET / NOFORCE,最后重新启动机器。 我能只有在重启设备后重新启动它。

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

注:我使用的是Windows 2008 R2和Sharepoint 2013年其他引用建议禁用快速失败保护,但它并没有道理给我。



文章来源: Cant load a site in IIS8 on 32bit pool (WinSrv 2012 and Sharepoint 2013)