Overtonp
asked on
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.ReportApp Server.Cli entdoc (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.CrystalReportView er1.Parame terFieldIn fo()
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
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.CrystalReportView
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
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks guys. I found the runtime file tanks to that link, works great now.
What dod you install on the server?
mlmcc