Solved

"'429': ActiveX component cannot create object"

Posted on 2004-10-13
6
285 Views
Last Modified: 2008-01-09
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,$(WinSysPathSysFile),,,7/15/00 12:00:00 AM,101888,6.0.84.50
File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1
File3=@asycfilt.dll,$(WinSysPathSysFile),,,8/23/01 5:30:00 PM,77824,3.50.5014.0
File4=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,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)\Accounting System
AppExe=MAS.exe
AppToUninstall=MAS.exe

[Setup1 Files]
File1=@TransViewDr.rpt,$(AppPath),,,5/25/04 7:49:26 PM,16384,0.0.0.0
File2=@TransViewCr.rpt,$(AppPath),,,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.rpt,$(AppPath),,,5/26/04 3:47:24 PM,20480,0.0.0.0
File5=@SPg_Rule6.rpt,$(AppPath),,,5/25/04 8:02:36 PM,19968,0.0.0.0
File6=@Report1.rpt,$(AppPath),,,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.rpt,$(AppPath),,,5/25/04 8:06:10 PM,19456,0.0.0.0
File10=@PSg_Rule6.rpt,$(AppPath),,,5/25/04 8:05:48 PM,19456,0.0.0.0
File11=@PolicyPremDrPer.rpt,$(AppPath),,,4/29/04 12:58:14 PM,15872,0.0.0.0
File12=@PolicyPremDrPer2.rpt,$(AppPath),,,4/28/04 3:25:32 PM,17408,0.0.0.0
File13=@PolicyPremDrPer1.rpt,$(AppPath),,,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,$(AppPath),,,4/26/04 8:03:06 PM,9216,0.0.0.0
File17=@PolicyDrR2.rpt,$(AppPath),,,4/26/04 8:02:40 PM,13824,0.0.0.0
File18=@PolicyDr.rpt,$(AppPath),,,4/26/04 8:02:26 PM,14336,0.0.0.0
File19=@PolicyCrWc.rpt,$(AppPath),,,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,$(AppPath),,,5/19/04 4:53:22 PM,9728,0.0.0.0
File23=@MemPolicyAccount.rpt,$(AppPath),,,5/25/04 6:29:22 PM,10240,0.0.0.0
File24=@memPLedger.rpt,$(AppPath),,,5/26/04 6:35:36 PM,10240,0.0.0.0
File25=@MemberDrWc.rpt,$(AppPath),,,4/26/04 8:01:32 PM,8192,0.0.0.0
File26=@MemberCrWc.rpt,$(AppPath),,,4/26/04 8:01:22 PM,8192,0.0.0.0
File27=@MemberCrR2.rpt,$(AppPath),,,4/26/04 8:01:14 PM,8192,0.0.0.0
File28=@MemberCr.rpt,$(AppPath),,,4/28/04 7:32:34 PM,15360,0.0.0.0
File29=@MemberCr1.rpt,$(AppPath),,,10/28/03 4:55:34 PM,33280,0.0.0.0
File30=@GAccDrWcR2.rpt,$(AppPath),,,4/26/04 8:00:46 PM,8192,0.0.0.0
File31=@GAccDrWc.rpt,$(AppPath),,,4/26/04 8:00:34 PM,15872,0.0.0.0
File32=@AdminPer.rpt,$(AppPath),,,4/28/04 9:42:46 PM,17920,0.0.0.0
File33=@GAccDr.rpt,$(AppPath),,,4/26/04 8:00:14 PM,7168,0.0.0.0
File34=@DICLst_new.rpt,$(AppPath),,,5/15/04 4:51:20 PM,6144,0.0.0.0
File35=@DICLst.rpt,$(AppPath),,,5/15/04 4:45:18 PM,7168,0.0.0.0
File36=@c_memsuraccount.rpt,$(AppPath),,,5/25/04 6:29:06 PM,9216,0.0.0.0
File37=@c_memrecap.rpt,$(AppPath),,,5/25/04 6:28:54 PM,9216,0.0.0.0
File38=@c_MemPolicyAccount.rpt,$(AppPath),,,5/25/04 6:28:40 PM,10752,0.0.0.0
File39=@querybuilder.dll,$(WinSysPath),,$(Shared),7/4/02 11:50:06 PM,163911,9.2.0.498
File40=@crdb_ado.dll,$(WinSysPath),,$(Shared),7/16/02 11:44:38 PM,368704,9.2.0.512
File41=@crdb_fielddef.dll,$(WinSysPath),,$(Shared),7/4/02 11:57:38 PM,127050,9.2.0.467
File42=@crqe.dll,$(WinSysPath),$(DLLSelfRegister),$(Shared),7/5/02 11:44:48 PM,1417289,9.2.0.580
File43=@sscsdk80.dll,$(WinSysPath),,$(Shared),6/26/02 2:00:12 PM,1273856,2.3.6.8
File44=@u2fcr.dll,$(WinSysPath),,$(Shared),7/12/02 9:31:26 AM,77824,9.2.0.538
File45=@u2ftext.dll,$(WinSysPath),,$(Shared),7/12/02 9:30:00 AM,155648,9.2.0.548
File46=@u2ddisk.dll,$(WinSysPath),,$(Shared),7/12/02 9:32:22 AM,49152,9.2.0.541
File47=@u2dapp.dll,$(WinSysPath),,$(Shared),7/12/02 9:32:34 AM,53248,9.2.0.542
File48=@ufmanager.dll,$(WinSysPath),,$(Shared),7/16/02 2:37:38 PM,225280,9.0.0.1
File49=@u2l2000.dll,$(WinSysPath),,$(Shared),7/5/02 3:12:42 AM,24576,9.2.0.8
File50=@u2lcom.dll,$(WinSysPath),,$(Shared),7/5/02 3:12:26 AM,106496,9.2.0.5
File51=@u2ldts.dll,$(WinSysPath),,$(Shared),7/5/02 3:13:40 AM,24576,9.2.0.5
File52=@u2lexch.dll,$(WinSysPath),,$(Shared),7/5/02 3:14:00 AM,28672,9.2.0.16
File53=@u2lfinra.dll,$(WinSysPath),,$(Shared),7/5/02 3:14:18 AM,69632,9.2.0.4
File54=@u252000.dll,$(WinSysPath),,$(Shared),7/5/02 3:13:12 AM,24576,9.2.0.7
File55=@u25dts.dll,$(WinSysPath),,$(Shared),7/5/02 3:13:28 AM,24576,9.2.0.8
File56=@u25samp1.dll,$(WinSysPath),,$(Shared),7/5/02 3:14:36 AM,24576,9.2.0.15
File57=@MDAC_TYP.EXE,$(AppPath),,,6/2/04 1:25:00 PM,5556616,28.0.1022.3
File58=@mciconmenu.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/03 6:09:48 PM,167936,1.0.0.0
File59=@msstdfmt.dll,$(WinSysPath),$(DLLSelfRegister),$(Shared),4/3/00 8:05:58 PM,118784,6.0.88.4
File60=@mshflxgd.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/22/00 4:58:12 PM,438976,6.0.88.4
File61=@tabctl32.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/30/03 9:58:04 AM,209608,6.0.90.43
File62=@msdatlst.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),12/21/99 2:00:48 AM,232456,6.0.84.18
File63=@mscomct2.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/22/00 4:58:00 PM,647872,6.0.88.4
File64=@sysinfo.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/98 12:00:00 AM,67376,6.0.81.69
File65=@MSMASK32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),2/26/02 5:15:12 PM,166600,6.0.84.18
File66=@msadodc.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/22/00 4:58:00 PM,118976,6.0.88.4
File67=@msdatgrd.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/12/00 1:02:06 PM,262328,6.0.89.88
File68=@Comdlg32.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),2/26/02 8:35:36 PM,198656,6.0.88.77
File69=@mscomctl.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/13/01 1:51:08 PM,1066176,6.0.88.62
File70=@craxdrt9.dll,$(WinSysPath),$(DLLSelfRegister),$(Shared),7/15/02 2:42:22 AM,6135873,9.2.0.448
File71=@crviewer9.dll,$(CommonFiles)\Crystal Decisions\2.0\bin,$(DLLSelfRegister),$(Shared),7/5/02 4:14:30 AM,770816,9.2.0.528
File72=@VB5DB.DLL,$(WinSysPath),,$(Shared),6/18/98 12:00:00 AM,89360,6.0.81.69
File73=@MsRepl35.dll,$(WinSysPathSysFile),,,5/5/99 10:22:00 PM,430080,3.51.2404.0
File74=@MSRD2X35.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,4/24/98 12:00:00 AM,252176,3.51.623.0
File75=@MSJINT35.DLL,$(WinSysPathSysFile),,,4/24/98 12:00:00 AM,123664,3.51.623.0
File76=@MSJTER35.DLL,$(WinSysPathSysFile),,,4/24/98 12:00:00 AM,24848,3.51.623.0
File77=@MSJet35.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,5/5/99 10:22:00 PM,1056768,3.51.2723.0
File78=@DAO350.DLL,$(MSDAOPath),$(DLLSelfRegister),$(Shared),4/27/98 12:00:00 AM,570128,3.51.1608.0
File79=@MSBIND.DLL,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/18/98 12:00:00 AM,77824,6.0.81.69
File80=@MSDERUN.DLL,$(CommonFiles)\designer,$(DLLSelfRegister),$(Shared),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
0
Comment
Question by:sonashish
6 Comments
 
LVL 9

Expert Comment

by:Shahid Thaika
ID: 12299203
Are you sure the control is registered properly. You can use 'regsvr32.exe' to register them properly.
0
 

Expert Comment

by:d_vonfeldt
ID: 12302773
Try using

Dim Appl as New CRAXDRT.Application
Dim Report as New CRAXDRT.Report

Set Report = Appl.OpenReport("c:\asldkfja.rpt")
CRViewer91.ReportSource = Report
CRViewer91.ViewReport
0
 
LVL 2

Author Comment

by:sonashish
ID: 12307033
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.
http://www.experts-exchange.com/Databases/Crystal_Reports/Q_21115576.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.
0
 
LVL 2

Author Comment

by:sonashish
ID: 12316201
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
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12534396
Closed, 250 points refunded.

modulo
Community Support Moderator
Experts Exchange
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Validating VB6 Function 19 59
VBA/SQL - Connect to SQL server and pull data 4 110
Exit a vb6 apps when a calling it apps closes 15 48
VB6 - Scroll Mouse wheel on Picturebox 13 44
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question