无法在32位池上的IIS8中加载站点(WinSrv 2012和Sharepoint 2013) [英] Cant load a site in IIS8 on 32bit pool (WinSrv 2012 and Sharepoint 2013)

查看:295
本文介绍了无法在32位池上的IIS8中加载站点(WinSrv 2012和Sharepoint 2013)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

We have a WCF service that interacts with TFS 2010, we are planning to migrate to TFS 2012 so we installed a server to test it, the server have the following installed:

Windows Server 2012
SQL Server 2012
SharePoint 2013
TFS 2012

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

I created a site for my service and tried to running, i was greeted with the following message:

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位,但后来我受到了欢迎:

So I changed the pool to 32bit, but then I was greeted with this:

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却找不到任何东西,我创建了一个新的具有vanilla HTML页面的站点,仅在64位池上加载。

And know I'm stuck I googled for that DLL but did not find anything, I created a new site with a vanilla HTML page and only loads on 64 bit pool.

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

I checked the sites created by TFS and SharePoint on the server and all are 64bit.

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

My best guess is that it has something to do with SharePoint 2013 but I'm not sure.

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

Any ideas on how to make the sites run on a 32bit pool?

谢谢

推荐答案

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

Running 32bit and 64bit side by side is supported in IIS7 as it's now configured per AppPool.

但是,虽然我不确定它是否是SharePoint 2013中支持的配置,但是有一个修复此错误。

However, although I'm not sure if it's a supported configuration in SharePoint 2013 there's a fix for this error.

您可以设置那个SharePoint模块只能使用以下命令在64位进程中运行:

You can set that SharePoint module to only run in 64bit processes using this command:

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

参见此网站了解详情。

这篇关于无法在32位池上的IIS8中加载站点(WinSrv 2012和Sharepoint 2013)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆