代码之家  ›  专栏  ›  技术社区  ›  user3566325

Azure Site recovery不会安装在独立的Windows Server 2016 Core上-无法加载C++模块

  •  1
  • user3566325  · 技术社区  · 8 年前

    试图在Windows Server 2016 hyper-v core上安装Azure site recovery,但无法安装。该服务器是新安装的,除windows server 2016 core和最新更新外,没有其他应用程序。每次尝试从运行以下任一命令行的命令行启动安装时:

    或者运行AzureSiteRecoveryProvider。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()**
    
    2 回复  |  直到 8 年前
        1
  •  0
  •   Zack    8 年前

    我通过运行windows update解决了这个问题。

    我现在一直在尝试在命令行上设置vault凭据,但我至少安装了它。

        2
  •  0
  •   SumanthMarigowda-MSFT    8 年前