gpt4 book ai didi

iis-7.5 - 安装应用程序请求路由时出错

转载 作者:行者123 更新时间:2023-12-02 02:11:53 25 4
gpt4 key购买 nike

我正在尝试在 Windows Server 2008R2 下使用 WebPI 4.0 安装 IIS Application Request Routing 2.5。

遗憾的是,IIS 管理器中没有显示任何菜单。

相反,我在事件查看器中收到以下错误:

The Initialize method for module "Microsoft.Web.Management.Arr.ArrModule, Microsoft.Web.Management.Arr.Client, Version=7.2.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" of type "ApplicationRequestRouting" threw an exception.

Exception:System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.Management.WebFarmClient, Version=7.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.Web.Management.WebFarmClient, Version=7.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' at Microsoft.Web.Management.Arr.ArrModule.Initialize(IServiceProvider serviceProvider, ModuleInfo moduleInfo) at Microsoft.Web.Management.Client.Connection.Initialize(WebManagementInfo webManagementInfo)

事实上,WebFarmClient DLL 位于版本 7.1.2.1 的 GAC 中。(由 WebPI 自动解析)

我该如何解决这个问题?

最佳答案

好的..这是解决方案。由于另一个版本的 WebFarmClient DLL 位于 GAC 中,因此我想到了重定向它们:

打开C:\windows\system32\inetsrv\config\administration.config,这是IIS MANAGER的配置文件(不适用于IIS本身).

将此部分添加到其中(在 configsections 之后):

<!-- ... -->
</configSections>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.Web.Management.WebFarmClient"
publicKeyToken="31bf3856ad364e35"
culture="neutral" />
<bindingRedirect oldVersion="7.1.2.0"
newVersion="7.1.2.1"/>
</dependentAssembly>
</assemblyBinding>
</runtime>

我们开始吧!

关于iis-7.5 - 安装应用程序请求路由时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12357612/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com