G
Guest
Guest
Archived from groups: microsoft.public.windowsxp.general (More info?)
Hello.
I have been successfully using the vss apis to perform some operations for
several days until now. I have the latest VSS SDK, v7.2.
When I try to run "vshadow.exe -q" I always get the following error:
VSHADOW.EXE 2.2 - Volume Shadow Copy sample client
Copyright (C) 2005 Microsoft Corporation. All rights reserved.
(Option: Query all shadow copies)
Querying all shadow copies in the system ...
ERROR: COM call L"m_pVssObject->Query(GUID_NULL, VSS_OBJECT_NONE,
VSS_OBJECT_SNAPSHOT, &pIEnumSnapshots )" failed.
- Returned HRESULT = 0x8004230f
- Error text: VSS_E_UNEXPECTED_PROVIDER_ERROR
- Please re-run VSHADOW.EXE with the /tracing option to get more details
I ran "vshadow.exe /tracting -q" and I get this for the output:
VSHADOW.EXE 2.2 - Volume Shadow Copy sample client
Copyright (C) 2005 Microsoft Corporation. All rights reserved.
(Option: Enable tracing)
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
'-q
' with 'wx'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
'-q
' with 'wi'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
'-q
' with 'wait'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
'-q
' with 'script'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
'-q
' with 'exec'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
'-q
' with 'tracing'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
'-q
' with '?'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
'-q
' with 'q'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: TRUE
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
CommandLineP
arser::MatchArgument
(Option: Query all shadow copies)
[[ CommandLineParser::MainRoutine @ shadow.cpp: 84]] OUTPUT:
(Option:
Query all shadow copies)
[[ VssClient::Initialize @ vssclient.cpp: 45]] ENTER
VssClien
t::Initialize
[[ VssClient::Initialize @ vssclient.cpp: 48]] Executing
COM
call '"CoInitialize(NULL)"'
[[ VssClient::Initialize @ vssclient.cpp: 63]] Executing
COM
call '"CoInitializeSecurity( NULL, -1, NULL, NULL,
RPC_C_AUTHN_LEVEL_PKT_PRIVACY
, RPC_C_IMP_LEVEL_IDENTIFY, NULL, EOAC_NONE, NULL )"'
[[ VssClient::Initialize @ vssclient.cpp: 66]] Executing
COM
call '"CreateVssBackupComponents(&m_pVssObject)"'
[[ VssClient::Initialize @ vssclient.cpp: 80]] Executing
COM
call '"m_pVssObject->InitializeForBackup()"'
[[ VssClient::Initialize @ vssclient.cpp: 101]] Executing
COM
call '"m_pVssObject->SetBackupState(true, true, VSS_BT_FULL, false)"'
[[ VssClient::Initialize @ vssclient.cpp: 45]] EXIT
VssClient
::Initialize
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] ENTER
VssClient::
QuerySnapshotSet
Querying all shadow copies in the system ...
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] OUTPUT:
Querying all shadow copies in the system ...
[[ VssClient::QuerySnapshotSet @ query.cpp: 36]] Executing COM
cal
l 'L"m_pVssObject->Query(GUID_NULL, VSS_OBJECT_NONE, VSS_OBJECT_SNAPSHOT,
&pIEnu
mSnapshots )"'
ERROR: COM call L"m_pVssObject->Query(GUID_NULL, VSS_OBJECT_NONE,
VSS_OBJECT_SNA
PSHOT, &pIEnumSnapshots )" failed.
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] OUTPUT:
ERROR: COM call L"m_pVssObject->Query(GUID_NULL, VSS_OBJECT_NONE,
VSS_OBJECT_SNA
PSHOT, &pIEnumSnapshots )" failed.
- Returned HRESULT = 0x8004230f
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] OUTPUT: -
Returne
d HRESULT = 0x8004230f
- Error text: VSS_E_UNEXPECTED_PROVIDER_ERROR
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] OUTPUT: -
Error t
ext: VSS_E_UNEXPECTED_PROVIDER_ERROR
- Please re-run VSHADOW.EXE with the /tracing option to get more details
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] OUTPUT: -
Please
re-run VSHADOW.EXE with the /tracing option to get more details
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] EXIT
VssClient::Q
uerySnapshotSet
[[ CommandLineParser::MainRoutine @ shadow.cpp: 84]] EXIT
CommandLineP
arser::MainRoutine
[[ wmain @ shadow.cpp: 66]] HRESULT Error
cat
ched: 0x8004230f
[[ CommandLineParser::~CommandLineParser @ shadow.cpp: 964]] ENTER
CommandLine
Parser::~CommandLineParser
[[ CommandLineParser::~CommandLineParser @ shadow.cpp: 964]] EXIT
CommandLineP
arser::~CommandLineParser
[[ wmain @ shadow.cpp: 31]] EXIT wmain
I have installed the following update but I still get the same error:
http://support.microsoft.com/kb/903234
I have tried to reboot but I still get the same error.
I noticed these errors in my Application event log:
Event id: 12293
Source: VSS
Description:
Volume Shadow Copy Service error: Error calling a routine on the Shadow Copy
Provider {b5946137-7b9f-4925-af80-51abd60b20d5}. Routine details Error
calling Query(). [0x80020008] [hr = 0x80020008].
Event id: 12293
Source: VSS
Description:
Volume Shadow Copy Service error: Error calling a routine on the Shadow Copy
Provider {b5946137-7b9f-4925-af80-51abd60b20d5}. Routine details Error
calling Query(). [0x8002802b] [hr = 0x8002802b].
I have found some articles that reference updates to Windows 2003 in regards
to these types of errors. Do they also apply to Windows XP Professional?
http://support.microsoft.com/?id=283085
http://support.microsoft.com/?id=833167
Thank you.
Hello.
I have been successfully using the vss apis to perform some operations for
several days until now. I have the latest VSS SDK, v7.2.
When I try to run "vshadow.exe -q" I always get the following error:
VSHADOW.EXE 2.2 - Volume Shadow Copy sample client
Copyright (C) 2005 Microsoft Corporation. All rights reserved.
(Option: Query all shadow copies)
Querying all shadow copies in the system ...
ERROR: COM call L"m_pVssObject->Query(GUID_NULL, VSS_OBJECT_NONE,
VSS_OBJECT_SNAPSHOT, &pIEnumSnapshots )" failed.
- Returned HRESULT = 0x8004230f
- Error text: VSS_E_UNEXPECTED_PROVIDER_ERROR
- Please re-run VSHADOW.EXE with the /tracing option to get more details
I ran "vshadow.exe /tracting -q" and I get this for the output:
VSHADOW.EXE 2.2 - Volume Shadow Copy sample client
Copyright (C) 2005 Microsoft Corporation. All rights reserved.
(Option: Enable tracing)
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
'-q
' with 'wx'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
'-q
' with 'wi'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
'-q
' with 'wait'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
'-q
' with 'script'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 767]] Matching Arg:
'-q
' with 'exec'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 765]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
'-q
' with 'tracing'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
'-q
' with '?'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: FALSE
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
CommandLineP
arser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] ENTER
CommandLine
Parser::MatchArgument
[[ CommandLineParser::MatchArgument @ shadow.cpp: 750]] Matching Arg:
'-q
' with 'q'
[[ CommandLineParser::MatchArgument @ shadow.cpp: 754]] Return: TRUE
[[ CommandLineParser::MatchArgument @ shadow.cpp: 748]] EXIT
CommandLineP
arser::MatchArgument
(Option: Query all shadow copies)
[[ CommandLineParser::MainRoutine @ shadow.cpp: 84]] OUTPUT:
(Option:
Query all shadow copies)
[[ VssClient::Initialize @ vssclient.cpp: 45]] ENTER
VssClien
t::Initialize
[[ VssClient::Initialize @ vssclient.cpp: 48]] Executing
COM
call '"CoInitialize(NULL)"'
[[ VssClient::Initialize @ vssclient.cpp: 63]] Executing
COM
call '"CoInitializeSecurity( NULL, -1, NULL, NULL,
RPC_C_AUTHN_LEVEL_PKT_PRIVACY
, RPC_C_IMP_LEVEL_IDENTIFY, NULL, EOAC_NONE, NULL )"'
[[ VssClient::Initialize @ vssclient.cpp: 66]] Executing
COM
call '"CreateVssBackupComponents(&m_pVssObject)"'
[[ VssClient::Initialize @ vssclient.cpp: 80]] Executing
COM
call '"m_pVssObject->InitializeForBackup()"'
[[ VssClient::Initialize @ vssclient.cpp: 101]] Executing
COM
call '"m_pVssObject->SetBackupState(true, true, VSS_BT_FULL, false)"'
[[ VssClient::Initialize @ vssclient.cpp: 45]] EXIT
VssClient
::Initialize
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] ENTER
VssClient::
QuerySnapshotSet
Querying all shadow copies in the system ...
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] OUTPUT:
Querying all shadow copies in the system ...
[[ VssClient::QuerySnapshotSet @ query.cpp: 36]] Executing COM
cal
l 'L"m_pVssObject->Query(GUID_NULL, VSS_OBJECT_NONE, VSS_OBJECT_SNAPSHOT,
&pIEnu
mSnapshots )"'
ERROR: COM call L"m_pVssObject->Query(GUID_NULL, VSS_OBJECT_NONE,
VSS_OBJECT_SNA
PSHOT, &pIEnumSnapshots )" failed.
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] OUTPUT:
ERROR: COM call L"m_pVssObject->Query(GUID_NULL, VSS_OBJECT_NONE,
VSS_OBJECT_SNA
PSHOT, &pIEnumSnapshots )" failed.
- Returned HRESULT = 0x8004230f
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] OUTPUT: -
Returne
d HRESULT = 0x8004230f
- Error text: VSS_E_UNEXPECTED_PROVIDER_ERROR
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] OUTPUT: -
Error t
ext: VSS_E_UNEXPECTED_PROVIDER_ERROR
- Please re-run VSHADOW.EXE with the /tracing option to get more details
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] OUTPUT: -
Please
re-run VSHADOW.EXE with the /tracing option to get more details
[[ VssClient::QuerySnapshotSet @ query.cpp: 22]] EXIT
VssClient::Q
uerySnapshotSet
[[ CommandLineParser::MainRoutine @ shadow.cpp: 84]] EXIT
CommandLineP
arser::MainRoutine
[[ wmain @ shadow.cpp: 66]] HRESULT Error
cat
ched: 0x8004230f
[[ CommandLineParser::~CommandLineParser @ shadow.cpp: 964]] ENTER
CommandLine
Parser::~CommandLineParser
[[ CommandLineParser::~CommandLineParser @ shadow.cpp: 964]] EXIT
CommandLineP
arser::~CommandLineParser
[[ wmain @ shadow.cpp: 31]] EXIT wmain
I have installed the following update but I still get the same error:
http://support.microsoft.com/kb/903234
I have tried to reboot but I still get the same error.
I noticed these errors in my Application event log:
Event id: 12293
Source: VSS
Description:
Volume Shadow Copy Service error: Error calling a routine on the Shadow Copy
Provider {b5946137-7b9f-4925-af80-51abd60b20d5}. Routine details Error
calling Query(). [0x80020008] [hr = 0x80020008].
Event id: 12293
Source: VSS
Description:
Volume Shadow Copy Service error: Error calling a routine on the Shadow Copy
Provider {b5946137-7b9f-4925-af80-51abd60b20d5}. Routine details Error
calling Query(). [0x8002802b] [hr = 0x8002802b].
I have found some articles that reference updates to Windows 2003 in regards
to these types of errors. Do they also apply to Windows XP Professional?
http://support.microsoft.com/?id=283085
http://support.microsoft.com/?id=833167
Thank you.