Exception when using FbRestore with .Verbose = true
---------------------------------------------------

                 Key: DNET-120
                 URL: http://tracker.firebirdsql.org/browse/DNET-120
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 2.1.0 RC 2
         Environment: Win Vista, 64bit, FB SS 2.0
            Reporter: Jiri Cincura
            Assignee: Carlos Guzman Alvarez


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)

-- 
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

        

-------------------------------------------------------------------------
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
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to