Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem installing VB6/Crystal XI app

Status
Not open for further replies.

gkeene

Programmer
Aug 31, 2005
4
US
I am having a problem with Crystal XI deployment. I would greatly appreciate any suggestions.

I am using VB 6.0 and Crystal XI. My VB application is tiny and the Crystal report (.rpt file) is simple.

Everything works just fine on my PC.

I and all of my users already have access to the database which is Oracle 8i.

My users want to view the report with fresh data whenever they want (pull method).

All PCs (including my own) are using Windows 2000.

I am trying to use the Visual Studio Installer to create the installer package. I am following the directions in white paper Creating an RDC XI Distribution Package. The white paper does not specify which Microsoft Merge Modules to use so I use every single Microsoft Merge Module on my computer. They are all in c:\program files\Microsoft Visual Studio\Common\Tools\VSInst\BuildRes. However, I get an error on file msvcp60.msm when I try to build the package. The message says it is invalid or the module is being edited. I took it out and replaced it with msvcp60.dll and the package builds. I don't know if this is important or not.

When I install the application to my users' PCs I do not get any error messages. When I start up the application I do not get any error messages. As soon as I try to execute the .rpt from within the application I get one of two error messages. Some PCs always give the error message of: "Run-time error '339': Component 'crviewer.dll' or one of its dependencies not correctly registered: a file is missing or invalid".

The other PCs always give me the error message of: "Run-time error '2147189155 (80047e5d)': Failed to open the connection".

Does anyone have any idea of what I may be missing?


 
Did you use the merge modules from the Business Objects website?

When deploying a crystal report with vb6 I always use the merge modules coming from their website.
If you haven't done that yer, browse
the business objects website for the Crystal IX merge modules (RDC).

Hope this helps.
 
The crviewer error message is an indication that the PC has an older version of CRViewer.dll as well as a newer version that came with my software. Just do a search for CRViewer.dll and replace the older version with the newer one.

- Ido

Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top