Microsoft KB Archive/315467

= ADO.NET applications require MDAC 2.6 or later and the .NET Framework =

Article ID: 315467

Article Last Modified on 10/17/2006

-

APPLIES TO


 * Microsoft .NET Framework 1.1 Service Pack 1
 * Microsoft ADO.NET 2.0

-



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



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

