sonashish
asked on
"'429': ActiveX component cannot create object"
I have created an application using CR 8.5/VB6 and Sql Server. I am able to install this application using P&D Wizard/Innosetup and executed on W2k and XP-SP1 Machines successfully. No error at all, every thing is working perfectly.
Now whenever I install it on XP-SP2, it hang at the time of component registration at the end. However it create the application folder and copy all the related and it seems registered all of the componets. Then I execute this application and try forms and report. FOrms are working without any problem, but in case of report it Gives me following error
"'429': ActiveX component cannot create object"
Then I try to figure out and assume above problem is occuring becuase of
Dim Obj As New Application
Dim Rpt As Report
which I have used to open as following syntax
Set Rpt = Obj.OpenReport(App.Path & "\Account.RPT")
I am wondering why this problem and hanging problem occuring on Win-XP-SP2 machine. Is it because of Secuity Issues or any other issue?
FYI, I have logged an as admin provilige user, so there should be bot any permission problem.
Please let me know whats wrong I am doing, I am stuck here.
Here is my setup.lst
*------------------
Bootstrap Files]
File1=@VB6STKIT.DLL,$(WinS ysPathSysF ile),,,7/1 5/00 12:00:00 AM,101888,6.0.84.50
File2=@COMCAT.DLL,$(WinSys PathSysFil e),$(DLLSe lfRegister ),,5/31/98 12:00:00 AM,22288,4.71.1460.1
File3=@asycfilt.dll,$(WinS ysPathSysF ile),,,8/2 3/01 5:30:00 PM,77824,3.50.5014.0
File4=@msvbvm60.dll,$(WinS ysPathSysF ile),$(DLL SelfRegist er),,8/23/ 01 5:30:00 PM,1388544,6.0.92.37
[IconGroups]
Group0= Accounting System
PrivateGroup0=True
Parent0=$(Programs)
[Accounting System]
Icon1="MAS.exe"
Title1=Accounting System
StartIn1=$(AppPath)
[Setup]
Title=Accounting System
DefaultDir=$(ProgramFiles) \Accountin g System
AppExe=MAS.exe
AppToUninstall=MAS.exe
[Setup1 Files]
File1=@TransViewDr.rpt,$(A ppPath),,, 5/25/04 7:49:26 PM,16384,0.0.0.0
File2=@TransViewCr.rpt,$(A ppPath),,, 5/25/04 7:53:52 PM,16896,0.0.0.0
File3=@TransViewCr1.rpt,$( AppPath),, ,4/26/04 8:04:52 PM,15872,0.0.0.0
File4=@SPg_Rule6_Detail.rp t,$(AppPat h),,,5/26/ 04 3:47:24 PM,20480,0.0.0.0
File5=@SPg_Rule6.rpt,$(App Path),,,5/ 25/04 8:02:36 PM,19968,0.0.0.0
File6=@Report1.rpt,$(AppPa th),,,5/7/ 04 5:02:58 PM,15872,0.0.0.0
File7=@PSg_Rule6_org.rpt,$ (AppPath), ,,4/24/04 6:15:42 PM,112640,0.0.0.0
File8=@PSg_Rule6_Loss.rpt, $(AppPath) ,,,4/24/04 5:25:34 PM,85728,0.0.0.0
File9=@PSg_Rule6_Detail.rp t,$(AppPat h),,,5/25/ 04 8:06:10 PM,19456,0.0.0.0
File10=@PSg_Rule6.rpt,$(Ap pPath),,,5 /25/04 8:05:48 PM,19456,0.0.0.0
File11=@PolicyPremDrPer.rp t,$(AppPat h),,,4/29/ 04 12:58:14 PM,15872,0.0.0.0
File12=@PolicyPremDrPer2.r pt,$(AppPa th),,,4/28 /04 3:25:32 PM,17408,0.0.0.0
File13=@PolicyPremDrPer1.r pt,$(AppPa th),,,4/28 /04 6:56:32 PM,17920,0.0.0.0
File14=@PolicyPremDr.rpt,$ (AppPath), ,,4/28/04 1:36:02 PM,15872,0.0.0.0
File15=@PolicyPremDr1.rpt, $(AppPath) ,,,4/26/04 8:03:16 PM,12288,0.0.0.0
File16=@PolicyDrWc.rpt,$(A ppPath),,, 4/26/04 8:03:06 PM,9216,0.0.0.0
File17=@PolicyDrR2.rpt,$(A ppPath),,, 4/26/04 8:02:40 PM,13824,0.0.0.0
File18=@PolicyDr.rpt,$(App Path),,,4/ 26/04 8:02:26 PM,14336,0.0.0.0
File19=@PolicyCrWc.rpt,$(A ppPath),,, 4/26/04 8:02:14 PM,9216,0.0.0.0
File20=@memsurLedger.rpt,$ (AppPath), ,,5/25/04 8:13:22 PM,8192,0.0.0.0
File21=@memsuraccount.rpt, $(AppPath) ,,,5/19/04 5:14:30 PM,9216,0.0.0.0
File22=@memrecap.rpt,$(App Path),,,5/ 19/04 4:53:22 PM,9728,0.0.0.0
File23=@MemPolicyAccount.r pt,$(AppPa th),,,5/25 /04 6:29:22 PM,10240,0.0.0.0
File24=@memPLedger.rpt,$(A ppPath),,, 5/26/04 6:35:36 PM,10240,0.0.0.0
File25=@MemberDrWc.rpt,$(A ppPath),,, 4/26/04 8:01:32 PM,8192,0.0.0.0
File26=@MemberCrWc.rpt,$(A ppPath),,, 4/26/04 8:01:22 PM,8192,0.0.0.0
File27=@MemberCrR2.rpt,$(A ppPath),,, 4/26/04 8:01:14 PM,8192,0.0.0.0
File28=@MemberCr.rpt,$(App Path),,,4/ 28/04 7:32:34 PM,15360,0.0.0.0
File29=@MemberCr1.rpt,$(Ap pPath),,,1 0/28/03 4:55:34 PM,33280,0.0.0.0
File30=@GAccDrWcR2.rpt,$(A ppPath),,, 4/26/04 8:00:46 PM,8192,0.0.0.0
File31=@GAccDrWc.rpt,$(App Path),,,4/ 26/04 8:00:34 PM,15872,0.0.0.0
File32=@AdminPer.rpt,$(App Path),,,4/ 28/04 9:42:46 PM,17920,0.0.0.0
File33=@GAccDr.rpt,$(AppPa th),,,4/26 /04 8:00:14 PM,7168,0.0.0.0
File34=@DICLst_new.rpt,$(A ppPath),,, 5/15/04 4:51:20 PM,6144,0.0.0.0
File35=@DICLst.rpt,$(AppPa th),,,5/15 /04 4:45:18 PM,7168,0.0.0.0
File36=@c_memsuraccount.rp t,$(AppPat h),,,5/25/ 04 6:29:06 PM,9216,0.0.0.0
File37=@c_memrecap.rpt,$(A ppPath),,, 5/25/04 6:28:54 PM,9216,0.0.0.0
File38=@c_MemPolicyAccount .rpt,$(App Path),,,5/ 25/04 6:28:40 PM,10752,0.0.0.0
File39=@querybuilder.dll,$ (WinSysPat h),,$(Shar ed),7/4/02 11:50:06 PM,163911,9.2.0.498
File40=@crdb_ado.dll,$(Win SysPath),, $(Shared), 7/16/02 11:44:38 PM,368704,9.2.0.512
File41=@crdb_fielddef.dll, $(WinSysPa th),,$(Sha red),7/4/0 2 11:57:38 PM,127050,9.2.0.467
File42=@crqe.dll,$(WinSysP ath),$(DLL SelfRegist er),$(Shar ed),7/5/02 11:44:48 PM,1417289,9.2.0.580
File43=@sscsdk80.dll,$(Win SysPath),, $(Shared), 6/26/02 2:00:12 PM,1273856,2.3.6.8
File44=@u2fcr.dll,$(WinSys Path),,$(S hared),7/1 2/02 9:31:26 AM,77824,9.2.0.538
File45=@u2ftext.dll,$(WinS ysPath),,$ (Shared),7 /12/02 9:30:00 AM,155648,9.2.0.548
File46=@u2ddisk.dll,$(WinS ysPath),,$ (Shared),7 /12/02 9:32:22 AM,49152,9.2.0.541
File47=@u2dapp.dll,$(WinSy sPath),,$( Shared),7/ 12/02 9:32:34 AM,53248,9.2.0.542
File48=@ufmanager.dll,$(Wi nSysPath), ,$(Shared) ,7/16/02 2:37:38 PM,225280,9.0.0.1
File49=@u2l2000.dll,$(WinS ysPath),,$ (Shared),7 /5/02 3:12:42 AM,24576,9.2.0.8
File50=@u2lcom.dll,$(WinSy sPath),,$( Shared),7/ 5/02 3:12:26 AM,106496,9.2.0.5
File51=@u2ldts.dll,$(WinSy sPath),,$( Shared),7/ 5/02 3:13:40 AM,24576,9.2.0.5
File52=@u2lexch.dll,$(WinS ysPath),,$ (Shared),7 /5/02 3:14:00 AM,28672,9.2.0.16
File53=@u2lfinra.dll,$(Win SysPath),, $(Shared), 7/5/02 3:14:18 AM,69632,9.2.0.4
File54=@u252000.dll,$(WinS ysPath),,$ (Shared),7 /5/02 3:13:12 AM,24576,9.2.0.7
File55=@u25dts.dll,$(WinSy sPath),,$( Shared),7/ 5/02 3:13:28 AM,24576,9.2.0.8
File56=@u25samp1.dll,$(Win SysPath),, $(Shared), 7/5/02 3:14:36 AM,24576,9.2.0.15
File57=@MDAC_TYP.EXE,$(App Path),,,6/ 2/04 1:25:00 PM,5556616,28.0.1022.3
File58=@mciconmenu.ocx,$(W inSysPath) ,$(DLLSelf Register), $(Shared), 6/24/03 6:09:48 PM,167936,1.0.0.0
File59=@msstdfmt.dll,$(Win SysPath),$ (DLLSelfRe gister),$( Shared),4/ 3/00 8:05:58 PM,118784,6.0.88.4
File60=@mshflxgd.ocx,$(Win SysPath),$ (DLLSelfRe gister),$( Shared),5/ 22/00 4:58:12 PM,438976,6.0.88.4
File61=@tabctl32.ocx,$(Win SysPath),$ (DLLSelfRe gister),$( Shared),5/ 30/03 9:58:04 AM,209608,6.0.90.43
File62=@msdatlst.ocx,$(Win SysPath),$ (DLLSelfRe gister),$( Shared),12 /21/99 2:00:48 AM,232456,6.0.84.18
File63=@mscomct2.ocx,$(Win SysPath),$ (DLLSelfRe gister),$( Shared),5/ 22/00 4:58:00 PM,647872,6.0.88.4
File64=@sysinfo.ocx,$(WinS ysPath),$( DLLSelfReg ister),$(S hared),6/2 4/98 12:00:00 AM,67376,6.0.81.69
File65=@MSMASK32.OCX,$(Win SysPath),$ (DLLSelfRe gister),$( Shared),2/ 26/02 5:15:12 PM,166600,6.0.84.18
File66=@msadodc.ocx,$(WinS ysPath),$( DLLSelfReg ister),$(S hared),5/2 2/00 4:58:00 PM,118976,6.0.88.4
File67=@msdatgrd.ocx,$(Win SysPath),$ (DLLSelfRe gister),$( Shared),6/ 12/00 1:02:06 PM,262328,6.0.89.88
File68=@Comdlg32.ocx,$(Win SysPath),$ (DLLSelfRe gister),$( Shared),2/ 26/02 8:35:36 PM,198656,6.0.88.77
File69=@mscomctl.ocx,$(Win SysPath),$ (DLLSelfRe gister),$( Shared),3/ 13/01 1:51:08 PM,1066176,6.0.88.62
File70=@craxdrt9.dll,$(Win SysPath),$ (DLLSelfRe gister),$( Shared),7/ 15/02 2:42:22 AM,6135873,9.2.0.448
File71=@crviewer9.dll,$(Co mmonFiles) \Crystal Decisions\2.0\bin,$(DLLSel fRegister) ,$(Shared) ,7/5/02 4:14:30 AM,770816,9.2.0.528
File72=@VB5DB.DLL,$(WinSys Path),,$(S hared),6/1 8/98 12:00:00 AM,89360,6.0.81.69
File73=@MsRepl35.dll,$(Win SysPathSys File),,,5/ 5/99 10:22:00 PM,430080,3.51.2404.0
File74=@MSRD2X35.DLL,$(Win SysPathSys File),$(DL LSelfRegis ter),,4/24 /98 12:00:00 AM,252176,3.51.623.0
File75=@MSJINT35.DLL,$(Win SysPathSys File),,,4/ 24/98 12:00:00 AM,123664,3.51.623.0
File76=@MSJTER35.DLL,$(Win SysPathSys File),,,4/ 24/98 12:00:00 AM,24848,3.51.623.0
File77=@MSJet35.dll,$(WinS ysPathSysF ile),$(DLL SelfRegist er),,5/5/9 9 10:22:00 PM,1056768,3.51.2723.0
File78=@DAO350.DLL,$(MSDAO Path),$(DL LSelfRegis ter),$(Sha red),4/27/ 98 12:00:00 AM,570128,3.51.1608.0
File79=@MSBIND.DLL,$(WinSy sPath),$(D LLSelfRegi ster),$(Sh ared),6/18 /98 12:00:00 AM,77824,6.0.81.69
File80=@MSDERUN.DLL,$(Comm onFiles)\d esigner,$( DLLSelfReg ister),$(S hared),9/6 /98 12:00:00 AM,137216,6.0.0.3005
File81=@MAS.exe,$(AppPath) ,,,6/2/04 3:12:50 PM,1384448,1.0.0.0
*------------------------- -
Eagerly waiting for an positive reply.
Ashu
Now whenever I install it on XP-SP2, it hang at the time of component registration at the end. However it create the application folder and copy all the related and it seems registered all of the componets. Then I execute this application and try forms and report. FOrms are working without any problem, but in case of report it Gives me following error
"'429': ActiveX component cannot create object"
Then I try to figure out and assume above problem is occuring becuase of
Dim Obj As New Application
Dim Rpt As Report
which I have used to open as following syntax
Set Rpt = Obj.OpenReport(App.Path & "\Account.RPT")
I am wondering why this problem and hanging problem occuring on Win-XP-SP2 machine. Is it because of Secuity Issues or any other issue?
FYI, I have logged an as admin provilige user, so there should be bot any permission problem.
Please let me know whats wrong I am doing, I am stuck here.
Here is my setup.lst
*------------------
Bootstrap Files]
File1=@VB6STKIT.DLL,$(WinS
File2=@COMCAT.DLL,$(WinSys
File3=@asycfilt.dll,$(WinS
File4=@msvbvm60.dll,$(WinS
[IconGroups]
Group0= Accounting System
PrivateGroup0=True
Parent0=$(Programs)
[Accounting System]
Icon1="MAS.exe"
Title1=Accounting System
StartIn1=$(AppPath)
[Setup]
Title=Accounting System
DefaultDir=$(ProgramFiles)
AppExe=MAS.exe
AppToUninstall=MAS.exe
[Setup1 Files]
File1=@TransViewDr.rpt,$(A
File2=@TransViewCr.rpt,$(A
File3=@TransViewCr1.rpt,$(
File4=@SPg_Rule6_Detail.rp
File5=@SPg_Rule6.rpt,$(App
File6=@Report1.rpt,$(AppPa
File7=@PSg_Rule6_org.rpt,$
File8=@PSg_Rule6_Loss.rpt,
File9=@PSg_Rule6_Detail.rp
File10=@PSg_Rule6.rpt,$(Ap
File11=@PolicyPremDrPer.rp
File12=@PolicyPremDrPer2.r
File13=@PolicyPremDrPer1.r
File14=@PolicyPremDr.rpt,$
File15=@PolicyPremDr1.rpt,
File16=@PolicyDrWc.rpt,$(A
File17=@PolicyDrR2.rpt,$(A
File18=@PolicyDr.rpt,$(App
File19=@PolicyCrWc.rpt,$(A
File20=@memsurLedger.rpt,$
File21=@memsuraccount.rpt,
File22=@memrecap.rpt,$(App
File23=@MemPolicyAccount.r
File24=@memPLedger.rpt,$(A
File25=@MemberDrWc.rpt,$(A
File26=@MemberCrWc.rpt,$(A
File27=@MemberCrR2.rpt,$(A
File28=@MemberCr.rpt,$(App
File29=@MemberCr1.rpt,$(Ap
File30=@GAccDrWcR2.rpt,$(A
File31=@GAccDrWc.rpt,$(App
File32=@AdminPer.rpt,$(App
File33=@GAccDr.rpt,$(AppPa
File34=@DICLst_new.rpt,$(A
File35=@DICLst.rpt,$(AppPa
File36=@c_memsuraccount.rp
File37=@c_memrecap.rpt,$(A
File38=@c_MemPolicyAccount
File39=@querybuilder.dll,$
File40=@crdb_ado.dll,$(Win
File41=@crdb_fielddef.dll,
File42=@crqe.dll,$(WinSysP
File43=@sscsdk80.dll,$(Win
File44=@u2fcr.dll,$(WinSys
File45=@u2ftext.dll,$(WinS
File46=@u2ddisk.dll,$(WinS
File47=@u2dapp.dll,$(WinSy
File48=@ufmanager.dll,$(Wi
File49=@u2l2000.dll,$(WinS
File50=@u2lcom.dll,$(WinSy
File51=@u2ldts.dll,$(WinSy
File52=@u2lexch.dll,$(WinS
File53=@u2lfinra.dll,$(Win
File54=@u252000.dll,$(WinS
File55=@u25dts.dll,$(WinSy
File56=@u25samp1.dll,$(Win
File57=@MDAC_TYP.EXE,$(App
File58=@mciconmenu.ocx,$(W
File59=@msstdfmt.dll,$(Win
File60=@mshflxgd.ocx,$(Win
File61=@tabctl32.ocx,$(Win
File62=@msdatlst.ocx,$(Win
File63=@mscomct2.ocx,$(Win
File64=@sysinfo.ocx,$(WinS
File65=@MSMASK32.OCX,$(Win
File66=@msadodc.ocx,$(WinS
File67=@msdatgrd.ocx,$(Win
File68=@Comdlg32.ocx,$(Win
File69=@mscomctl.ocx,$(Win
File70=@craxdrt9.dll,$(Win
File71=@crviewer9.dll,$(Co
File72=@VB5DB.DLL,$(WinSys
File73=@MsRepl35.dll,$(Win
File74=@MSRD2X35.DLL,$(Win
File75=@MSJINT35.DLL,$(Win
File76=@MSJTER35.DLL,$(Win
File77=@MSJet35.dll,$(WinS
File78=@DAO350.DLL,$(MSDAO
File79=@MSBIND.DLL,$(WinSy
File80=@MSDERUN.DLL,$(Comm
File81=@MAS.exe,$(AppPath)
*-------------------------
Eagerly waiting for an positive reply.
Ashu
Are you sure the control is registered properly. You can use 'regsvr32.exe' to register them properly.
Try using
Dim Appl as New CRAXDRT.Application
Dim Report as New CRAXDRT.Report
Set Report = Appl.OpenReport("c:\asldkf ja.rpt")
CRViewer91.ReportSource = Report
CRViewer91.ViewReport
Dim Appl as New CRAXDRT.Application
Dim Report as New CRAXDRT.Report
Set Report = Appl.OpenReport("c:\asldkf
CRViewer91.ReportSource = Report
CRViewer91.ViewReport
ASKER
I tested your solution, it is also not working. However Now I am able to install this application, I changed {WinSysPath),} path to {apppath} of crviewen9.dll using innosetup.
Now problem, whenever I try to open report I got same error 429: Activex component ....
I tried following suggestion also, it also not worked for me.
https://www.experts-exchange.com/questions/21115576/Run-Time-error-'429'-ActiveX-component-can't-create-object-when-launching-a-crystal-report-from-VB.html
Please help me, I am stuck here and alomst spent 1 day for doing R & D on this issue, but did not get anyresult.
Now problem, whenever I try to open report I got same error 429: Activex component ....
I tried following suggestion also, it also not worked for me.
https://www.experts-exchange.com/questions/21115576/Run-Time-error-'429'-ActiveX-component-can't-create-object-when-launching-a-crystal-report-from-VB.html
Please help me, I am stuck here and alomst spent 1 day for doing R & D on this issue, but did not get anyresult.
ASKER
Hello Guys
I have solved problem. Here is what I did
First I have uninstalled XP-SP2, thne INstalled XP-SP1 and thne XP-SP2 respectively.
Then I create setup thru Innosetup and installed and it is working perfectly without any problem, nor run time error, not machine crashing etc.
Still I am putting XP under testing for some days to see if problem reoccur again.
Please close my ticket, I dont think anyone eligible for point.
Ashish
I have solved problem. Here is what I did
First I have uninstalled XP-SP2, thne INstalled XP-SP1 and thne XP-SP2 respectively.
Then I create setup thru Innosetup and installed and it is working perfectly without any problem, nor run time error, not machine crashing etc.
Still I am putting XP under testing for some days to see if problem reoccur again.
Please close my ticket, I dont think anyone eligible for point.
Ashish
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.