Microsoft Knowledge Base Email Alertz

(315467) - 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.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











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

SYMPTOMS

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.

CAUSE

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.

RESOLUTION

To resolve this issue, install MDAC 2.6 or later on your computer. To download the MDAC components, visit the following Microsoft Web site:
http://msdn.microsoft.com/dataaccess (http://msdn.microsoft.com/dataaccess)

STATUS

This behavior is by design.

MORE INFORMATION

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:
How to Get the Microsoft .NET Framework
http://msdn2.microsoft.com/en-us/netframework/default.aspx (http://msdn2.microsoft.com/en-us/netframework/default.aspx)

REFERENCES

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
Keywords: 
kberrmsg kbprb KB315467
Retired KB ArticleRetired KB Content Disclaimer
This 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