Link to home
Start Free TrialLog in
Avatar of Sheldonh
Sheldonh

asked on

My Crystal Reports won't load

Hi

I have coded an application that connects to an SQL database. In the application everything works fine, except for Crystal Reports. When I run the program on the computer that I am using to code (which is also the source of the database) the program works 110%! But when I run the .exe file on another computer, then the Crystal Reports Form doesn't load.

Upon loading the form, I get this error message:

System.IO.FileNotFoundException: File or assembly name CrystalDecisions.Windows.Forms, or one of its dependencies, was not found.
File name: "CrystalDecisions.Windows.Forms"

This is not the entire error message, but it seems to be the source of the problem.

I even tried creating a deployment program to make sure the program installs properly on the user's machine, that also doesn't work.

My database connection code is working fine, it just seems like the crystal report viewer on the form doesn't load properly.

Please help
Sheldon

Avatar of flavo
flavo
Flag of Australia image

Avatar of Sheldonh
Sheldonh

ASKER

I had a look at your accepted answer.

Should I download those merge modules and then add them to my Project or should I add them to my Setup Deployment program?

Thanks
Sheldon
ASKER CERTIFIED SOLUTION
Avatar of flavo
flavo
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok, I understand what I need to do.

Thanks alot.
Cheers!

Good luck!

Dave
It is working 111% now.

Thanks Dave ;-)
:-)