Error: data source name not found or no default data source name specified?
-
i got this error when i am trying to connect the data base to the web page using the tomcat server.i tried a lot but i did not got the reason for this reason.i had created a dsn already. But it shows this error
-
Answer:
I was same getting the same problem because I made user dsn instead of System dsn. try to make system dsn it will work make sure u r using the correct systax to connect the db. 1- Class.forName("sun.jdbc.odbc.JdbcOdbcDri… 2-Connection con = DriverManager.getConnection("jdbc:odbc:d… But the better solution is to use type 4 driver and connect to datasource directly using vendor supplied driver.
venkatesh p at Yahoo! Answers Visit the source
Related Q & A:
- How to add a new table to a data source?Best solution by technet.microsoft.com
- How do I fix the "Specified path is too long" error?Best solution by itcsupport.wordpress.com
- What are some good "beginner level" data modeling/analytics approaches to kick start a data science/analytics team?Best solution by Quora
- Why am I receiving a malformed text data error and how do I fix it?Best solution by Yahoo! Answers
- How to calculate error for squared data?
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.