[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 504
  • Last Modified:

Crystal Report Viewer: Could not load file or assembly Error message

I have a .net application I created which allows users to select a crystal report located on a toolbar and launch it using the crystal viewer.  This all works fine on my pc,  however when I move the bin contents to another pc,  an error comes up saying it could not load file or assembly CrystalDecisions.ReportAppServer.Clientdoc (see attachment).

All my crystal references are set to "copy local" = true.

I decided to add msgboxes to track down when this error procs and the culprit turns out to be the following line.

 rptfields = mycaller.CrystalReportViewer1.ParameterFieldInfo()

Keep in mind this all works fine on my pc,  any other computer and the error appears.  I assume it is happening due to the missing .dll file,  but I can't seem to find the reference to properly copy it to local.  Anyone know why this could be happening?
Error-msg.JPG
References.JPG
0
Overtonp
Asked:
Overtonp
  • 2
2 Solutions
 
CodeCruiserCommented:
You need to install the Crystal Reports runtime on the target computer.
0
 
mlmccCommented:
What version of Crystal?

What dod you install on the server?

mlmcc
0
 
OvertonpAuthor Commented:
Thanks guys.  I found the runtime file tanks to that link, works great now.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

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