Subject | Re: [firebird-support] could not find Database on testing computer |
---|---|
Author | Gaurav Sood |
Post date | 2006-02-24T01:41:06Z |
Alexandre,
The database and the application are on the same computer (Windows 2000). I
was using a ini file with string
Database=localhost:C:\MyApplication\Database\myDatabase.gdb
the application cannot "open" the database, however, isql can.
I know about the path problems if the database and server are on different
PCs, however, the FBserver is installed on this PC as well.
Could the problem lie with the executable ? in opening the database ? If so,
how come when I am using the exe on my development XP PC, there are no
problems opening the DB?
Thanks,
Gaurav
The database and the application are on the same computer (Windows 2000). I
was using a ini file with string
Database=localhost:C:\MyApplication\Database\myDatabase.gdb
the application cannot "open" the database, however, isql can.
I know about the path problems if the database and server are on different
PCs, however, the FBserver is installed on this PC as well.
Could the problem lie with the executable ? in opening the database ? If so,
how come when I am using the exe on my development XP PC, there are no
problems opening the DB?
Thanks,
Gaurav
On 2/24/06, Alexandre Benson Smith <iblist@...> wrote:
>
> Gaurav Sood wrote:
> > Hi All,
> >
> > 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
> >
> >
> 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
>
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
--
Analyst
B. Engineering, B. IT
A.N.U (2004)
M: +61 401 409 620
H: +61 3 9376 8580
"In life, always do right. This will gratify some people and astonish the
rest."
� Mark Twain
[Non-text portions of this message have been removed]