RTF Export - "ActiveX Cant Create Object" Error

Posted by: stevericeuk on 4 August 2017, 2:57 pm EST

  • Posted 4 August 2017, 2:57 pm EST

    I am using the rtfexpt.dll to create an RTF export of my report.


    This works fine on my development PC, but when it is deployed I get the 'ActiveX Cant Create Object' error.


    I am using VB6, and installshield to deploy the project.


    I have even installed activereports on the PC where my software is deployed but I get the same problem.


    Does rtfexpt.dll have any other dependancies which are not installed by activereports, that may be missing?


    Needless to say the latest service packs have been tried.

  • Replied 4 August 2017, 2:57 pm EST

    Whenever I have the ActiveX Can't Create Object error it's usually


    1. I used early binding from the project references so my version I'm bound to is not the version on the machine.


    or


    2. The dll being called is not registered, or registered incorrectly on the machine(possibly due to issue number 1).


       For number 2 You can go to the Start menu -> select "Run" then type in Regsvr32.exe /u "C:\whatever the path is\rtfexpt.dll" to unregister, then to re-register correctly just take out the /u.


    Hope this helps if you haven't already gotten it to work.

  • Replied 4 August 2017, 2:57 pm EST

    Please review the follow links:
    http://www.datadynamics.com/Help/AR2Std/hx_Client_Distribution.html
    http://www.datadynamics.com/forums/446/ShowPost.aspx


    These list the assemblies necessary for client distribution.


    Tim

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels