Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have developed on application using C# language in visual studio 2019.

I have used crystal report in my app.

now when i am deploying on another system it is giving "could not load file or assembly"
error when trying to open that form that has crystal report.

Error

https://i.imgur.com/UW2cITu.png[^][^]

I am using visual studio to developed application.

Dot Net framework 4.7.2 is used in my application

Crystal Reports for .NET Framework 4.0 is using on my application.

What I have tried:

I am using visual studio to developed application.

Dot Net framework 4.7.2 is used in my application

Crystal Reports for .NET Framework 4.0 is using on my application.
Posted
Updated 20-Dec-21 0:08am
Comments
Richard Deeming 15-Dec-21 7:14am    
You haven't deployed all of the dependencies of your application to the other computer.

1 solution

You probably installed Crystal Reports for Visual Studio, which lets you develop and run your code in vs, but the Crystal Reports runtime needs to be installed on the client systems which your code is deployed to. I think that is a different installation package than the development package.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900