ODAC, TOraSession without oraclient

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
che_guevara
Posts: 1
Joined: Thu 15 Sep 2005 09:47
Location: Hungary

ODAC, TOraSession without oraclient

Post by che_guevara » Thu 15 Sep 2005 10:00

Hi!

I downloaded ODAC trial version.
I have Delphi 6 Enterprise and oracle client -> win xp prof hungary
connected Oracle 8i server (not on the web)-> w2k server english.

I don't want to use the oracle client. I like only one exe file the client
sides.

I have a big problem.
I did not connect the db server, if "net" was checked.
Error text: "NET: Invalid SID"

Params:

username: somebody
password: something
server: 192.168.1.135
NET: checked
ConnectPrompt: checked

The port is default 1521.

I read crlab website:
"Also with Net option ODAC allows to connect without Oracle client software installed on workstation. In such case ODAC requires only TCP/IP protocol and allows to build really thin database application. "

Is it not work!

Why?

What's wrong?

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Thu 15 Sep 2005 15:47

You need to assign Server property with a string that contains database name, Oracle service name, and port in the following format: Host:Port:SID.

Code: Select all

Session.Server := '205.227.44.44:1521:orcl';
For more information please see "Working with ODAC Net" topic in ODAC help.

Post Reply