Link to home
Start Free TrialLog in
Avatar of indikad
indikad

asked on

could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=nutral, PublicKeyTocke=....' or one of its dependencies. The system cannot find the file specified.

I have developed a C#  windows application using the Crystal Viewer component
Visual Studio 2005 enterprise.

I have downloaded the merge module for Crystal version 11 release 2 and used it in my installer. nstalled on a test PC with Win XP. But when I run the application I get the follwing error. Have I got the correct merge module??? ( by the way The development machine has Crystal Reports version 10 along with Visual Studio 2005 and this error does not occur in it ...)

"could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=nutral, PublicKeyTockey=....' or one of its dependencies. The system cannot find the file specified."

the download detais of the merge module was as below
"Merge Modules for Crystal Reports XI Release 2 (Service Pack 3 + Fix Pack 3.5) .NET Deployments - This file contains the merge modules required for deploying applications using Crystal Reports XI Release 2 - Service Pack 3 for Visual Studio .NET."

the link I got it from was
http://support.businessobjects.com/downloads/runtime.asp
( and scroll down till you find
Merge Modules for Crystal Reports XI Release 2 (Service Pack 3 + Fix Pack 3.5) .NET Deployments - This file contains the merge modules required for deploying applications using Crystal Reports XI Release 2 - Service Pack 3 for Visual Studio .NET.

Multi-Language Build (crXIr2sp3_net_merge_modules.zip)

Thanks.


I



Avatar of rachitkohli
rachitkohli
Flag of India image

Try including crystal reports runtime throught Prerequisites. Following is the procedure :
I assume u must be having a setup project made to deploy your application. Right click on the Setup Project, go in properties, click on Prerequisites Button.
A window will show up listing the prerequisites to be checked for your application.
Select the first checkbox "Create Setup program to install ..."
Then from the list, Check "Crystal Reports for .NET Framework 2.0"

And select second option for the install locations "Download Prerequisites from the same location as my application" - then OK.

Try to build this project & then deploy it. Hopefully it should work.
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of indikad
indikad

ASKER

thanks. the merge module you gave worked.