Click here to Skip to main content
6,292,426 members and growing! (9,960 online)
Email Password   helpLost your password?
Platforms, Frameworks & Libraries » .NET Framework » General     Beginner License: The Code Project Open License (CPOL)

Deploying a .NET Application with Crystal Reports

By Muhammad Shahbaz Saleem

Deploying a .NET application with Crystal Reports
VB, Windows, .NET 1.1VS.NET2003, Dev
Posted:29 Aug 2006
Views:53,313
Bookmarked:33 times
Announcements
Loading...
 
Search    
Advanced Search
printPrint   Broken Article?Report       add Share
  Discuss Discuss   Recommend Article Email
16 votes for this article.
Popularity: 4.79 Rating: 3.97 out of 5
2 votes, 12.5%
1

2

3
2 votes, 12.5%
4
12 votes, 75.0%
5

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


Member
i'm Muhammad Shahbaz Saleem i've Bcs(Hons)degree in computer science and has been using .NET espacialy CSharp and VB.NET since 2005 . I like to develop tools to reduce time envolved in development , so one can have more time to understand the problem rather than implementation.
Occupation: Web Developer
Location: Pakistan Pakistan

Other popular .NET Framework articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 18 of 18 (Total in Forum: 18) (Refresh)FirstPrevNext
Questiondeployment with crystal reports Pinmemberdevaraja3:56 9 Apr '08  
GeneralNeed some help with crystal reports PinmemberGaliaB0:58 5 Aug '07  
GeneralRe: Need some help with crystal reports PinmemberMuhammad Shahbaz Saleem20:43 5 Aug '07  
GeneralRe: Need some help with crystal reports PinmemberGaliaB21:56 5 Aug '07  
GeneralRe: Need some help with crystal reports PinmemberMuhammad Shahbaz Saleem20:14 6 Aug '07  
GeneralRe: Need some help with crystal reports PinmemberGaliaB9:44 7 Aug '07  
QuestionPDF file into Crystal report Pinmemberelgee778:44 23 Jun '07  
QuestionDeploying DotNET Application with Crystal Reports Pinmembersalimkim23:35 26 Apr '07  
GeneralCrystal report deployment in 2005, Very Urgent PinmemberMeena Trivedi2:57 3 Apr '07  
AnswerRe: Crystal report deployment in 2005, Very Urgent PinmemberMuhammad Shahbaz Saleem3:47 3 Apr '07  
GeneralFailed to open connection... PinmemberDeester10:58 11 Jan '07  
GeneralRe: Failed to open connection... PinmemberMuhammad Shahbaz Saleem19:18 11 Jan '07  
GeneralAsp.net web report does not show properly Pinmemberyaselp12:49 8 Nov '06  
GeneralGood solution! PinmemberShahNawazMR22:34 30 Aug '06  
GeneralRe: Good solution! Pinmemberjamesvickers10:04 7 Sep '06  
Generalneat article [modified] Pinmemberpontonet4:55 30 Aug '06  
GeneralRe: neat article PinmemberMuhammad Shahbaz Saleem18:51 30 Aug '06  
GeneralRe: neat article Pinmembervik2020:45 5 Sep '06  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 29 Aug 2006
Editor: Deeksha Shenoy
Copyright 2006 by Muhammad Shahbaz Saleem
Everything else Copyright © CodeProject, 1999-2009
Web12 | Advertise on the Code Project