We help IT Professionals succeed at work.

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

SQLMAN1951
SQLMAN1951 asked
on
Medium Priority
1,313 Views
Last Modified: 2010-07-27
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
Comment
Watch Question



Please see the following for information on Crystal Reports 10 and .Net Application Deployment:

http://support.businessobjects.com/communityCS/TechnicalPapers/deploying_cr10_net.pdf.asp

I think you need -

CrystalReports10_NET_EmbeddedReporting.msm

• This merge module contains the Windows Form and Web Forms viewers (CrystalReportViewer controls), .NET SDK assemblies, RAS SDK, report processing engine, database and export components.

-Jan

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Commented:
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

Author

Commented:
Jan, Thank you very much.

Dylan, Thank you for the extra detail.
Glad to help :-)
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.