惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
博客园_首页
博客园 - 聂微东
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
The Cloudflare Blog
aimingoo的专栏
aimingoo的专栏
Martin Fowler
Martin Fowler
D
Docker
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
B
Blog RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
Jina AI
Jina AI
博客园 - Franky
D
DataBreaches.Net

博客园 - Alter-it

新群-客户需求 IT人员的出路在哪里? .NET 2005界面渲染疑问 雅虎邮箱outlook设置 1 2 3 工作、学习 控制输入数字的script - Alter-it - 博客园 转贴:无法复制iisapp.vbs或staxmem.dll文件,需要sp1光盘 不要懦弱 网上寻梦的日子 Just do it DNS,上海花生壳DNS解析错误,只好用别的了。 郁闷了两天的web项目打包问题,欧了 JavaScript有用的代码,摘抄自:http://bbs.tech.163.com/board/rep.jsp?b=tech10&i=1296&p=0 - Alter-it - 博客园 我变成了一个挑剔的人 一点感想 纯粹欺骗 AJAX CodeSimith使用记录 CodeSmith……我慢慢起步
让人郁闷了好久的问题,终于解决了,之前网上也看到一些解决...
Alter-it · 2006-05-04 · via 博客园 - Alter-it

PRB: ERR "ADO Could Not Find The Specified Provider"

Article ID : 191271
Last Review : November 3, 2003
Revision : 3.1

This article was previously published under Q191271

SYMPTOMS

The following error message occurs when trying to connect to SQL Server using ActiveX Data Objects (ADO):

ADODB.Connection error '800a0e7a'
ADO could not find the specified provider.

CAUSE

The MSDASQL OLE DB provider is either unavailable or is not registered. This can be caused by an incomplete upgrade or a bad install of the Microsoft Data Access Components (MDAC) components.

RESOLUTION

Here are two ways to resolve this problem:

Register the Msdasql.dll using the following command:

REGSVR32 "C:\Program Files\Common Files\System\ole db\MSDASQL.DLL"

Reinstall the Microsoft Data Access Components used. The newest version of MDAC can be downloaded from the following Web site:

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

1. Unregister "C:\Program Files\Common Files\System\ole db\Msdasql.dll" using REGSVR32 from the Command line. Here is an example:

REGSVR32 -U "C:\Program Files\Common Files\System\ole db\MSDASQL.DLL"

2. Try to connect to the PUBS database on SQL Server using ADO.

RESULTS: The error occurs.


APPLIES TO
Microsoft Data Access Components 1.5
Microsoft Data Access Components 2.0
Microsoft Data Access Components 2.1
Microsoft Data Access Components 2.8
Microsoft Data Access Components 2.6
Microsoft Data Access Components 2.7
Microsoft Data Access Components 2.8

上面是微软英文网页上面的解决方法,可是中文网页上面是没有的,唉,没办法啊,其实就是重新注册一下一个数据访问组件,相信很多人都遇到过这样的问题。希望对大伙有用吧。
它提供了两种解决方法,
一种是:

Register the Msdasql.dll using the following command:

REGSVR32 "C:\Program Files\Common Files\System\ole db\MSDASQL.DLL"

REGSVR32 "C:\Program Files\Common Files\System\ole db\MSDASQL.DLL" 重新注册一下这个数据访问组件

第二种是下载重新安装这个组件:
Reinstall the Microsoft Data Access Components used. The newest version of MDAC can be downloaded from the following Web site:

其实之前我也下载过一个2.8的版本重新安装过,可是没有起作用。呵呵。所以才郁闷了好久的。