Crxi Net Deployment
Crxi Net Deployment
Crxi Net Deployment
.NET
Application Deployment
Overview
This document discusses the options for deploying Visual Studio .NET
applications built using the stand-alone version of Crystal Reports XI for
use in both Visual Studio 2002 and Visual Studio 2003. Both merge
modules and server install packages are discussed.
Contents
INTRODUCTION ............................................................................................ 2
INCLUDING REPORTS IN .NET APPLICATIONS ................................................ 2
OVERVIEW OF DEPLOYMENT METHODS ......................................................... 3
DEPLOYING USING THE MERGE MODULES ..................................................... 3
Report files (.rpt)..........................................................................................3
Crystal Reports merge modules ...................................................................3
Crystal11_NET_EmbeddedReporting.msm ................................................ 4
CrystalReports11_Maps.msm ....................................................................... 4
3/29/2006 1:33:00 PM
Page 1
Application Deployment
Introduction
Crystal Reports XI extends the powerful reporting capability of Crystal
Reports on the Microsoft .NET platform. You can use the Crystal Reports
Designer in Visual Studio .NET (VS .NET) to create a new Crystal Report
or modify an existing Crystal report.
You can keep the report on a local computer or publish it as a Report
Web Service on a web server. Depending on whether you develop a
Windows or web application, you can host the report with either the
Windows Forms Viewer or the Web Forms Viewer, respectively.
2.
Using the above steps will not compile the report into the assemblys
manifest, therefore, reports will have to be loaded from disk. Reports can
be loaded from disk by specifying a file path using the Load method of
the ReportDocument object.
When deploying applications that do not embed report files, the report
files must be manually added to the setup projects. The advantage of
keeping reports outside of the assembly is that reports can be easily
modified and redeployed without having to recompile and redeploy the
entire assembly. The disadvantage is that strongly-typed report objects
cannot be used in the application and the reports must be loaded from
the hard-drive.
3/29/2006 1:33:00 PM
crxi_net_deployment.doc
Page 2
Application Deployment
Both scenarios install the same files; however the method of deployment
is different. Merge modules are provided for those developers who want
to include the Crystal Reports runtime files along with the install
package for the surrounding application. The sever install is provided
for those developers who simply want to deploy the files to a server
machine as a stand-alone task.
3/29/2006 1:33:00 PM
Crystal11_NET_EmbeddedReporting.msm
CrystalReports11_maps.msm (optional)
crxi_net_deployment.doc
Page 3
Application Deployment
Crystal11_NET_EmbeddedReporting.msm
This merge module contains CrystalReportViewer controls, Crystal
Reports .NET SDK assemblies, RAS SDK Assemblies, report processing
engine, database components and export components. This merge
module is always required for Crystal Reports XI .NET applications.
CrystalReports11_Maps.msm
This merge module is used to install the files required to display
geographic maps inside reports. This merge module is only required if
geographic mapping is included in your reports.
crxi_net_deployment.doc
Page 4
Application Deployment
NOTE
1.
In VS .NET, open your web application and on the View menu click
Solution Explorer.
2.
3.
Click Setup and Deployment Projects in the left pane, click Web
Setup Project in the right pane, and then click OK.
4.
5.
While pressing the CTRL key, click both Primary Output and
Content Files.
6.
Click OK.
7.
8.
If you deploy a web application that uses an ADO .NET Dataset, then include the two
additional merge modules listed in the Runtime section above.
9.
crxi_net_deployment.doc
Page 5
Application Deployment
NOTE
1.
In VS .NET, open your web application and on the View menu click
Solution Explorer.
2.
3.
Click Setup and Deployment Projects in the left pane, click Setup
Project in the right pane, and then click OK.
4.
5.
While pressing the CTRL key, click both Primary Output and
Content Files.
6.
Click OK.
7.
8.
If you deploy a Windows application that uses an ADO.NET Dataset, include the two
additional merge modules listed in the Runtime section above.
9.
3/29/2006 1:33:00 PM
crxi_net_deployment.doc
Page 6
Application Deployment
2.
Set the value of a specific driver to 1, to include the driver with your
deployment project.
3.
Set the value of a specific driver to 0, to exclude the driver from your
deployment project.
Property name for database escription
driver
InstallACT
rystal Reports database driver for
CT databases.
InstallBTRIEVE
rystal Reports database driver for
ervasive database.
InstallCDO32
rystal Data Object database driver.
InstallCRDB_ADO
Crystal Reports database driver for
Microsoft ActiveX Data Objects/OLE
DB.
InstallCRDB_ADOPLUS
Crystal Reports database driver for
Microsoft ADO.NET.
InstallCRDB_CDO
Crystal Reports database driver for
Crystal Data Object.
InstallCRDB_COM
Crystal Reports database driver for
COM data provider.
InstallCRDB_DATASET
Crystal Reports database driver for
DataSet provider.
InstallCRDB_ODBC
Crystal Reports database driver for
ODBC.
3/29/2006 1:33:00 PM
crxi_net_deployment.doc
Page 7
Application Deployment
InstallCRDB_ORACLE
InstallCRDB_QUERY
InstallDAO
InstallFIELDDEF
InstallFILESYSTEM
InstallIBM_DB2
InstallINFORMIX
InstallP2BBDE
InstallP2BXBSE
InstallP2IXBSE_DLL
InstallP2SACL
InstallP2SEVT
InstallP2SEXSR
InstallP2SMAPI
InstallP2SMSIIS
InstallP2SOUTLK
InstallP2SREPL
InstallP2STRACK
InstallP2SWBLG
InstallSYBASE
3/29/2006 1:33:00 PM
crxi_net_deployment.doc
Page 8
Application Deployment
2.
Set the value of a specific driver to 1, to include the driver with your
deployment project.
3.
Set the value of a specific driver to 0, to exclude the driver from your
deployment project.
Property name for export
driver
InstallU2DMAPI
InstallU2DNOTES
InstallU2DVIM
InstallU2FCR
InstallU2FHTML
InstallU2ODBC
InstallU2FPDF
InstallU2FREC
InstallU2FRTF
InstallU2SEPV
InstallU2FTEXT
InstallU2FXLS
InstallU2FXML
Description
Crystal Reports export driver for
MAPI Export Format.
Crystal Reports export driver for
Lotus Notes Database Destination
Export Format.
Crystal Reports export driver for
Lotus Notes Mail Export Format.
Crystal Reports export driver for
Report Export Format.
Crystal Reports export driver for
HTML 4.0 Export Format.
Crystal Reports export driver for
ODBC Export Format.
Crystal Reports export driver for PDF
Export Format.
Crystal Reports export driver for
Records Export Format.
Crystal Reports export driver for Rich
Text (rtf) Export Format.
Crystal Reports export driver for
Separated Export Values Format.
Crystal Reports export driver for Text
Export Format.
Crystal Reports export driver for
Excel Export Format.
Crystal Reports export driver for
XML Export Format.
2.
3.
3/29/2006 1:33:00 PM
Description
crxi_net_deployment.doc
Page 9
Application Deployment
directory installation
InstallViewerVirtualDir
.NET framework
Since projects created in VS.NET rely on the NET Framework, the
framework must also be distributed and/or installed on the target
computer. When a setup project is created, usually the framework is not
automatically included. There are several ways to distribute the
framework. For more information refer to the following link:
http://msdn.microsoft.com/netframework/downloads/framework1_1/
3/29/2006 1:33:00 PM
crxi_net_deployment.doc
Page 10
Application Deployment
Additional Resources
For additional .NET information and resources, visit these sites:
.NET Product site:
http://www.businessobjects.com/products/reporting/crystalreports/n
et/default.asp
Developer Zone:
http://www.businessobjects.com/products/dev_zone/default.asp
Listing of sample applications:
http://support.businessobjects.com/fix/samplescr.asp
www.businessobjects.com
No part of the computer software or this document may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system,
without permission in writing from Business Objects.
The information in this document is subject to change without notice. Business Objects does not warrant that this
document is error free.
This software and documentation is commercial computer software under Federal Acquisition regulations, and is
provided only under the Restricted Rights of the Federal Acquisition Regulations applicable to commercial computer
software provided at private expense. The use, duplication, or disclosure by the U.S. Government is subject to
restrictions set forth in subdivision (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at
252.227-7013.
The Business Objects product and technology are protected by US patent numbers 5,555,403; 6,247,008;
6,578,027; 6,490,593; and 6,289,352. The Business Objects logo, the Business Objects tagline,
BusinessObjects, BusinessObjects Broadcast Agent, BusinessQuery, Crystal Analysis, Crystal Analysis
Holos, Crystal Applications, Crystal Enterprise, Crystal Info, Crystal Reports, Rapid Mart, and
WebIntelligence are trademarks or registered trademarks of Business Objects SA in the United States
and/or other countries. Various product and service names referenced herein may be trademarks of
Business Objects SA. All other company, product, or brand names mentioned herein, may be the
trademarks of their respective owners. Specifications subject to change without notice. Not responsible for
errors or omissions.
Copyright 2005 Business Objects SA. All rights reserved.
3/29/2006 1:33:00 PM
crxi_net_deployment.doc
Page 11