Developed by vs2005 + VB.net + Oracle + ado.netProgram, An error occurs on a customer's machine:
. NET Framework data providers require Microsoft Data Access Components (MDAC ). Install Microsoft Data Access Components (MDAC) 2.6 or later
When mdac2.8 is used for installation, the system prompts that the installation cannot be performed on the current version.
Mdac2.7 is downloaded and installed successfully,
But the error is still displayed.
Some netizens found such solutions on the Internet:
【
When running a program made by WINXP + vs2005 + ACCESS, the system prompts that the. NET Framework oledb data provider requires Microsoft Data Access Components (MDAC) version 2.6 or later. The current installed version is 2.50.20.3.12. After mdac2.7 is installed, it will not help. It indicates that it is not a version issue and may be a bug.
Solution: all key values of HKEY_LOCAL_MACHINE/software/Microsoft/dataaccess under 2.50.20.3.12 are changed to a later version based on your installed version. My version is 2.71.9040.2, and then run the command. The problem is solved.
]
I made a reference on this machine, but the error still occurred.
I have found another netizen's solution experience:
【
First, open "C:/Windows/INF". Note: "inf" is a hidden directory.
Find the "MDAC. inf" file ". Right click --> install.
2. The system prompts "files in the i386 folder" to insert the Windows XP installation disk (or files in Windows i386 on the Internet .)
After installation, it will be OK!
]
According to the above, the problem was solved.