PRB: ERR "ADO Could Not Find The Specified Provider"
ID: Q191271
|
The information in this article applies to:
-
Microsoft Data Access Components versions 1.5, 2.1 SP2
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:
http://www.microsoft.com/data/download.htm
STATUS
This behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
- 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"
- Try to connect to the PUBS database on SQL Server using ADO.
RESULTS: The error occurs.
Additional query words:
kbDSIASPGrp kbADO
Keywords : kbDatabase kbGrpMDAC kbDSupport kbADO210sp2 kbGrpODBC
Version : WINDOWS:1.5,2.1 SP2
Platform : WINDOWS
Issue type : kbprb