Basics: Windows XP/sp1, Windows 2000/sp4, Visual Basic 6.0 sp5, and Crystal Reports 9.2
I have created an application in VB 6.0 sp5 that has some Crystal Reports 9.2 in it. The cr reports were created externally in crystal reports and imported into vb. The application has been running correctly for the past six months on many computers without any errors.
Recently our firm purchased some new computers and when I installed this vb application onto the new computers, I got an error message when trying to run any of the cr reports. The error message appears when trying to display the report using the CRViewer92 control in the vb application. The error message is "Run-time error '50003' Load report failed." and it appears by itself in the CRViewer92 screen. No report shows. When I click OK, the application ends.
The vb application does run correctly on these new computers up until I try to show a cr report. Additionally, the vb application and all cr reports run correctly on all of the other (older) computers in our firm. Both the newer and older computers are running Windows 2000/sp4.
In vb on my development computer I used the PDW to create a distribution module and then used the setup.exe to do the install. That process has worked just fine over the past six months and I did not get any error messages during the recent installs on the new computers. All of the computers are running Windows 2000/sp4 with MDAC 2.8. However, my development computer is using XP/sp1 with MDAC 2.8. Could that make a difference?
I suspect that the problem may actually be due to a missing Crystal Reports .dll or .ocx but I am just guessing. The error message is so crptic and I have not been able to resolve it.
I have gotten around this problem in the past by installing CR 9.0 developer's version onto the new computers, but that is not a good, long-term solution. (When CR 9.0 is installed on the newer computers, the application runs and does show the reports. But when I uninstall CR 9.0, the application runs, but does not show the CR reports. Instead, it shows the above error message. That tells me it may be a missing .dll or .ocx file(s).)
This question was previously posted in the Crystal Reports area, but was not resolved. Here is the url for that question so you can see what has been tried so far:
http://oldlook.experts-exchange.com/Databases/Crystal_Reports/Q_20843905.htmlPlease do not post anything to that older CR question as I will be asking CS to delete it and refund the point.
Would appreciate help fixing this problem. It is becoming a real problem with our applications here at this client. Thank you.