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] Connection not Open 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] Connection not Open" Watch "[ODBC] Connection not Open" New topic

[ODBC] Connection not Open

Rafael Afonso
Ranch Hand

Joined: Jul 16, 2002
Posts: 63

Following this tutorial I tried access a Excel sheet using ODBC-JDBC. But when I try see my sheet using DbVisualizer it is showed a message about connection not open:

So my question is how open the connection. I a using Windows 2000.


=================================<br /> Rafael U. C. Afonso<br /> <a href="" target="_blank" rel="nofollow"></a><br />=================================<br /><i>Where is debug?<br />debug is on the table</i>
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

Did you register the ODBC datasource in Windows? Did you get any error messages when doing so?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: [ODBC] Connection not Open
It's not a secret anymore!