Hello,

I am sending the stacktrace information about the Exception. This exception
occurred when I restored my backup database file.

Using following Code
FbBackupFile restorefile = new FbBackupFile(@"c:\kixzofdb\myback.fbk",2048);
FbRestore fbrestore = new FbRestore();
fbrestore.BackupFiles.Add(restorefile);
fbrestore.ConnectionString = @"DATABASE=C:\kixzofdb\testingBackup.FDB;
User=sysdba; password= masterkey;"; fbrestore.Verbose = true;
fbrestore.PageSize = 2048; fbrestore.Options = FbRestoreFlags.Create |
FbRestoreFlags.Replace; fbrestore.Execute();


The exception generated was "FirebirdSql.Data.Common.IscException"
Please have look on that.



   at FirebirdSql.Data.Client.Gds.GdsConnection.ReadStatusVector()
   at FirebirdSql.Data.Client.Gds.GdsConnection.ReadResponse()
   at
FirebirdSql.Data.Client.Gds.GdsServiceManager.Query(ServiceParameterBuffer
spb, Int32 requestLength, Byte[] requestBuffer, Int32 bufferLength, Byte[]
buffer)
   at FirebirdSql.Data.Services.FbService.QueryService(Byte[] items)
   at FirebirdSql.Data.Services.FbService.GetNextLine()
   at FirebirdSql.Data.Services.FbService.ProcessServiceOutput()
   at FirebirdSql.Data.Services.FbRestore.Execute()
   at firebirdBackup.Form1.button2_Click(Object sender, EventArgs e) in
D:\Nikita\firebirdBackup\firebirdBackup\Form1.cs:line 53
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.Unsaf
eNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID,
Int32 reason, Int32 pvLoopData)
   at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32
reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at firebirdBackup.Program.Main() in
D:\Nikita\firebirdBackup\firebirdBackup\Program.cs:line 17
   at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()



Regards,
Rakesh singh
http://www.4colordesign.com


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