|
-
Jun 5th, 2003, 05:00 PM
#1
Thread Starter
Banned
ActiveX Component?
I created a crystal viewer to allow end users to view crystal reports. On anyone's machine who has a copy of crystal reports it works fine. But if I install my package (my viewer) on someone who does not have crystal the report doesnt seem to come up. My application works fine..but its when the end user tries to open a crystal report from the application they get the following error message:
"ActiveX component cant create object. Error #429."
Has anyone ever experienced this? If so what was the fix?
Thanks,
Jon
-
Jun 5th, 2003, 05:35 PM
#2
Did you include the necessary crystal dlls in your setup package?
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Jun 5th, 2003, 05:38 PM
#3
Thread Starter
Banned
I've had soo many problems with this. Im quite sure I did. I read the RUNTIME.chm file from crystal reports and selected all of those dll's i needed. Can anyone provide a list and the source of where the file resides? Im using win2k and CR 9 with VB6.
I just keep getting fuxored!
Jon
-
Jun 5th, 2003, 05:49 PM
#4
Thread Starter
Banned
I read this :
--------------------------------------------------------
Report Designer Component
The required runtime files for an application developed using the Report Designer Component are listed below.
Development Components
File
Developer Machine and Distribution Machine Locations (Locations are the same unless listed separately.)
Description
craxdrt9.dll
Development Location:
\Program Files\Crystal Decisions\Report Designer Component
Distribution Location:
\Program Files\Common Files\Crystal Decisions\2.0\bin
Crystal Reports 9 ActiveX Designer Runtime Support
crviewer9.dll
Development Location:
\Program Files\Crystal Decisions\9.0\Viewers\ActiveXViewer
Distribution Location:
\Program Files\Common Files\Crystal Decisions\2.0\bin
Crystal Report Viewer
Note: Regarding development components:
You must register these DLLs using regsvr32.exe.
Include the crviewer9.dll only for applications where reports are being printed to the screen. If the reports are being exported or printed to the printer, and not being viewed to a window, this DLL is not required.
----------------------------------
Does this mean I should package the developer components or the distribution???? (Im guessing distribution here...)
Also at the bottom it reads.."you must register these dlls using regsvr32.exe"
Which ones the developer or the distribution? Do I register them just on my machine or on everyone's machine??
Why isnt this working!!!!!!!!!!
-
Jun 6th, 2003, 07:15 AM
#5
Thread Starter
Banned
umm anyone out there?
I know im not the only one whose run into this...
Jon
-
Jun 6th, 2003, 09:55 AM
#6
Lively Member
I had the same problem & it was being caused by the DLL not being registered properly.
-
Jun 6th, 2003, 09:55 AM
#7
Thread Starter
Banned
Originally posted by sue205
I had the same problem & it was being caused by the DLL not being registered properly.
Which DLL??
Jon
-
Jun 6th, 2003, 10:05 AM
#8
Lively Member
Not the DLL your using, but the same problem using DLL's.It was a nitemare to figure out, but if you register the DLL manually, ie regsvr32, and then try and run your program it should be OK.
I also had the same problem if I fixed a bug in the DLL and then didnt update the one being used by the program.
You can debug yr app, by adding your DLL to your project.
Goto File and then Add Project, and add your break point.
Ive got some sample coding to register DLL in your code if you need it.
-
Jun 6th, 2003, 10:05 AM
#9
Thread Starter
Banned
Originally posted by sue205
I had the same problem & it was being caused by the DLL not being registered properly.
Ok on crviewer9.dll when I do a:
regsvr32 crviewer9.dll
I get a popup saying that the registered dll was successful!
However on 2 other DLL's:
craxdrt9.dll and craxddrt9.dll
I do NOT get this message??? What could be causing this? Is this why the report wont open on some machines?
Please let me know since Im getting closer to finding a way to resolve this.
Thanks,
Jon
-
Jun 6th, 2003, 10:07 AM
#10
Thread Starter
Banned
Originally posted by sue205
Not the DLL your using, but the same problem using DLL's.It was a nitemare to figure out, but if you register the DLL manually, ie regsvr32, and then try and run your program it should be OK.
I also had the same problem if I fixed a bug in the DLL and then didnt update the one being used by the program.
You can debug yr app, by adding your DLL to your project.
Goto File and then Add Project, and add your break point.
Ive got some sample coding to register DLL in your code if you need it.
Well as I said a message box of success comes up on one dll but NOT the other 2??? Could this be the problem? How do I register these other 2 dll files?
Thanks,
Jon
-
Jun 6th, 2003, 10:11 AM
#11
Lively Member
Are the DLL's in System32 directory
-
Jun 6th, 2003, 10:16 AM
#12
Thread Starter
Banned
Originally posted by sue205
Are the DLL's in System32 directory
????
The dll's are being packaged into my app...but they are crystal DLL's not win32 dll's.
craxdrt9.dll and craxddrt9.dll
They registered on my machine fine now...Im going to go try another machine.
Jon
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|