Improve company productivity with a Business Account.Sign Up

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

.net could not load . . . crystaldecisions.windows.forms

Launching a Crystal Report .rpt file works ffine on dev machine, but when deployed I get a 'could not load . . . crystaldecisions.windows.forms' error when attempting to load the report.

The reference to crystaldecisions.windows.forms is present in the project properties, so I don't see what it is looking for.

I have seen a number of posts indicating that one needs to add a crystal decisions merge file, but I cannot find the merge file; I don't know what the file is called; and I don't know how to include the merge file in the project once I find it.
0
mdreed
Asked:
mdreed
1 Solution
 
rgn2121Commented:
Is the Crystal Reports Redistributable installed on the pc you are deploying to?
What version of VS?
0
 
rgn2121Commented:
0
 
mlmccCommented:
What version of Crystal are you using?

Which version of VS?

mlmcc
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

 
Todd GerbertIT ConsultantCommented:
Adding the reference to CrystalDecisions.Windows.Forms only tells the computer that DLL is necessary for your program to run, you still need to make sure that DLL is on the computer where you want your program to run.

Check here http://resources.businessobjects.com/support/additional_downloads/runtime.asp, download the appropriate version & install it on your target computer.
0
 
rgn2121Commented:
As for adding it as an installation prereq., you should be able to go to your setup project and right-click and choose Prerequisites.  Then select Crystal Reports for....
0
 
mdreedAuthor Commented:
rgn2121:

Adding the Prerequisite causes the report to now display properly, but the installation also now presents a Crystal EULA agreement and intall.  Can that be avoided?
0
 
rgn2121Commented:
To be honest, I don't know.  I would doubt it, since the user would need to agree.
0
 
mdreedAuthor Commented:
Works fine now, except for the Crystal EULA that now comes up during install
0
 
rgn2121Commented:
I have looked around a little bit on this and what you might be able to do is to use something like VbScript to script the install of the Crystal Reports Package.  This way you could do a silent install and the EULA would be accepted by default.

You would have to add a Custom Action or Launch Condition, neither of which I really have familiarity with, but once it is discovered that your client pc needs CR then the script could be kicked off and it would do the installation.

There would obviously be some research required or post another question about what you are trying to do and some of the more experienced experts in that area could probably help.
0
 
mdreedAuthor Commented:
Thanks, rgn, I will check it out.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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.

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