473,490 Members | 2,635 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Getting strange MDAC Message

I'm trying to add simple database functionality with a Windows Forms app I'm
building. FYI my development machine is running Windows XP Pro, with all the
service packs installed.

First I tried using the standard OLEDB connection string (ie.
"Provider=Microsoft.Jet.OLEDB.4.0...") but got this message when it tried to
open the connection:

"The .Net Data OLE DB Provider(System.DAta.OleDb) requires Microsft Data
Access Component(MDAC) version 2.6 or later. Version 2.51.5303.0 was found
currently installed."
I was shocked at this but went to the trouble to ensure that indeed I did
have the latest MDAC (2.8) installed.

So how come I'm getting this message?

P.S. The same message came up when I tried instead to connect via ODBC.

Robert W.


--
Robert W.
Vancouver, BC
www.mwtech.com

Nov 17 '05 #1
2 1596
The problem sounds like your version of Access is providing the OLEDB and
ODBC providers, and those providers link with the old MDAC. This is pretty
odd, because installing MDAC should give you new providers.

I suppose this could happen if you have Access in memory when you updated
the MDAC components, and since the old providers are all COM based, they
would find the memory version first. That's just a guess.

Does this still happen after you reboot?

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Robert W." <Ro*****@discussions.microsoft.com> wrote in message
news:74**********************************@microsof t.com...
I'm trying to add simple database functionality with a Windows Forms app
I'm
building. FYI my development machine is running Windows XP Pro, with all
the
service packs installed.

First I tried using the standard OLEDB connection string (ie.
"Provider=Microsoft.Jet.OLEDB.4.0...") but got this message when it tried
to
open the connection:

"The .Net Data OLE DB Provider(System.DAta.OleDb) requires Microsft Data
Access Component(MDAC) version 2.6 or later. Version 2.51.5303.0 was
found
currently installed."
I was shocked at this but went to the trouble to ensure that indeed I did
have the latest MDAC (2.8) installed.

So how come I'm getting this message?

P.S. The same message came up when I tried instead to connect via ODBC.

Robert W.


--
Robert W.
Vancouver, BC
www.mwtech.com

Nov 17 '05 #2
Nick,

Thanks for trying to help here. I doubt that I had Access running when I
installed MDAC 2.8. In any case, is there a way to forcibly reinstall MDAC?
Or alternatively, is there a way to uninstall it so I can reinstall it?

A couple of notes:
- Microsoft's Component Checker tool clearly says that I have 2.8 installed
- My other computer is running Win2000 and the code works fine on it

Robert W.


"Nick Malik [Microsoft]" wrote:
The problem sounds like your version of Access is providing the OLEDB and
ODBC providers, and those providers link with the old MDAC. This is pretty
odd, because installing MDAC should give you new providers.

I suppose this could happen if you have Access in memory when you updated
the MDAC components, and since the old providers are all COM based, they
would find the memory version first. That's just a guess.

Does this still happen after you reboot?

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Robert W." <Ro*****@discussions.microsoft.com> wrote in message
news:74**********************************@microsof t.com...
I'm trying to add simple database functionality with a Windows Forms app
I'm
building. FYI my development machine is running Windows XP Pro, with all
the
service packs installed.

First I tried using the standard OLEDB connection string (ie.
"Provider=Microsoft.Jet.OLEDB.4.0...") but got this message when it tried
to
open the connection:

"The .Net Data OLE DB Provider(System.DAta.OleDb) requires Microsft Data
Access Component(MDAC) version 2.6 or later. Version 2.51.5303.0 was
found
currently installed."
I was shocked at this but went to the trouble to ensure that indeed I did
have the latest MDAC (2.8) installed.

So how come I'm getting this message?

P.S. The same message came up when I tried instead to connect via ODBC.

Robert W.


--
Robert W.
Vancouver, BC
www.mwtech.com


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3710
by: Allcomp | last post by:
Hello, I have seen something strange on a customer's computer. It is a P4 3 GHz with 512 MB Ram running on a Win2K SP3 When he uses a part of my application, it is really slow (more than 10 sec...
2
3969
by: Zach Gastineau | last post by:
I'm having problems using the DB2 Connect ODBC Driver in my SQL Server 2000 DTS packages. It started occuring after installing MDAC 2.7 (which is necessary for the .NET framework). This error...
0
1259
by: Rob Oldfield | last post by:
Hi, I have a windows forms VB.NET app which I've been working on for a while. I'm deploying updates via a standard windows installer package created in Visual Studio. This has been going fine...
29
580
by: DraguVaso | last post by:
Hi, I'm having this error in a VB.NET-application at the moment that I attempt to read data from an SQL Server: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data...
3
1506
by: Vico | last post by:
Hi! I have a windows forms application and , what I basically do is: 1.- Instanciate a DataSet. 2.- Instanciate a XMlDataDocument attaching the DataSet to it. 3.- Load XmlDataDocument with a...
1
3367
by: Salad | last post by:
Hi: I am developing an application using FoxPro 2.x tables. My client has AccessXP. AccessXP uses Visual Foxpro ODBC to connect to tables. It does not accept the ISAM Foxpro driver used in A97....
1
2290
by: B | last post by:
I need advise. Are there any implications when installing MDAC 2.5 on top of MDAC 2.6 RTM? The applications on client pc's will only be running MS Access. Reason of the downgrade is the server...
1
1866
by: Steph | last post by:
Hi Everyone! Hope someone has some ideas...here's my problem: 1) Have an Access 2000 database front end to a SQL Server 2000 database. 2) It used to work fine on all company PCs. The PCs had...
2
473
by: bala | last post by:
hi gurus have a ms access front end application in window 2000 professional operating system. need to connect to MS SQL Server 2000. the frontend MS Access application is connected to the MS...
0
7112
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7146
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6852
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7356
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4878
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4573
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
628
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
277
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.