File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes ODBC Test Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "ODBC Test " Watch "ODBC Test " New topic


satishind Reddy
Ranch Hand

Joined: Oct 17, 2000
Posts: 33
Hi Floks,
I have created one DSN using Oracle Driver.
DSN Name = jdbctest
DSN Description = ""
Service Name = ""
User id = scott
After creation of DSN i tried to test Oracle ODBC Test i got below error can any one have any idea why i got below error.
Native Error Code :444
Driver Message : The Driver returned invalid [or failed to
Thanks in advance for help
Satish Kasala

Joined: Dec 19, 2000
Posts: 16
Hi s reddy,
You are doing a pretty good job of creating the dsn. the only thing you are missing is the service name. Service Name is used by the oracle driver to connect to the data base.
You need to create a service using Oracle SQL Net tools. When a service is created, oracle basically writes the connection configuration into tnsnames.ora file. which should look something like this.
And after you are done with the service created, specify the service name in your dsn configuration.
it should work.
I agree. Here's the link:
subject: ODBC Test
It's not a secret anymore!