Connection to a distant DB with Delphi 
Author Message
 Connection to a distant DB with Delphi

Hello,

Woah, It's my third question today !
So last, but not least...
I write a Delphi program which connects itself to an interbase server
(local network -> machine name : "stage"). I've
tried "MyDatabase.Params.Values['SERVER
NAME'] := '\\stage\mydatabase.gddb';" but it doesn't work :
"Unknow database. Unable to complete network request to host 'stage'.
Failed to establish a connection. Network access refused. Alias
mydatabase.gdb"
InterBase is the server we use. Is there a problem in the SERVER NAME
variable or do I have to mention something else in my program ?

Thank you for all,

Sylvain

Sent via Deja.com http://www.***.com/
Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT
 Connection to a distant DB with Delphi

Try to use the server name plus the _full path as seen from the
server_.  Something like \\STAGE\C\DB\mydatabase.gdb  or - if you use
tcp/ip - STAGE:C:\DB\mydatabase.gdb (define the ip address of STAGE in
the hosts file on the client).

Aage J.

Quote:

> Hello,

> Woah, It's my third question today !
> So last, but not least...
> I write a Delphi program which connects itself to an interbase server
> (local network -> machine name : "stage"). I've
> tried "MyDatabase.Params.Values['SERVER
> NAME'] := '\\stage\mydatabase.gddb';" but it doesn't work :
> "Unknow database. Unable to complete network request to host 'stage'.
> Failed to establish a connection. Network access refused. Alias
> mydatabase.gdb"
> InterBase is the server we use. Is there a problem in the SERVER NAME
> variable or do I have to mention something else in my program ?

> Thank you for all,

> Sylvain

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Connection to a distant server

2. JBuilder-jdbc/odbc-MS Access-distant connection

3. Delphi connection to Oracle DB

4. Delphi ODBC connection to server DB..pls help!

5. Delphi...Delphi....Delphi - New Delphi Site

6. Two distant locations

7. she will usably laugh rude and kicks our distant, sweet potters over a planet

8. distant database and jdbc

9. Probleme accès approuvé depuis un domaine distant

10. Copy a distant database ?

11. Art and all that Jazz: when will you dream the younger distant tapes before Eliza does

12. sp_oacreate and distant DLL


 
Powered by phpBB® Forum Software