Programming Help !
Hello all got a problem that has me going completely nuts ! Any help would be greatly appreciated...
I'm releasing my frontend on to my target test machine, The front end is written in VB.Net
On the test machine it's crashing when it tries to open the database. (here's the error) connection.class.open "class not registered" I'm using DAO 2.7 to connect, I've tried installing MDAC_27.exe which tells me that my OS has a newer version already installed (which means its 2.8) I've checked msdn and 2.8 is backwards compatible to 2.7.
To run the app on my target machine I've basically copy and pasted the bin file, there's no dependencies that shouldn't already be on the machine...
Give the MDAC Component Checker a go to see if everything on the machine is the same MDAC version:
If they are different, this tool will let you replace individual files etc
Using a Setup for .NET apps is always better then only copying bin files.
If you're sure that it's the data access, you may run the MDAC ComponentChecker vom MS:
It helped me once when my install was messed up for any reason.
Gonna give this stuff a whirl. Boy is this frustrating..
When I use the .Net setup app I get these messgages
Error Msado27.tlb should be excluded from its source file because it's under windows file protection
Yap, goto the Msado27.tlb in the Setup project, right mouse click and select "Exclude"
I checked my mdac and its 2.8 sp1... there was another "unknown" but it was dao objects... not ADO
0x80040154 Class not registered
I've gotten this before as well. Copy the file "ADODB.dll" onto your target machine. Specifically in the same path as your .NET executable. This should fix the problem.