IVssBackupComponents :: InitializeForBackup이 E_UNEXPECTED 오류로 실패합니다. 그리고 이벤트 뷰어에서이 두 가지 오류 : 나는 "안녕하세요!"VSS 프로그램을 간단하게 만든 2IVssBackupComponents :: InitializeForBackup 실패
Volume Shadow Copy Service error: Unexpected error calling routine
CoCreateInstance. hr = 0x80040154, Class not registered.
Operation:
Instantiating VSS server
오류 1
Volume Shadow Copy Service error: A critical component required by
the Volume Shadow Copy service is not registered. This might
happened if an error occurred during Windows setup or during
installation of a Shadow Copy provider.
The error returned from
CoCreateInstance on class with CLSID
{e579ab5f-1cc4-44b4-bed9-de0991ff0623} and Name IVssCoordinatorEx2
is [0x80040154, Class not registered ].
Operation:
Instantiating VSS server
오류 :
#include "vss.h"
#include "vswriter.h"
#include <VsBackup.h>
#include <stdio.h>
int main()
{
#define CHECK_PRINT(result) printf("%s %#08x\n",result==S_OK?"S_OK":"error", result)
HRESULT result = CoInitialize(NULL);
CHECK_PRINT(result);
IVssBackupComponents *VssHandle;
result = CreateVssBackupComponents(&VssHandle);
CHECK_PRINT(result);
result = VssHandle->InitializeForBackup();
CHECK_PRINT(result);
return 0;
}
이 새로 설치 내 주요 개발 윈도우 (10) PC 및 가상 윈도우 10에 동일한 출력 S_OK 00000000 S_OK 00000000 오류 0x80042302
에게보고합니다. VSS, swprv 서비스가 실행 중입니다.