Queryinterface call on the COM component for the interface with IID '{93BA4344-AA56-403E-87F2-819650FEDACD}


Currently, I have a project in which I have to perform System C drive Backup.

I received an error:

Unable to cast COM object of type 'VSS.VSSCoordinatorClass' to interface type 'VSS.IVssCoordinator'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{93BA4344-AA56-403E-87F2-819650FEDACD}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

Finding Solution for the same online but any solution doesn't help me

    Private Sub MakeNewSnapshot( _
                ByRef vss As VSS.VSSCoordinatorClass, _
                ByVal sVolume As String, _
                ByRef output_SnapShotSetID As Guid, _
                ByRef output_SnapShotID As Guid)

        vss.AddToSnapshotSet(sVolume, Guid.Empty, output_SnapShotID)

        Dim ovssAsync As VSS.IVssAsync = Nothing
        Dim oCallBack As Object = Nothing

        vss.DoSnapshotSet(oCallBack, ovssAsync)

        Do While (True)
            Dim hr As Integer = 0
            Dim x As Integer = 0

            ovssAsync.QueryStatus(hr, x)

            If hr = VSS_S_ASYNC_FINISHED Then
                Exit Do
            End If


    End Sub

While Run Project I got subjected Error at "vss.StartSnapshotSet(output_SnapShotSetID)".

asked on Stack Overflow Aug 2, 2019 by Sumit Goswami

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0