Results 1 to 12 of 12

Thread: ActiveX Component?

  1. #1

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492

    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

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    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

  3. #3

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    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

  4. #4

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    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!!!!!!!!!!

  5. #5

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    umm anyone out there?

    I know im not the only one whose run into this...

    Jon

  6. #6
    Lively Member
    Join Date
    Apr 2002
    Location
    Staffordshire
    Posts
    82
    I had the same problem & it was being caused by the DLL not being registered properly.

  7. #7

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by sue205
    I had the same problem & it was being caused by the DLL not being registered properly.
    Which DLL??

    Jon

  8. #8
    Lively Member
    Join Date
    Apr 2002
    Location
    Staffordshire
    Posts
    82
    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.

  9. #9

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    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

  10. #10

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    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

  11. #11
    Lively Member
    Join Date
    Apr 2002
    Location
    Staffordshire
    Posts
    82
    Are the DLL's in System32 directory

  12. #12

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    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
  •  



Click Here to Expand Forum to Full Width