未找到数据源名称且未指定默认驱动程序 [英] Data source name not found and no default driver specified

查看:30
本文介绍了未找到数据源名称且未指定默认驱动程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在数据库中插入记录时出现此错误.Microsoft OLE DB ODBC 驱动程序提供程序错误80004005"

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] 未找到数据源名称且未指定默认驱动程序

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

我的连接是:

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

请尽快帮助我.提前致谢.

please help me asap. thanks in advance.

推荐答案

感谢您的回答.

我自己修复了错误.在我的代码中分配了错误的 dsn 名称.我改变了它,现在它工作正常

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

这篇关于未找到数据源名称且未指定默认驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆