I upgraded to 2.1.0 RC2 and I am getting Object Reference error when I use
Backup or Restore Method. I went back to the previous version and it is
working fine. 

My Backup Method Code

Public Function BackupDatabase(ByVal backupPath As String) As Boolean

        If backupPath = String.Empty Then Return False

        Try
            With New FbBackup
                'Running db connection string
                .ConnectionString = My.Settings.ConnectionString()
                'Provide a new fbk file with backup path
                .BackupFiles.Add(New FbBackupFile(backupPath, 2048))
                .Verbose = True
                .Options = FbBackupFlags.IgnoreLimbo
                .Execute()
                If .State = FbServiceState.Closed Then
                    Return True
                End If
            End With
        Catch ex As Exception
            HandleException(ex, "Backup Database")
            Return False
        End Try

End Function

Thanks!

Muthu Annamalai

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to