尝试安装 Microsoft Azure 备份代理时出现“无法执行嵌入式应用程序”错误

原始产品版本:Azure 备份、Windows Server 2008 R2 Datacenter、Windows Server 2008 R2 Enterprise、Windows Server 2008 R2 Foundation、Windows Server 2008 R2 Standard
原始 KB 数: 2934202

现象

尝试在运行 Windows Server 2008 R2 的服务器上安装 Microsoft Azure 备份代理时,尝试会失败。 此外,你还会收到以下错误消息:

无法执行嵌入的应用程序来完成安装。

注意

已知此问题发生在从映像库创建的 Windows Server 2008 R2 Datacenter SP1 映像中的虚拟机(VM)。 但是,同一 VM 在 Windows Server 2012 上按预期工作。

原因

出现此问题的原因是Microsoft出现问题。VC90。CRT。 若要解决此问题,必须安装 Visual C++ 运行时的早期版本。

出现此问题时,应用程序日志中记录了以下内容,这表示Microsoft.VC90.CRT 是问题:

Log Name: Application
Source: SideBySide
Date: **date** **time**  
Event ID: 33
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: **computer_name**  
Description:
Activation context generation failed for "F:\e703768b6b4e0b79707d1228d22c236d\CBPSetup.exe". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.
You may also receive the following error message:

ERROR: Cannot resolve reference Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Activation Context generation failed.

解决方法

若要解决此问题,必须安装 Microsoft Visual C++ 2008 Redistributable Package (x64)。 安装最新版本的 Visual C++ 运行时无法解决此问题。

联系我们寻求帮助

如果你有任何疑问或需要帮助,请创建支持请求联系 Azure 社区支持。 你还可以将产品反馈提交到 Azure 反馈社区