Hi Christopher
Hv u declared the db in the ODBC Data Source? that you find in the
setDriver("sun.jdbc.odbc.JdbcOdbcDriver");
setURL("jdbc:odbc:Name declared int the ODBC Data Source");
Regards Rinaldo
-----Messaggio originale-----
Da: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]Per conto di Sol
Christopher Gipulan
Inviato: mercoledì 4 aprile 2001 10.19
A: [EMAIL PROTECTED]
Oggetto: Newbie Questions
Priorità: Alta


Hi to all.

I'm trying to connect to an existing database (SQL 7) and I'm having the
exception -

[Microsoft][ODBC Driver Manager] Data source name not found and no default
driver specified

I used url = "jdbc:odbc:server_name"; - is this correct? I also tried adding
a database name to it(url) but the same exception prompted me. How would I
know what database is being used if it is not included in my data source
name?


Any suggestion/comment will be greatly appreciated.

Thank you in advance.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to