This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 163836 - Ms Access connection through wizard
Summary: Ms Access connection through wizard
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Other Windows Vista
: P1 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-28 07:07 UTC by sandhya_r
Modified: 2009-10-23 13:03 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Sample MS Access DB (1.79 MB, application/octet-stream)
2009-10-23 12:53 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sandhya_r 2009-04-28 07:07:26 UTC
hi,
i am useing the netbeans for the first time n i am trying  to connect to a MS Access DB through the wizard but i am 
not able to.

I entered:
Name:JDBC-ODBC Bridge.
Driver: sun.jdbc.odbc.JdbcOdbcDriver
Database URL: jdbc:odbc:Driver={Microsoft Access Driver (.*mdb)};dbq=C:\Users\Vamsi\Documents\PIN.mdb;


the issue its giving is: Unable to add connection. Cannot establish a connection to :jdbc:odbc:Driver={Microsoft 
Access Driver (.*mdb)};dbq=C:\Users\Vamsi\Documents\PIN.mdb; Using sun.jdbc.odbc.JdbcOdbcDriver[Microsoft][ODBC Driver 
Manager]datasource name not found or no default driver specified)

I have also created a System DSN of the name PIN.mdb in the Contol panel > Administrative tools > Data sources(ODBC).

please help me if i am missing something or hve done something wrong.
Comment 1 Jiri Rechtacek 2009-10-16 14:05:54 UTC
Reassigned to new owner.
Comment 2 Jiri Rechtacek 2009-10-23 06:44:51 UTC
Jirko, have you MS Access in your configuration? Could you try it and provide any help how to solve it? Thanks
Comment 3 Jiri Skrivanek 2009-10-23 12:53:51 UTC
Created attachment 89976 [details]
Sample MS Access DB
Comment 4 Jiri Skrivanek 2009-10-23 13:03:33 UTC
I tried it with NetBeans 6.8 and it works with Nwind.mdb sample DB with the following URL:

jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=D:\Development\DB\MSAccess\Nwind.mdb

While connected I found an issue with browsing tables which I fixed (core-main #146bcbfd1e4e). Please, wait for new
daily build which will be announced in this issue and try again with Nwind.mdb. It should work.