Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 315467 - Last Review: October 17, 2006 - Revision: 4.1
ADO.NET applications require MDAC 2.6 or later and the .NET Framework
This article was previously published under Q315467
When you try to open a connection in a deployed .NET
application, you may encounter an exception similar to the following:
The .NET Data SQL Provider (System.Data.SqlClient)
requires Microsoft Data Access Components (MDAC) version 2.6 or later.
This behavior occurs if MDAC version 2.6 or later is not
installed on your computer. The Microsoft .NET Framework SDK and the .NET
Framework redistributable package do not include the MDAC installation. All
.NET applications that use data-access functionality require MDAC 2.6 or later
(MDAC 2.7 is recommended).
Note Microsoft Visual Studio .NET installation includes MDAC 2.7 and Microsoft Visual Studio 2005 installation includes MDAC 2.8.
To resolve this issue, install MDAC 2.6 or later on your
computer. To download the MDAC components, visit the following Microsoft Web
site:
This
behavior is by design.
Applications and controls written for the Microsoft .NET
Framework require the .NET Framework to be installed on the computer on which
the application or control runs. For more information about the .NET Framework,
visit the following Microsoft Web site:
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
320788Â
(http://kbalertz.com/Feedback.aspx?kbNumber=320788/
)
"How to install MDAC with a Windows Installer Merge Module" white paper is available
APPLIES TO
- Microsoft ADO.NET (included with the .NET Framework)
- Microsoft ADO.NET 2.0
Retired KB Content DisclaimerThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate