If the target system runs Win95 you need to run DCOM95 on the target
machine.
If the target system runs Win98 you need to run DCOM98 on the target
machine.
As mentioned, these need to be run before installing your app.
I've been struggling with this same issue for about the last two weeks.
If your app references "Microsoft.Jet.OLEDB.3.51..." in your provider
string you need to distribute MDAC version 2.0. Likewise, if your app
references "Microsoft.Jet.OLEDB.4.0..." in your provider string you need
to distribute MDAC version 2.1 or version 2.5. You can find MDAC v2.0 on
your VB6 installation CD and version 2.5 is what you distribute by default
when you install service pack 5 for your VB. I've gotten my application
to run properly on Windows 95 after having the same errors you encountered.
You usually get this error when MDAC isn't installed at all or is not installed properly. MDAC is short for Microsoft Data Access Components which is a set of drivers that the PC companion needs for database communication. Without it the Windows version of the PC companion software will not work. MDAC is included in Win2000. On Win9x, Win NT and Win ME, it must be installed.
Download MDAC 2.x and install. You also may need to uninstall/reinstall the PC companion software after installing MDAC.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.