DEVFYI - Developer Resource - FYI

Why does the ODBC driver manager return 'Data source name not found and no default driver specified Vendor: 0'

JDBC Interview Questions and Answers


(Continued from previous question...)

Why does the ODBC driver manager return 'Data source name not found and no default driver specified Vendor: 0'

This type of error occurs during an attempt to connect to a database with the bridge. First, note that the error is coming from the ODBC driver manager. This indicates that the bridge-which is a normal ODBC client-has successfully called ODBC, so the problem isn't due to native libraries not being present. In this case, it appears that the error is due to the fact that an ODBC DSN (data source name) needs to be configured on the client machine. Developers often forget to do this, thinking that the bridge will magically find the DSN they configured on their remote server machine

(Continued on next question...)

Other Interview Questions