codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  eshwar_gp at 13:37 on Tuesday, September 14, 2004
 

I am getting error like
The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.
already in my system i have 2.7.
anybody help me. please

  Re: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  Yusairi at 05:19 on Wednesday, September 15, 2004
 

hi eshwar,

This error normally occurs when your database connection
cannot be established with the server.

The MDAC Utility for Component Checker :-
http://www.microsoft.com/downloads/details.aspx?familyid=8f0a8df6-4a21-4b43-bf53-14332ef092c9&displaylang=en

if your MDAC version still 2.6 or 2.7, maybe you should
upgrade to MDAC 2.8

Create a new project (plase do not use anything from
this current project you are in) and attempt to create a
simple database connection first.

If this does not work then you should re-install your Jet
http://www.microsoft.com/downloads/details.aspx?FamilyID=4335216C-8CDD-4168-A030-46F815D3F5CD&displaylang=en

if all of this fails, it is clear the corruption is in your operating system environment. Reinstall your OS.



<Added>

or,
install the latest sql service pack
http://support.microsoft.com/default.aspx?scid=kb;en-us;315059&Product=sql
Yusairi: site expert
http://www.codetoad.com


  Re: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  eshwar_gp at 13:20 on Thursday, September 16, 2004
 

Hi, I Installed latest MDAC (2.8), already we have latest sqlserver sp(3a).
I created new database, I created new project.
Still i am getting error.

please solve it.



  Re: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  Yusairi at 03:18 on Friday, September 17, 2004
 

hi eshwar,

if all of this fails, it is clear the corruption is in your operating system environment. Reinstall your OS.
otherwise, test your application in another
server/computer.
Yusairi: site expert
http://www.codetoad.com


  Re: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  eshwar_gp at 05:33 on Friday, September 17, 2004
 

I Think i was not explained my problem properly.

When i kept these files in to my server, it is giving error.
i have been seeing that error only for programs which are related to database.
I am able to see the o/p of non-database programs.

At the same time i am able to see all (database/non-database) outputs in my system. It is not giving any error.

My OS is XP professional. Server is windows 2000 server(5.0).
Let me know the solution please.


  Re: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  Yusairi at 02:00 on Monday, September 20, 2004
 

hi eshwar,

for your information.
***Microsoft Data Access Components (MDAC) 2.8 contains core Data Access components such as the Microsoft SQL Server OLE DB provider and ODBC driver. This redistributable installer for the MDAC 2.8 release installs the same Data Access components as Microsoft Windows Server 2003.
This release does not include Microsoft Jet, the Microsoft Jet OLE DB Provider or ODBC driver, the Desktop Database ODBC Drivers, or the Visual FoxPro ODBC Driver.

you can download latest redistributable installer by
clicking this link.
http://downloads-zdnet.com.com/Microsoft-Data-Access-Components-MDAC-/3000-2404_2-10281285.html

try check out and update your MDAC.
read on each link contents.
http://support.microsoft.com/?kbid=823718

Yusairi: site expert
http://www.codetoad.com


  Re: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  eshwar_gp at 12:40 on Monday, September 20, 2004
 

I think i am distrubing you. But situation makes me to do like that. My problem is, my server is exchange 2000, in this mailserver(where my files are there) is there . I heared that if we load MDAC 2.8 and restart that server, there are some side effects like. So, Please explain, if we load MDAC 2.8 on ms-exchange 2000 , if we restart, are there any problems/ side effects. I am afraid to do that. Please explian in detial.

  Re: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  Yusairi at 02:38 on Tuesday, September 21, 2004
 

hi eshwar,

what OS are you using and what service pack version ?
if you are using Win2K, you need to update your patch to SP4.

besides that, please read more details regarding on MDAC at links below :-
http://www.winnetmag.com/Article/ArticleID/27540/27540.html

GOOD LUCK.
Yusairi: site expert
http://www.codetoad.com


  Re: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  eshwar_gp at 04:51 on Tuesday, September 21, 2004
 

In that server we have MDAC 2.5, and my OS is windows 2000 with SP4.

<Added>

In my system it is XP professional



  Re: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  grump_1 at 15:02 on Wednesday, November 17, 2004
 

Did you ever resolve this problem?
I am getting exactly the same problem on a W2K SP4 Server (From XP client).
I have installed MDAC 2.8 on the server and reinstalled SP4. This has not made any difference.

Interestingly if I create a small VB.NET windows application to connect to and query my SQL Server it works fine.

If I try to do the same with the same code from ASP.NET it fails with the message

The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.

It is clearly lying!
Please help!



  Re: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  tgreer at 16:06 on Wednesday, November 17, 2004
 

Each time I've seen this topic discussed, it is always a database connection problem of one sort or another.

I did a lot of searching, and found this:

"Ok I finally found out what caused the problem: Fasten your seatbelts:
The EXTRA.System-object conflcited with the SetWindowsHookEx-function. Both
of them worked fine, and there wasn't anything to see at it. But they caused
sometimes an error on the Database-Connection..."



  Re: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  grump_1 at 20:04 on Thursday, November 18, 2004
 

hi,

I looked up this article but I'm not too sure how it would affect an ASP.NET application (and this may well be my limited understanding of differences between ASP.NET and VB.NET!). I'm also not sure how to use this article to cure my ailments

I think that I'm probably going to have to bite the bullet and reinstall the OS (my code used to work on this machine...) but this forum has made interesting reading

Cheers!

  Re: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  svrprakash at 06:32 on Wednesday, December 29, 2004
 

hi
I'm facing this problem

The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later


plz get me out of this.Mine is SQL7.0

thanks

  Re: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later.  jimslater at 00:27 on Wednesday, May 04, 2005
 

I just spent 3 weeks trying to fix this problem, uninstalled and reinstalled .Net, IIS, etc. Put in a support call and spent 8 hours working with good MS support people. They tried all sorts of stuff, but nothing worked, and they were running out of ideas. I finally came up with a solution today:

- Back up anything you have in \Inetpub
- Uninstall VS .Net
- Uninstall .Net Framework
- Uninstall IIS
- Delete the entire \Inetpub folder
- Reinstall IIS, .Net Framework, and VS .Net

The key was deleting \Inetpub before reinstalling IIS, so that it was recreated with default permissions and components. I had done the same steps at least 5 times except for deleting \Inetpub, with no success.

I know this sounds drastic, but it worked after everything else failed including MS tech support. The only Knowledgebase article on this error says you need to install MDAC, which was useless. Since I am running XP SP2, I have MDAC 2.8 by default.








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: How to know the Control Type in javascript
•  Re: $_GET not working
•  Downloading a file using http
•  Script to save iframe source (cookie?)
•  Re: orphan files (owner account deleted in linux but files exists)
•  Re: Need hosted_button_id value from PayPal generated code
•  Re: Save up to 80% on SSL Certificates, RapidSSL Certificate @ $ 11.00/yr.
•  Re: need to enable a text area when the dropdown menus value is more than 0
•  Re: Run a .bat file from VB


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2010