Help and Support
 

powered byLive Search

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

Article ID:191271
Last Review:May 17, 2007
Revision:3.2
This article was previously published under Q191271
On This Page

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.

Back to the top

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.

Back to the top

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://msdn2.microsoft.com/en-us/data/aa937695.aspx (http://msdn2.microsoft.com/en-us/data/aa937695.aspx)

Back to the top

STATUS

This behavior is by design.

Back to the top

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.

Back to the top


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.5
Microsoft Data Access Components 2.6
Microsoft Data Access Components 2.7
Microsoft Data Access Components 2.8

Back to the top

Keywords: 
kbdatabase kbprb KB191271

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.