• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 322
  • Last Modified:

Visual Basic 2008 and Crystal Report Control

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 1.0.0.0, P3 4b293d19, P4 bestbarcodes, P5 1.0.0.0, 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.
0
csellers30
Asked:
csellers30
  • 3
  • 2
1 Solution
 
csellers30Author Commented:
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.
0
 
himanshutCommented:
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.

0
 
csellers30Author Commented:
Thank you for the response, is there a quick way to compare dll versions?
0
 
csellers30Author Commented:
I found the problem.  I downloaded and installed the Runtime Redistro for VS2008 from Business Objects.  Works fine now.
0
 
himanshutCommented:
That's good! finally it's working for you! :-)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now