Data source name not found and no default driver specified

做~自己de王妃 提交于 2019-12-29 09:28:06

问题


I am getting this error when I try to insert record in db. Microsoft OLE DB Provider for ODBC Drivers error '80004005'

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

my connection is :

Application("Db_ConnectionString")= "DSN=dsnname;UID=xxx;PWD=xxx;"

please help me asap. thanks in advance.


回答1:


thanks for your answers.

I myself fixed the error. Assigned wrong dsn name in my code. I changed it and now its working fine




回答2:


I got this error on Windows Server 2012 when migrating a legacy ASP app - I had to enabled 32-bit applications in the AppPool's advanced setting




回答3:


Have you setup "dsnname" in ODBC? Should be in Adminitrative Tools > Data Sources (ODBC) under the System DSN tab.




回答4:


this problem can be solve using install jdk 7 to download go to below link

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Java SE Development Kit 7u79

Product / File Description : Windows x86
Size: 138.31 MB
Download: jdk-7u79-windows-i586.exe



来源:https://stackoverflow.com/questions/15922518/data-source-name-not-found-and-no-default-driver-specified

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!