VssBadStateException when StartSnapshotSet is initializing
hahyes opened this issue · 1 comments
hahyes commented
Hi there, I have little problem with StartSnapshotSet method. When I initialize it, it's giving me VssBadStateException error. I don't know, what to do. VSS Writers are all stable without errors.
`static Guid _set_id;
static void Main(string[] args)
{
IVssImplementation vssImplementation = VssUtils.LoadImplementation();
using (IVssBackupComponents backup = vssImplementation.CreateVssBackupComponents())
{
backup.InitializeForBackup(null);
backup.SetBackupState(false, true, VssBackupType.Full, false);
backup.GatherWriterMetadata();
backup.GatherWriterStatus();
_set_id = backup.StartSnapshotSet();`
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.