Backup problem in Windows 7
---------------------------

                 Key: DNET-499
                 URL: http://tracker.firebirdsql.org/browse/DNET-499
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 2.5.1
         Environment: Windows 7
            Reporter: Hayatuddeen Sadiq
            Assignee: Jiri Cincura


Hello,

I have a desktop application that the backup is working fine but when i move it 
to window 7 the backup is not working.

This is the code:

Private Sub BackupDatabase(ByVal backupFile As String)

            'Dim cs As New 
FirebirdSql.Data.FirebirdClient.FbConnectionStringBuilder

            'cs.UserID = "sysdba"
            'cs.Password = "masterkey"
            'cs.Database = "localhost:ndahrm"

            Dim bkp As New FirebirdSql.Data.Services.FbBackup

            bkp.ConnectionString = DB.ConnectionString


            Dim bp As New FirebirdSql.Data.Services.FbBackupFile(backupFile, 
2048)
            bkp.BackupFiles.Add(bp)

            bkp.Verbose = True
            bkp.Options = FirebirdSql.Data.Services.FbBackupFlags.IgnoreLimbo

            Try
                bkp.Execute()
                Timer1.Stop()
                prgBar.Value = 100
                MessageBox.Show("Processing Completed Successfully.", 
Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Information)
            Catch ex As Exception
                MessageBox.Show(ex.Message)
            End Try


End Sub


And this is the error code:

Invalid clumplet buffer structure: buffer end before end of clumplet - no 
length component


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to