Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Errors while using namespace System.Data.OleDb


Message #1 by "Subraya Hegde" <subrayah@i...> on Fri, 12 Jul 2002 10:24:17 +0530
Hi ASP.NET Gurus,

   I have a serious problem accessing the databases through OLE DB Drivers.
I installed
Microsoft.Net framework (Microsoft .NET Framework Version:1.0.3705.0;
ASP.NET Version:1.0.3705.0)
by running dotnetredist.exe which was available from the Microsoft Site, in
my Windows-2000 (pro)
machine.  Then I installed the MDAC 2.7.  Before installing all these
softwares, I had Visual Studio 6.0
in my machine.

Now, if I try to use the namespace System.Data.OleDb in an ASPX page, for
accessing data from a SQL server,
I get the following error.

System.InvalidOperationException: The .Net Data OLE DB
Provider(System.Data.OleDb) requires Microsoft
Data Access Components(MDAC) version 2.6 or later. Version 2.50.4403.3 was
found currently installed.

I checked the Registry for the Current version of the MDAC and it is 2.7
only.
Then what must be the root cause for this problem?
Any help????

Thanx in advance,
-HegdeS


  Return to Index