954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to deploy a Windows application with crystal report

Hi,

How to deploy a windows application with crystal report? I have developed it with VS 2008 on C#. Crystal report on it is 10.5.

While i created set up and installed, reports are not working and an exception occured as follows
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
Inner Exception
Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 8007007e.
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
Stack Trace : at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()

Any one can solve this?

Thanks.

Manjidotnet
Newbie Poster
1 post since Dec 2008
Reputation Points: 10
Solved Threads: 0
 

Include it as a dependancy in your packaging product?

LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190
 

you can deploy crystal reports in two ways.

1. Add CRRedist2005_x86.msi file to your setup file and distribute it as a single setup file with your C# application.

http://csharp.net-informations.com/crystal-reports/csharp-crystal-deploy.htm

2. Create a Crystal Reports installer using Merge Modules.

http://csharp.net-informations.com/crystal-reports/csharp-crystal-merge-module.htm

jer.

jerry32uk
Newbie Poster
14 posts since Apr 2008
Reputation Points: 10
Solved Threads: 1
 

You have to ensure that your application must use a licensed version of Crystal Report Engine.

__avd
Posting Genius (adatapost)
Moderator
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You