Em 5/3/2013 22:21, bluewindow99 escreveu:
> I'm just getting started with FB using the .NET interface.
>
> This connect string works just fine:
>
>   private string ConnectionStringFireBird = "User 
> ID=sysdba;Password=masterkey;Database=localhost:C:\\MYLOG.FDB;DataSource=localhost;Charset=NONE;";
>
> But if I copy the MYLOG.FDB file to a mapped network drive and substitute Z: 
> for C: in the oonnect string above, I get a message "unavailable database".   
> This remote drive is on a different PC and that PC does NOT have FB installed.

As expected, the drive must be a physical (local) drive

> As a second experiment, I copied the FDB file to another PC which has the FB 
> server running on it and I could connect nicely by prefacing the file with 
> the IP address of the remote PC.

As expected, FB is a client/server database, a cliente will connect to a 
server on a remote machine

>
> So I gather that the FDB file must be on a machine where FB server is running.

yes

> But this confuses me a bit because my mapped Z drive was logically part of my 
> PC.

It must be a local physical drive, mapped drive would no work. (on POSIX 
systems you could use a network share, but it's not recomended)

> What would happen if I had a local hard drive partitioned into C and D, and I 
> put the FDB file on the D drive.

It will work

> Thanks in advance for any light you might shed.
>
> Best
>
> Harry
>

see you !

Reply via email to