Получение кода ошибки: -2146368511 [0x80110401] при выполнении примера настройки поставщика оборудования VSS

Оба решения, упомянутые вПоставщик оборудования VSS«не помогают.

Я выполнил следующие инструкции для установки VssSampleProvider Setup (по ссылке от https://code.msdn.microsoft.com/windowsdesktop/VSS-Sample-Provider-3096be2a/sourcecode?fileId=58709&pathId = 1834493409).

(1) Установите драйвер виртуальной памяти следующим образом:

a.  Navigate to the Program Files (x86)\Windows Kits\8.0\bin\x86 directory in the Windows SDK. This directory contains virtualstoragevss.sys and vstorcontrol.exe.

(2) Установите образец поставщика VSS следующим образом:

a.  Copy the following files from the Program Files (x86)\Windows Kits\8.0\bin\x86 directory into the VssSampleProvider directory in the downloaded sample.

-   VssSampleProvider.dll
-   VstorInterface.dll
-   install-sampleprovider.cmd
-   uninstall-sampleprovider.cmd
-   register_app.vbs
b.  In the VssSampleProvider directory, type "install-sampleprovider.cmd" at the command prompt.

Я получаю следующую ошибку после выполнения «install-sampleprovider.cmd» из командной строки:

ОШИБКА:

- Error code: -2146368511 [0x80110401]
- Exit code: 113
- Description:
- Source:
- Help file:
- Help context: 0
- COM+ Errors detected: (2)
* (COM+ ERROR 0) on C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++\VssSampleProvider.dll
ErrorCode: -2146368486 [0x8011041A]
MajorRef: C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++\VssSampleProvider.dll
MinorRef: <invalid>
* (COM+ ERROR 1) on SampleProvider
ErrorCode: -2146368486 [0x8011041A]
MajorRef: {423BBC78-9B20-4BBE-A967-B63EC43BC7F3}
MinorRef: <invalid>

Журналы консоли командной строки:

C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>install-sampleprovider.cmd

C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>rem Remove existing installation

C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>call "C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++\\uninstall-sampleprovider.cmd"
C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>net stop vds
The Virtual Disk service is not started.

More help is available by typing NET HELPMSG 3521.C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>net stop vss
The Volume Shadow Copy service is not started.

More help is available by typing NET HELPMSG 3521.C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>net stop swprv
The Microsoft Software Shadow Copy Provider service is not started.

More help is available by typing NET HELPMSG 3521.C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>reg.exe delete HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\VssSampleProvider /f
The operation completed successfully.

C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>cscript "C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++\\register_app.vbs" -unregister "VssSampleProvider"Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

REGISTER_APP.VBS version 1.6 for Windows Server 2008
Copyright (C) Microsoft Corporation 2002-2003. All rights reserved.

Unregistering the existing application...
- Create the catalog object
- Get the Applications collection
- Populate...
- Search for VssSampleProvider application...
- Application VssSampleProvider removed!
- Saving changes...
Done.

C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>regsvr32 /s /u "C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++\\VssSampleProvider.dll"
C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>echo.C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>goto :EOF

C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>rem Register VSS hardware provider

C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>cscript "C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++\register_app.vbs" -register "VssSampleProvider" "C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++\VssSampleProvider.dll" "VSS HW Sample Provider"Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.REGISTER_APP.VBS version 1.6 for Windows Server 2008
Copyright (C) Microsoft Corporation 2002-2003. All rights reserved.

Unregistering the existing application...
- Create the catalog object
- Get the Applications collection
- Populate...
- Search for VssSampleProvider application...
- Saving changes...
Done.
Creating a new COM+ application:
- Creating the catalog object
- Get the Applications collection
- Populate...
- Add new application object
- Set app name = VssSampleProvider
- Set app description = VSS HW Sample Provider
- Set app access check = true
- Set encrypted COM communication = true
- Set secure references = true
- Set impersonation = false
- Save changes...
- Create Windows service running as Local System
- Add the DLL component

ERROR:
- Error code: -2146368511 [0x80110401]
- Exit code: 113
- Description:
- Source:
- Help file:
- Help context: 0
- COM+ Errors detected: (2)
* (COM+ ERROR 0) on C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++\VssSampleProvider.dll
ErrorCode: -2146368486 [0x8011041A]
MajorRef: C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++\VssSampleProvider.dll
MinorRef: <invalid>
* (COM+ ERROR 1) on SampleProvider
ErrorCode: -2146368486 [0x8011041A]
MajorRef: {423BBC78-9B20-4BBE-A967-B63EC43BC7F3}
MinorRef: <invalid>

C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>set EVENT_LOG=HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\VssSampleProvider

C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>reg.exe add HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\VssSampleProvider /f
The operation completed successfully.

C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>reg.exe add HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\VssSampleProvider /f /v CustomSource /t REG_DWORD /d 1
The operation completed successfully.

C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>reg.exe add HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\VssSampleProvider /f /v EventMessageFile /t REG_EXPAND_SZ /d "C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++\VssSampleProvider.dll"The operation completed successfully.

C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>reg.exe add HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\VssSampleProvider /f /v TypesSupported /t REG_DWORD /d 7
The operation completed successfully.

C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>echo.C:\Users\Administrator\Desktop\Volume Shadow Copy Service hardware provider sample\C++>goto :EOF

1

Решение

Задача ещё не решена.

Другие решения


По вопросам рекламы [email protected]