error 429, "ActiveX Can't Create Object"

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,

I know this error is well known for VB6 application. For my project I am using VB6 only,not MS Access nothing,etc.

There is one application called MyAppDriver.exe(vb6 only) which use references MyApp.dll(vb6). I built it using Binary Compatibility option when I had generated. I had XP(32 bit) OS and now Win7(64 bit),both time it works fine without any error. But on production when I placed MyApp.dll and MyAppDriver.exe was using it and there was giving error 429, "ActiveX Cant Create Object". Production server is Windows 2008 R2(64bit). One more important thing is that there is old version of MyApp.dll(built in 2005) which is working fine when MyAppDriver.exe refer it.

I have a code in MyAppDriver.exe(VB source code) as below:

Sub Main()

Some declaration variables here

Dim objMyApp As MyApp.clsCalcs
Dim objDataLoad As MyAppDriver.DataLoad


Set objMyApp = New MyApp.clsCalcs
Set objDataLoad = New MyAppDriver.DataLoad

....

.....

End sub

My quetion is if old version of MyApp.dll works fine then why not new version of MyApp.dll is failing here and giving error:429.

Any idea or help please. It is production issue and i couldnt find any solution. If you need more information please ask me Ill provide more details about this matter.

Thanks,

Chirag Patel

ckp

View the full article
 
Back
Top