Subject Re: [firebird-support] Re: Client gets "I/O error for file {non-shared dir on server}\any.fdb"
Author Daniel Albuschat
On Thu, 31 Mar 2005 09:04:48 +0400, Dimitry Sibiryakov <SD@...> wrote:
>
> On 30 Mar 2005 at 22:21, delphigurusam wrote:
>
> ><<ANSWER>> Looks like:
> > \\Servername\C:\Program Files\AT6TestData\any.fdb ?
>
> I don't know whether this is the problem or not, but try to change
> it to
>
> Servername:C:\Program Files\AT6TestData\any.fdb
>
> thus using plain TCP/IP which does not require end-user rights on DB
> file.

\\servername\C:\Program Files\Foo.fdb is a *local* path for FB, thus
it will use the locally running firebird server to open a database
over a network
connection (which FB is not even aware of, because it's "hidden" by
the filesystem).

But I thought you couldn't "share" you Program Files dir?

servername:C:\Program Files\Foo.fdb is a remote database. The FB client
library will connect to the FB server running on the machine "servername"
via TCP/IP, and this FB server there will open the (from the server's point
of view) local file C:\Program Files\Foo.fdb.

Ther error description sounds more like some domain/OS user issues, though.

Bye,
Daniel

--
eat(this); // delicious suicide