Subject Re: [firebird-support] Cannot open database file in local hard disk
Author Michel LE CLEZIO

Did you try some thing like this :

IBODatabase1.Path := your GDB or FDB filename with path...;

IF SERVER_<>'' then // NAME or IP of  the server
           IBODatabase1.Server:=SERVER_ else
            IBODatabase1.Server:=PC_NAME; //localhost 
if not IBODatabase1.Connected then

(using SYSDBA and masterkey.. or user....)

Best Regards,

Le ‎mardi‎ ‎20‎ ‎février‎ ‎2018‎ ‎16‎:‎09‎:‎33‎ ‎CET, Eduardo gusedum@... [firebird-support] <> a écrit :


Thanks for your suggestion.

The user have total control of the file and the folder. I can modify it and even delete it. I tried moving the file to other folders and I tried with many FDB files. If I copy the FDB to another computer with Firebird, then I can open it without any problem. So the problem seems to be related to the computer.

I use Firebird 2.1 since many years ago and it works well. That's why I didn´t change it already.

-------- Mensaje original --------
Asunto: [firebird-support] Cannot open database file in local hard disk
De: Rustam rustam-m@... [firebird-support] <>
Fecha: 20/02/2018 11:09

1) Check user access rights on DB folder/file and account, under which Firebird server is running
2) Why you don't use latest 2.5.8 version of Firebird?

altLibre de virus.