|
-
September 23rd, 1999, 01:45 PM
#1
Swevlet
I am trying to connect to database using JdbcOdbc driver in the init mathod of a Servlet. I have tested the connection writting a test java code. Connection is ok. But while executing Servlet it gives error:
SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
===================================
con = DriverManager.getConnection"jdbc dbc:MPRDB","tstmgr", "pass");
==================================
Help me
-Kaushik
-
October 7th, 1999, 02:59 PM
#2
Re: Swevlet
U are using JDBC-Odbc to connect, right ? Did you create the profile for the database profile 'MPRDB' on the webserver
(where you put yor servlets) ? That is what the error message says. Asssuming that u r using NT, create and try again.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|