我已通过 Azure 门户为我的应用程序成功设置了混合连接,并下载了“本地混合连接”所需的 .msi 文件。
但是,在相关 2008 R2 服务器上安装该文件时(遵循此处找到的安装指南 - https://azure.microsoft.com/en-gb/documentation/articles/web-sites-hybrid-connection-connect-on-premises-sql-server/),我在安装过程中遇到以下错误:
Product: HybridConnectionManager 0.6.3 -- Installation failed.
Windows Installer installed the product. Product Name: HybridConnectionManager 0.6.3. Product Version: 2.0.50212.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.
接下来,我尝试使用“单击一次”应用程序。然后出现错误:
Unable to install or run the application. The application requires that assembly Microsoft.Management.Infrastructure Version 1.0.0.0 be installed in the Global Assembly Cache (GAC) first.
是否有人有任何建议或知道任何会引发此类错误/阻止安装完成的事情?谢谢。
最佳答案
根据本文讨论部分的评论: https://azure.microsoft.com/en-us/documentation/articles/integration-hybrid-connection-create-manage/
[The] documentation needs to be updated to reflect additional software requirements:
* Windows Management Framework 3+ (or else the installer silently rollsback)
* .NET 4.5+ (or else the configuration wizard returns a SecurityException)
我的猜测是,这是“Microsoft.Management.Infrastruct”错误的原因。
关于如何明确确定当前安装的 WMF 版本似乎存在一些争论,但这个问题的最佳答案似乎是流行的选择: https://serverfault.com/questions/627386/what-version-of-windows-management-framework-is-installed
查找大于 3.0 的 WSManStackVersion 值。
如果小于则您至少需要安装 WMF 3.0 ( https://www.microsoft.com/en-us/download/details.aspx?id=34595 ) (当前版本为 5.0)。请务必查看系统要求,以确保您安装的计算机不会与其发生冲突。
如果计算机满足这些要求,请尝试在详细模式下运行 msiexec 并将输出发送到文件以获取安装过程的日志:
msiexec/i _msi_路径_/L*V _输出文件路径
它可能会给你一个新的观察方向。
关于Azure 混合连接管理器安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37410096/