|
From: Jiri C. (JIRA) <tr...@fi...> - 2013-05-31 08:44:45
|
[ http://tracker.firebirdsql.org/browse/DNET-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiri Cincura reopened DNET-499:
-------------------------------
> 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
|