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.FileNotFoundExce ption: File or assembly name CrystalDecisions.Windows.F orms, 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
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.FileNotFoundExce
File name: "CrystalDecisions.Windows.
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
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok, I understand what I need to do.
Thanks alot.
Thanks alot.
Cheers!
Good luck!
Dave
Good luck!
Dave
ASKER
It is working 111% now.
Thanks Dave ;-)
Thanks Dave ;-)
:-)
https://www.experts-exchange.com/questions/21199551/CR-Net-WinForm-Deployment-Mayhems.html