Devart Forum Index

The time now is Thu 09 Sep 2010 13:02

problem with oracle driver (Connection)

 
Post new topic   Reply to topic    Devart Forum Index -> dbExpress driver for Oracle
View previous topic :: View next topic  
Author Message
Carlos Glez



Joined: 07 Oct 2008
Posts: 1
Location: Mexico

PostPosted: Tue 07 Oct 2008 18:49    Post subject: problem with oracle driver (Connection) Reply with quote

I download the trial version of oracle driver (Dbexpress) but I can't make the connection with my database, y write in the connection settings the user, password an database (192.1.0.106\database\WRXJDATA.DBF) but send me an error "TNS could not resolve the conect identifier specified "
could you tell me what is te problem?

Thanks, your friend Carlos...
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Plash
Devart Team


Joined: 10 May 2006
Posts: 2844

PostPosted: Thu 09 Oct 2008 07:58    Post subject: Reply with quote

You should assign the name of TNS alias (from tnsnames.ora file) to the Database parameter.

If you are using Oracle Direct driver, you should assign a value to the Database parameter in the format: Host:Port:SID
Back to top
View user's profile Send private message Visit poster's website
mvodevart



Joined: 09 Jul 2010
Posts: 3

PostPosted: Fri 09 Jul 2010 14:22    Post subject: Connection problem Reply with quote

Hi,

I am currently trying the dbExpress driver.

First of all, I've been trying to open the connection using the string builder, but port does not look to be a member of [OracleConnectionStringBuilder] as it is described in the doc.

Then after, I tried connecting using the following connection string:
Code:
"Data Source=VIRTUAL_WIN2K3; Port=1521; User Id=system; Password=password; SID=ORA1; Connection Timeout=5; Direct=True"


but I always get the error: Cannot obtain Oracle client information from registry. Make sure that Oracle Client Software is installed, or use Direct mode of connecting to server.

As I don't want the Oracle client to be installed on the machine, I would like the Direct mode, which is specified I think; however, does not look to work...

Where am I wrong?

Thanks in advance[/code]
Back to top
View user's profile Send private message
mvodevart



Joined: 09 Jul 2010
Posts: 3

PostPosted: Mon 12 Jul 2010 12:55    Post subject: Reply with quote

Maybe my question is a bit silly, but I did not succeed so far to connect the Oracle server.

So it would be nice to tell me how to solve the issue so I could continue my tests and check if I could suggest my Company to buy the driver...

Thanks in advance for your support.
Back to top
View user's profile Send private message
mvodevart



Joined: 09 Jul 2010
Posts: 3

PostPosted: Tue 13 Jul 2010 08:25    Post subject: Reply with quote

For those experiencing the same problem in the future: dbExpress for Oracle does not look supporting Direct Access.

I have downloaded the trial version, which is the professional one, and suddenly there were no problem any more...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Devart Forum Index -> dbExpress driver for Oracle All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum