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

Yes, I tried indicating the name or IP of the server but it didn't work. The only way to open the databases is using an alias.


-------- Mensaje original --------
Asunto: Re: [firebird-support] Cannot open database file in local hard disk
De: Michel LE CLEZIO mlcvista@... [firebird-support] <firebird-support@yahoogroups.com>
A: firebird-support@yahoogroups.com
Fecha: 20/02/2018 12:29
 
Hello,

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
           IBODatabase1.Connect;

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

Best Regards,
MLCVISTA


Le ‎mardi‎ ‎20‎ ‎février‎ ‎2018‎ ‎16‎:‎09‎:‎33‎ ‎CET, Eduardo gusedum@... [firebird-support] <firebird-support@yahoogroups.com> 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] <firebird-support@yahoogroups.com>
A: firebird-support@yahoogroups.com
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?



alt Libre de virus. www.avast.com