Click here to Skip to main content
Click here to Skip to main content

Deploying a .NET Application with Crystal Reports

By , 29 Aug 2006
 

Introduction

Crystal Reports often cause problems in .NET deployment package. Errors like “Can't find keycode32.dll” are likely to occur if the license key is not provided during creation of deployment package. To include license information, use the following procedure.

Create a Sample Deployment project.

Step1

Type the name of your project in the Name: Field “Setup” as in our example.

Now click the Application Folder from the left Pane (“File System on the Target Machine”) , then right click anywhere on the right yet empty pane and select Add > File from shortcut menu.

Step2

Go to the bin directory of your desired .NET application (which is already built) and select the *.exe file. This will add necessary references of all the assemblies required.

Step4

Now go to Solution Explorer and right click on Setup and select Add > Merge Module…

Step4

From Add modules dialog box, select the first four files namely Crystal_Database_Access2003.msm, Crystal_Database_Access2003_enu.msm, Crystal_Managed2003.msm and Crystal_regwiz2003.msm and click Open.

Step 5

Now again from Solution Explorer, right click on crystal_regwiz2003.msm and select properties. Set license key value under MergeModuleProperties > License key as “AAP50-GS00000-U7000RN”.

Step6

Step7

You can find license key information through the About box.

To see how to go to Help menu of Visual Studio 2003, click About Microsoft Development Environment and locate Crystal Reports for Visual Studio.NET.

Step 8

History

  • 29th August, 2006: Initial post

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Muhammad Shahbaz Saleem
Software Developer (Senior) Stratasoft, TRG(The Resource Group)
Pakistan Pakistan
Member
My name is Muhammad Shahbaz Saleem. I am an enterprise application developer and a strong advocate of re-usability and cross-platform development. I am also an admirer of interactive UI technologies and love to play with AJAX, CSS, JQuery etc. Since 2005, I have been involved in solving architectural problems and evolving complex requirements into simple and robust solutions for desktop, mobile and the Web.
 
As a person, I am opinionated and always love a good debate; I have a lot to say about software engineering, design patterns, service-oriented architecture and mobile computing.
 
You can email me at mshahbazsaleem[at]gmail[dot]com
OR
If you like to talk here is my s@k@y@p@e id m[dot]shahbaz[dot]saleem

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionDeploying DotNET Application with Crystal Reportsmembersalimkim26 Apr '07 - 22:35 
Hi there i hope you can assist me on this well i have developed a file management software in VB 2005 which uses crystal reports 10 whenever i deploy the application i got an error that some assemblies were missing which i went back and added them manually.These are the assemblies names
CrystalDecisions.CrystalReports.Engine.dll
CrystalDecisions.ReportSource.dll
CrystalDecisions.Shared.dll
CrystalDecisions.Windows.Forms.dll
But then after this i ran the application and now it shuts down anytime i run the reports.
It may be simple but am totally stuck please help
 
Salim Kimanthi

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 29 Aug 2006
Article Copyright 2006 by Muhammad Shahbaz Saleem
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid