Monty vizenor
|
| Posted: 07/10/2002, 9:53 AM |
|
This is the error I am receiving when I try and connect to a sample application using my Apache/Tomcat server. Here is the connection from the Common.jsp file:
static final String DBDriver ="sun.jdbc.odbc.JdbcOdbcDriver";
static final String strConn ="jdbc:odbc:DME";
static final String DBusername="Admin";
static final String DBpassword="Admin";
I checked the Odbc and they are correct.
Any help would be greatly appreciated.
|
|
|
 |
Nicole
|
| Posted: 07/10/2002, 10:46 PM |
|
Monty,
What error have you got? Connection settings seem to be correct.
|
|
|
 |
Monty Vizenor
|
| Posted: 07/11/2002, 4:09 AM |
|
I finally re-booted and everything seems to work ok, but I don't have Access2000 and cannot update table fields and or add others to it. Do you know if you can get a Access97 copy?
|
|
|
 |
Monty
|
| Posted: 07/11/2002, 5:19 AM |
|
I received this error again when I tried to connect to the database.
java.sql.SQLException: [Microsoft][ODBC Microsoft Access 97 Driver] Can't open database '(unknown)'. It may not be a database that your application recognizes, or the file may be corrupt.
Any ideas?
|
|
|
 |
Nicole
|
| Posted: 07/12/2002, 6:36 AM |
|
Monty,
Please refer to the following article: http://support.codecharge.com/files/CodeChargeFAQ.html#_Toc517263838
Addition: XP's folder properties are quite a bit different. Here is a MS KB article with screen shots on how to access the permissions in XP. http://www.microsoft.com/windowsxp/pro/using/itpro/managing/filesharing.asp
|
|
|
 |