Subject Re: [firebird-support] Re: Backup Restore problem
Author Sándor Tamás
No, you sent the Error TYPe, not the error message. If you look insinde
the exception objext, you'll find the exact error message.

SanTa

2010.04.22. 10:20 keltezéssel, mauleen2001 írta:
> Hi,
>
> I clearly mention my error message. which was written in the post. you just read the post properly.
>
> Mauleen
>
>
>
>
>
> --- In firebird-support@yahoogroups.com, Milan Tomes( - Position<tomes@...> wrote:
>
>> Hi,
>>
>> you're still not giving us the error message or at least error code.
>> What you're expecting from us then?
>>
>> M.
>>
>> Dne 22.04.2010 8:46, mauleen2001 napsal(a):
>>
>>> Hi,
>>>
>>> I am having Firebird V2.1, Visual Studio 2005(vb.net) and Firebird
>>> Client V2.1.
>>> I am taking backup through Firebird client object and it works fine.
>>> When i tried to restore my backup it fail and gives me error.
>>>
>>> My backup and restore functions are as below:
>>>
>>> My database name is DVSB.FDB and its size is more than 1 GB
>>>
>>> Private Sub BackUpDB()
>>> Dim fbBackup As New FbBackup
>>> fbBackup.Verbose = True
>>> fbBackup.Options = FbBackupFlags.IgnoreLimbo
>>> fbBackup.BackupFiles.Add(New FbBackupFile(strBackupSubDirectory&
>>> "\DVSB.gbk", 4096))
>>>
>>> fbBackup.Execute()
>>>
>>> End Sub
>>>
>>> Private Sub RestoreDB()
>>> Try
>>>
>>> Dim fbRestore As New FbRestore
>>> fbRestore.Options = FbRestoreFlags.Create + FbRestoreFlags.Replace
>>> fbRestore.PageSize = 8192
>>>
>>> fbRestore.BackupFiles.Add(New FbBackupFile(Path.GetTempPath&
>>> "\DVSB.gbk", 4096))
>>> End If
>>> fbRestore.Verbose = True
>>> fbRestore.ConnectionString = connectionString
>>> fbRestore.Execute()
>>>
>>> End Sub
>>>
>>> My Error:
>>> FirebirdSql.Data.Common.IscException: Exception of type
>>> 'FirebirdSql.Data.Common.IscException' was thrown.
>>> 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()
>>>
>>> Can anybody tell me what I am doing wrong?
>>>
>>> Thanks,
>>>
>>> Mauleen
>>>
>>>
>>
>> [Non-text portions of this message have been removed]
>>
>>
>
>
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Yahoo! Groups Links
>
>
>
>

--
<http://www.hostware.eu>
<< Ide jön a szöveg >>
Sándor Tamás
programfejleszto"



[Non-text portions of this message have been removed]