Re: ActiveReports failing after other VB app installed
ActiveReports 2.0 (Visual Basic 6.0) Support
ActiveReports failing after other VB app installed
06-09-2009, 10:28 AM
We have a VB6 app that we have distributed the viewer with and allow our users to preview compiled reports.
Today our users updated the computers with an update from another software system and now the users receive the following error message when trying to run the ActiveReports report: Run-Time error '372': failed to load control 'ActiveReport' from C:\program files\common files\data dynamics\ActiveReports\apro2.dll. Your version of C:\Program Files\Common Files\data Dynamics\ActiveReports Pro\arpro2.dll may be outdated. Make sure you are using the version of the control that was provided with your application'
If I apply the latest service pack to the users computer the issue goes away. I was wondering if you might be able to let me know what file the arpro2.dll and this other software could have in common. Could it be a system file, vb file.
Any help would be appreciated.
P.S. I am currently trying to get a list of files that are being updated by the other software.
Re: ActiveReports failing after other VB app installed
06-10-2009, 12:16 AM
Hello,
Thank you for your query. Can you please let us know the build of ActiveReports 2.0(COM/VB 6.0) that you use in your product? Also, please check the dll version installed on the customer’s machine.
Regards,
Prantik
Re: ActiveReports failing after other VB app installed
06-10-2009, 5:02 AM
We are using the following version of Data Dynamics ActiveReports Professional 2: 2.4.1.1283.
The users version of arpro2.dll is 2.0.0.1214 and arview2.ocx is 2.0.0.1195.
Re: ActiveReports failing after other VB app installed
06-11-2009, 3:26 AM
Brad,
The build installed on the customer’s machine as well as used in your product is an older version. Could you consider upgrading to the latest build of ActiveReports 2.0 (2.5.0.1314) and using the same dlls in the customer’s machine as well?
Regards,
Prantik
Re: ActiveReports failing after other VB app installed
06-11-2009, 5:23 AM
Thank you for the suggestion we will do so. I found out what the conflict is. The other software product being installed installs the standard activereports version in C:\program files\common file\data dynamics. In out setup package the other thing we distribute is arpro2.dll and arview2.ocx to the c:\windows\system32 directory. Therefore there are two version needed, any suggestions?
Re: ActiveReports failing after other VB app installed
06-12-2009, 7:29 AM
Brad,
Could you get the customer to get in touch with the vendor of the other application to get in touch with us so that we may get them to upgrade to the latest build as well. Further, you may take a look into side-by-side Com registration of the AR dlls so that they can be used only by your application.. Please take a look at the following articles in this regard.
http://www.datadynamics.com/forums/122083/ShowPost.aspx
http://www.google.com/search?q=side+by+side+com+registration
Regards,
Prantik
Re: ActiveReports failing after other VB app installed
06-12-2009, 7:55 AM
Actually the other company is upgrading their product to a web based product, so this version is no longer going to be upgraded. I will send off an e-mail though.
Thank you for the side-by-side execution, I read about it in my research of the problem but I was getting overwhelmed with more technical articles on the theory of the functionality and not articles that indicate how to use it. :) Thank you.