-
I recently installed an application on a PC, using a package created by the P&D wizard. It installed MDAC2.1 with no apparent problem, and copied the app files OK, but when it goes to register the DLL's it comes up with the following message for OLEDB32.DLL
Failed to load resource DLL C:\WINDOWS\SYSTEM\OLEDB32R.DLL
And when I try to run the app, I get a 429 error with the message:
ActiveX component failed to create object
The line of code being executed at this point is setting the connection string for the DE object being used to access the database (Oracle 8).
I tried recompiling the .exe, recreating the package and reinstalling, but the error won't go away. The only thing I can think of is that it may be a dependancy issue, as the P&D wizard says it can't find any dependancy info for OLEDB32.DLL, but I don't know how to confirm this, or to fix it if that is the problem.
If anyone can help me with this, I would appreciate it!
Thanks in advance.
Damien
-
It does sound like a dependency issue. Try using REGSVR32 and if it won't register, you are missing dependencies. if it does register, it should solve your problem. Make sure you have a copy of REGSVR32 on your system, then type:
>REGSVR32.EXE OLEDB32R.DLL
This should work on 95,98 & NT.
Otherwise you may want to get the latest version of mdac from microsoft.