Wednesday, June 3, 2009

Could not load file or assembly 'CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

Today, my team member got new machine where he has only VS 2008 with .Net Framework 3.5 along with all necessary softwares on his machine. We recently have moved our applicatio from .Net framework 2.0 to .Net Framework 3.5, which was, by default, supporting crystal reports 10.2.  By default, .Net framework 3.5 supports 10.5 version but we still using Crystal Reports 10.2 vesion. When he compiled project on his machine, he got following configuration error. 

Could not load file or assembly 'CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

Solution
In order to fix this problem, I recommended him to install crystal reports runtime CRRedist2005_x86.msi  which could be downloaded after googling it otherwise if any of your computer has VS 2005, you can find it at following path.

root\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\CrystalReports\CRRedist2005_x86.msi

No comments: