Filed under: Crystal Report | Tags: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Crystal Report 2008, Crystal Report in .NET 3.5, Version=10.5.3700.0
I have to pass a terrible day for deploying a project where Cystal Report is used. I have used Install Shield 15 to make the installer of the project. Project is installed to client pc hopefully, But when the user click the report generate button, System triger following error,
<code>Could not load file or assembly ‘CrystalDecisions.Windows.Forms, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304′ or one of its dependencies. The system cannot find the file specified.
</code>
Program does not find the assembly for generating report in the client PC. When i build the installer, Version =10.2.3600 is used which wrong. You can check it go to below directories,
C:/Windows/Assembly/
Now Solution, I have to spend the whole day for the solution, though i am experience in deploying web project of .NET 2.0 which use Crystal Report. Bussiness solution web site is one the complecated site in the web to me. It seems to me useless. Furtuantlly Microsoft forum help to solve the problem. I have to install CRRedist2008_x86.msi in the Client PC to get desires assemblies. i have got the file in my development pc in following dirrectory,
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5
Then, at the end of the day i feel very relieve. Thanks Mirosoft foum.
Thanks
Khayer
GIS Programmer, CEGIS
Bangladesh
5 Comments so far
Leave a comment
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Thanks for your help !! i have the same problem with my project. Let me test your knowledge : ) thank u
Comment by Techii May 18, 2009 @ 5:22 pmThanks for you your post. It solved my problem.
Comment by Bob Thompson June 18, 2009 @ 2:38 amThanks. I also encountered the same problem. This solution helped me.
Comment by sam August 4, 2009 @ 9:59 amhi.
i am finding the solution of a problem
when i copy the exe file on user pc and already istall dotnet framework.
when i execute the error occure dontsend. and file does not execute. plz help me to recover this error. i am using crystal reports in it. what dll files or software needed to run crystal report on other pc.
help me ………
thanks in advance
Comment by shoukat August 11, 2009 @ 10:14 pm@shoukat
Comment by khayer August 12, 2009 @ 8:25 amFor running Cystal report application your need to install crystal report redistributable in client PC. CRRedist2008_x86.msi must be installed in the client pc for .NET 3.5 and CRRedist2005_x86.msi for .NET 2.0. Your will get corresponding files in your development PC in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5 dirrectory if you install .NET in default dirrectory. This redistributable copy the required reference in the GAC.You can not do that just simple copy past some dll files like Crystal report 8.5.