Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

CONNECTION.JSP

843840Jan 4 2008 — edited Jan 4 2008
***Solution being executed***
...Driver loaded
Problem accessing the database java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x360 Thread 0xa80 DBC 0x39422c Jet'.

Process completed.


THAT ERROR COMES WHEN I COMPILE AND RUN -

THE CODING OF CONNECTION.JSP IS BELOW :

-----------------------

<%
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection("jdbc:odbc:DRIVER=Microsoft Access Driver (*.mdb);DBQ=e:hardwork/mywebserver/webapps/db2010/orders.mdb;PWD=mypass", "", "");
%>


-----------------------------


I M TRYING TO CONNECT IT TO A MS ACCESS DATABASE AND RUN IT ON TOMCAT - IT DOESNT WORK - PLEASE HELP - my mail add is - faraz883@yahoo.com

x
x
x
x
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 1 2008
Added on Jan 4 2008
4 comments
151 views