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.