Subject | "Director is Busy" error, DB Connection to IB_SERVER error |
---|---|
Author | Gaurav Sood |
Post date | 2006-02-02T03:18:50Z |
Hi All,
I am attempting to connect to a Firebird DB file which I have renamed to
.gdb, using a TDatabase, TSession and TQuery, however, after setting up the
connection as given in the Using TQuery help file. I get the above error, or
'Director is Busy'. What would be causing this error ?
After removing the TSession, I set the SessionName to 'Default'. I no
longer get the above error when compiling, however, I am unable to establish
a connection. I have set the Params to the following
Database=localhost:C:\casala \Casala2006\database\CASALA.gdb
SERVER NAME=IB_SERVER:/PATH/DATABASE.GDB
USER NAME=SYSDBA
OPEN MODE=READ/WRITE
SCHEMA CACHE SIZE=8
LANGDRIVER=
SQLQRYMODE=SERVER
SQLPASSTHRU MODE=SHARED NOAUTOCOMMIT
SCHEMA CACHE TIME=-1
MAX ROWS=-1
BATCH COUNT=200
ENABLE SCHEMA CACHE=TRUE
SCHEMA CACHE DIR=%TEMP%
Password=masterkey
And get this error:
Unknown Database
Unable to complete network request to host "IB_SERVER"
Failed to locate host machine
The specified name was not found in the General SQL error.
hosts file or Domain Name Services.
Alias: Casala
Thanks,
Gaurav
--
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]
I am attempting to connect to a Firebird DB file which I have renamed to
.gdb, using a TDatabase, TSession and TQuery, however, after setting up the
connection as given in the Using TQuery help file. I get the above error, or
'Director is Busy'. What would be causing this error ?
After removing the TSession, I set the SessionName to 'Default'. I no
longer get the above error when compiling, however, I am unable to establish
a connection. I have set the Params to the following
Database=localhost:C:\casala \Casala2006\database\CASALA.gdb
SERVER NAME=IB_SERVER:/PATH/DATABASE.GDB
USER NAME=SYSDBA
OPEN MODE=READ/WRITE
SCHEMA CACHE SIZE=8
LANGDRIVER=
SQLQRYMODE=SERVER
SQLPASSTHRU MODE=SHARED NOAUTOCOMMIT
SCHEMA CACHE TIME=-1
MAX ROWS=-1
BATCH COUNT=200
ENABLE SCHEMA CACHE=TRUE
SCHEMA CACHE DIR=%TEMP%
Password=masterkey
And get this error:
Unknown Database
Unable to complete network request to host "IB_SERVER"
Failed to locate host machine
The specified name was not found in the General SQL error.
hosts file or Domain Name Services.
Alias: Casala
Thanks,
Gaurav
--
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]