Subject | Re: [firebird-support] could not find Database on testing computer |
---|---|
Author | Alexandre Benson Smith |
Post date | 2006-02-24T01:25:50Z |
Gaurav Sood wrote:
The database is on one computer and you are trying to conect to it from
another computer right ?
If so, how is defined your connection string ?
As you said that ZoneAlarm are asking for permission I assume you are
using TCP/IP on your lan, it should be something like this:
192.168.1.1:c:\path\database.fdb
or
remote_machine_name:c:\path\database.fdb
the path_to_database should be from the server point of view, i.e., no
mapped drives, no shared folders, etc..
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br
> Hi All,Gaurav,
>
> I have just tried to deploy an executable on a separate computer to my
> development PC (which was XP). On the second NT computer, once I try to run
> the exe file, it gives me a standard 'Unable to open database
> C:/Path/To/Database.gdb'. ISQL however, still connects to the database. (ie.
> fbserver and fbguard are running).
>
> The development was carried out in BDS 2006, and it all works fine on my
> development computer. Could there be an internal firewall that is blocking
> the access of the program to the Database port ? (I have a ZoneAlarm
> firewall that asks if the software can access the database when I run the
> exe file)
>
> What could the problem be ?
>
> Thanks
> Gaurav
>
>
The database is on one computer and you are trying to conect to it from
another computer right ?
If so, how is defined your connection string ?
As you said that ZoneAlarm are asking for permission I assume you are
using TCP/IP on your lan, it should be something like this:
192.168.1.1:c:\path\database.fdb
or
remote_machine_name:c:\path\database.fdb
the path_to_database should be from the server point of view, i.e., no
mapped drives, no shared folders, etc..
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br