Azure Site Recovery 不会安装在 Stand alone Windows Server 2016 Core - C++ 模块加载失败

Azure Site recovery won't install on Stand alone Windows Server 2016 Core - C++ module failed to load

正在尝试在 Windows Server 2016 hyper-v 核心上安装 Azure 站点恢复,但无法安装。服务器是新安装的,除了 windows server 2016 core 和最新更新外没有其他应用程序。每次尝试从命令行 运行 启动安装时:

setupdr.exe /i (post 提取exe)

或运行AzureSiteRecoveryProvider.exe直接

重新启动没有帮助。

每次都收到以下错误,无法继续安装:

SetupDR.exe 已停止工作。

**    Unhandled Exception: System.TypeInitializationException: The type initializer for '<Module>' threw an exception. ---> <CrtImplementationDetails>.ModuleLoadException: The C++ module failed to load during appdomain initialization.
 ---> System.DllNotFoundException: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpfgfx_v0400.dll ---> System.ComponentModel.Win32Exception: The specified module could not be found
   --- End of inner exception stack trace ---
   at MS.Internal.NativeWPFDLLLoader.LoadNativeWPFDLL(UInt16* relDllPath, UInt16* baseDllPath)
   at MS.Internal.NativeWPFDLLLoader.LoadCommonDLLsAndDwrite()
   at CModuleInitialize.{ctor}(CModuleInitialize* , IntPtr cleaningUpFunc)
   at ?A0x3dfe6d80.CreateCModuleInitialize()
   at ?A0x3dfe6d80.??__E?A0x3dfe6d80@cmiStartupRunner@@YMXXZ()
   at _initterm_m((fnptr)* pfbegin, (fnptr)* pfend)
   at <CrtImplementationDetails>.LanguageSupport.InitializePerAppDomain(LanguageSupport* )
   at <CrtImplementationDetails>.LanguageSupport._Initialize(LanguageSupport* )
   at <CrtImplementationDetails>.LanguageSupport.Initialize(LanguageSupport* )
   --- End of inner exception stack trace ---
   at <CrtImplementationDetails>.ThrowModuleLoadException(String errorMessage, Exception innerException)
   at <CrtImplementationDetails>.LanguageSupport.Initialize(LanguageSupport* )
   at .cctor()
   --- End of inner exception stack trace ---
   at Microsoft.DisasterRecovery.Setup.Program.Main()**

检查VC++是否为4.5及以上

我通过 运行 windows 更新解决了这个问题。 我遇到了同样的问题并得到了同样的错误,但是 运行 windows 更新提供了任何缺少的依赖项。

我现在无法尝试在命令行上设置保管库凭据,但我至少可以安装它。