Path Already Exists

May 4, 2009 at 11:48 PM

I've started using AlphaVSS (and AlphaFS) and I'm thoroughly impressed.  Everything I've done so far is working great but recently I have run into an error when creating a new copy of a file I copied before with the VSS.  The destination file doesn't exist anymore but the error I get is "Path Already Exists".  I'm guessing this has to do with the snapshot still existing even though I have disposed of the shadow copy class.  I'm using the exact sample provide:

        Dim SC As New ShadowCopy()
            Dim SnapshotPath As String = SC.GetSnapshotPath(Sourcepath)
            Alphaleonis.Win32.Filesystem.File.Copy(SnapshotPath, DestinationPath)
            Return True
        Catch ex As Exception
            Throw New Exception(ex.Message)
            Return False
        End Try

Any help is greatly appreciated.  Thanks!