It's not a secret anymore!*
The moose likes JDBC and the fly likes odbc sql connection test fails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "odbc sql connection test fails" Watch "odbc sql connection test fails" New topic
Author

odbc sql connection test fails

vishvar hariraman
Greenhorn

Joined: Apr 04, 2006
Posts: 20
hi everybody,

i m new to sql server and odbc connection
sql server functions well with login and password

but from a servlet,i am connecting to database.
for that i opened ODBC from adminstrative tools.
I added SQL server in System DSN tab, then I give DSN name.
In the drop down menu i cud not find 'local server' on the question "which SQLserver u want to connect it?".

Even then i typed local and proceeds the connection test failed.
wat s the cause for this error?
pls friens clarify this doubt

Thx in advance
Vishnuvardhan.H
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: odbc sql connection test fails
 
Similar Threads
problem to connect to SQL server 7
how to get started with jdbc
Connect FoxPro DB using JDBC ODBC Bridge
Microsoft JDBC Driver Connection Problem
Syntax of getConnection() method