Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when using FbRestore with .Verbose = true [DNET120] #131

Closed
firebird-automations opened this issue Sep 23, 2007 · 5 comments
Closed

Comments

@firebird-automations
Copy link

Submitted by: @cincuranet

Assigned to: @carlosga

When I use code:
FbRestore restore = new FbRestore();
restore.ConnectionString = @"data source=localhost;initial catalog=" + restoreDB + ";user id=SYSDBA;password=masterkey";
restore.BackupFiles.Add(new FbBackupFile(backupFile, 4096));
<//restore.Verbose> = true;
restore.PageSize = 4096;
restore.Options = FbRestoreFlags.Create | FbRestoreFlags.Replace;
restore.ServiceOutput += new ServiceOutputEventHandler(restore_ServiceOutput);
restore.Execute();
everything is OK. When I uncomment the .Verbose line, the exception (IscException) is thrown (at FirebirdSql.Data.Client.Gds.GdsConnection.ReadStatusVector() in <snip>\FirebirdClient-2.1.0-RC2-Src\NETProvider\source\FirebirdSql\Data\Client\Gds\GdsConnection.cs:line 271)

@firebird-automations
Copy link
Author

Modified by: @carlosga

status: Open [ 1 ] => In Progress [ 3 ]

@firebird-automations
Copy link
Author

Commented by: @carlosga

Looks as working fine for me using v2.5 of the provider and firebird 2.1 x64

Will try with v2.1 of the provider as soon as possible

@firebird-automations
Copy link
Author

Modified by: @carlosga

status: In Progress [ 3 ] => Open [ 1 ]

@firebird-automations
Copy link
Author

Modified by: @carlosga

Fix Version: 2.5.0 [ 10170 ]

@firebird-automations
Copy link
Author

Modified by: @carlosga

status: Open [ 1 ] => Closed [ 6 ]

resolution: Fixed [ 1 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant