Subject TIBBackupService and FireBird 2.0
Author Gustavo
Hello:

I use FireBird 2.0 with Delphi 5 and IBX.

I have a problem for doing a backup of a FireBird database. My application is in Delphi and my code for backup is the following:

with TIBBackupService.Create(nil) do
begin
LoginPrompt:=False;
Params.Add('user_name=SYSDBA');
Params.Add('password='+PasswordFireBirdSYSDBA);
Active:=True;
try
DataBaseName:=myDataBaseName;
BackupFile.Add(ArchivoDeBackupNombre);
ServiceStart;
finally
Active:=False;
end;
Free;
end;


Till a few months ago I used FireBird 1.5 and this worked fine. But since I installed FireBird 2.0 this doesn´t work anymore. When this code executes, I don´t get any error, and it generates a .fbk file. But when I try to connect to it I get a message saying "... is not a valid database".

I thought perhaps may be a problem of my gds32.dll file, but I checked and verify that in my Windows\system32 folder (I have XP), there is a gds32.dll file with the same date and time as the fbserver.exe file that is in "C:\Archivos de programa\Firebird\Firebird_2_0\bin" so I suppose the gds32.dll file was installed with FireBird 2.0 and is the right one.

¿Can anyone help me with this?

Thanks in advance

Gustavo

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