Visual Basic 2008 and Crystal Report Control

Posted on 2009-12-16
Last Modified: 2013-12-26
I have a simple app that has a CrystalReport control in it to load, refresh and print a report.  It works fine on the development machine.  I cannot get it to run on client machines. I have done testing, the problem occurs when the reportcontrol is added.  When i attempt to run the app on a client machine, it does not load and I get the following entry in the event viewer.

Event ID: 5000
Source: .NET Runtime 2.0 Error

EventType clr20r3, P1 bestbarcodes.exe, P2, P3 4b293d19, P4 bestbarcodes, P5, P6 4b293d19, P7 d, P8 c6, P9 system.invalidoperationexception, P10 NIL.

I have tried the following:
> Installing all .NET updates
> Installing the full Crystal Report product
> Creating a VB install package
> Setting all the resource references to Local Copy in VB
> Installing ReportViewer.exe on the client

I am fairly sure that I am missing some dll or something on the client, I just dont know which.
Question by:csellers30

    Author Comment

    One additional comment, I have another app that also uses a CR control, it was written in VS2005 as opposed to VS2008 which I am now using.  The other (VS2005) app runs fine on clients.
    LVL 10

    Expert Comment

    are you having the same version DLLs on your system and Client's system for CR? as version mismatch due to updated service packs could not let the report to load at all.


    Author Comment

    Thank you for the response, is there a quick way to compare dll versions?

    Accepted Solution

    I found the problem.  I downloaded and installed the Runtime Redistro for VS2008 from Business Objects.  Works fine now.
    LVL 10

    Expert Comment

    That's good! finally it's working for you! :-)

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
    Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now