Link to home
Start Free TrialLog in
Avatar of SQLMAN1951
SQLMAN1951

asked on

How to deploy Crystal Report 10 and Visual Studio .NET 2005

I'm trying to deploy my application written in C# VS.NET 2005 with Crystal Report. My app is simple it does not embed report into the application, it calls the report using obj.load() etc.
I created the setup project, add the reports,  then use merge module to add the *.MSM files into my setup project.
The MSM files added are below
Crystal_Managed2003.msm
Crystal_Database_Access2004.msm
Crystal_Database_Access2004_enu.msm
Crystral_RegWiz2004.msm
VC_User_CRT71_RTL_x86.msm
VC_User_STL71_RTL.msm

Also I added the lic key in Cystal_RegWiz2003.
When I create the setup files, the installation on the client is fine, but everytime I try to run the report, I get the error as below
System.IO.FileNotFoundException: File or assembly name CrystalDecisions.Windows.Forms, or one of its dependencies, was not found.
File name: "CrystalDecisions.Windows.Forms"
etc.
Anyone have any idea ?
I noticed when I try to add the Project Output in VS Setup. The dialog is empty - according to VS document. I was suppose to select Primary output. I don't know if this make any different
Thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of janmarini
janmarini

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 dylanyee
dylanyee

download the merge module from here

Merge Modules for Crystal Reports 10 .NET Deployments
http://support.businessobjects.com/fix/merge_modules.asp#02

If you are using RDC, download the Merge Modules for Crystal Reports 10 RDC Deployments instead.

Follow the instruction from here, it will tell you which files to include for deployment.
http://support.businessobjects.com/communityCS/TechnicalPapers/deploying_cr10_net.pdf.asp

dylan
Avatar of SQLMAN1951

ASKER

Jan, Thank you very much.

Dylan, Thank you for the extra detail.
Glad to help :-)