Crystal Reports XI Release 2

Similar documents
Crystal Reports 10 and.net

Report Designer Component 10

Crystal Reports Overview. Contents. Supported Platforms. This document lists specific platforms and configurations for Crystal Reports 2008.

Crystal Reports XI Release 2 for Windows

Overview of the Data Sources Available in Seagate Analysis 7 (Standalone)

Crystal Reports.Net 1.1 Patch

Developing Microsoft.NET Applications for Windows (Visual Basic.NET)

Crystal Reports 2008 FixPack 2.4 Known Issues and Limitations

Crystal Reports 2008 with Service Pack 0

Crystal Reports XI Release 2 Service Pack 4

SAS Enterprise Guide 3.0 for Windows

Authoring Installations for Microsoft s.net Framework

Crystal Reports Family of Offerings

Argumentative Development Notes

Enterprise Guide Version 2.0 for Windows

Crystal Reports XI Release 2

Crystal Reports for Visual Studio.NET

Crystal Reports. Abstract. Document Background. Contents. Support on Vista

Introduction to.net Deployment. Brian Noyes IDesign, Inc. (

Getting Started with Visual Studio.NET

Installing ArcIMS 9.1 on Windows

Crystal Enterprise. Overview. Contents. Web Server Overview - Internet Information System (IIS)

PROGRAMMING WITH THE MICROSOFT.NET FRAMEWORK USING MICROSOFT VISUAL STUDIO 2005 Course No. MS4995A 5 Day PREREQUISITES COURSE OUTLINE

Crystal Reports Feature Comparison by Version and Edition

SECURED PROGRAMMING IN.NET DETAILED TRAINING CONTENT INDUSTRIAL TRAINING PROGRAM ( )

3 Setting BI Launch Pad and Web Intelligence Preferences

Update Guide

AccuRoute Web Client v2.0 installation and configuration guide

Crystal Reports 10. Overview. Contents. Supported and Tested Platforms. This document lists the supported and tested platforms for Crystal Reports 10.

Building Windows Applications with.net. Allan Laframboise Shelly Gill

Crystal Reports. Overview. Contents. How to report off a Teradata Database

M Introduction to C# Programming with Microsoft.NET - 5 Day Course

Developing Microsoft.NET Applications for Windows (Visual C#.NET)

Crystal Report Parameter Default Value Current Date

2609 : Introduction to C# Programming with Microsoft.NET

IDEA 3.4 Upgrade Instructions

Saikat Banerjee Page 1

BusinessObjects Edge Series - Premium for Windows

InstallAware for Windows Installer, Native Code, DRM, Virtualization

Crystal Enterprise. Overview. Contents. Installation FAQ: Crystal Enterprise 9 & 10

TRAINING GUIDE FOR OPC SYSTEMS.NET. Simple steps to successful development and deployment. Step by Step Guide

Department of Computer Applications

This section provides an overview of developing with the BillQuick Software Development Kit.

Guide to Deploy the AXIGEN Outlook Connector via Active Directory

Index COPYRIGHTED MATERIAL. Symbols and Numerics

PDSA. Developer's Guide to Reporting Services 2008 R2. design» architecture» security» training» best practices:pdsa.com

Introduction to.net Framework Week 1. Tahir Nawaz

appcompass Developer s Guide For: appcompass Data Integration Studio appcompass Business Rules Studio appcompass Visual Studio Editions

AUTHENTICATED WEB MANAGEMENT SYSTEM

Crystal Enterprise. Overview. Contents. Configuring the Crystal Enterprise SDK for Firewalls

Introduction to Programming Microsoft.NET Framework Applications with Microsoft Visual Studio 2005 Course #MS4994A 5 Days COURSE OUTLINE

Walkthrough Using the New CLR Interop Feature of Microsoft Dynamics AX

Hotfix 913CDD03 Visual Data Explorer and SAS Web OLAP Viewer for Java

BI Launch Pad User Guide SAP BusinessObjects Business Intelligence platform 4.0 Support Package 2

Getting Started with Visual Basic 2005 Express Edition

Upgrading to CR 2008 V1 / SP1

Job Aid. Remote Access BAIRS Printing and Saving a Report. Table of Contents

SilkTest 2010 R2. Installation Guide

Integrating SAP Portal Content into Microsoft SharePoint Portal Server

Workspace Administrator Help File

Monitoring Server Deployment Guide for PerformancePoint Server 2007

Release Bulletin DataWindow.NET 2.5

InstallAware for Windows Installer

Sage X3 Intelligence Financial Reporting. Installation and Upgrade Guide

TIBCO iprocess Server Objects (.NET) Installation

Colligo Contributor 4.3 SP6. Release Notes

Measurement Studio Measurement Computing Edition

Release Bulletin InfoMaker 11.2

Microsoft Dynamics NAV Windows Client Requirements

New Features PowerBuilder 12.0

To get started with Visual Basic 2005, I recommend that you jump right in

154 Student Guide. 29. ActiveX. Chapter 29. ActiveX. Copyright 2001, Intellution, Inc. 29-1

Certified Enterprise Applications Integration Specialist (With Microsoft BizTalk Server) Sample Material

Microsoft Visual C++.NET Professional Projects By Sripriya

Cookbook for using SQL Server DTS 2000 with.net

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Welcome to SQL Server Integration Services 1. Chapter 2: The SSIS Tools 21

Developing DB2 CLR Procedures in VS.NET

Interactive Analysis Getting Started Guide Interactive Analysis 1.0

Developing DB2 CLR Procedures in VS.NET

Choosing a Development Tool

Supervisor Insight. Installation Guide.

Installation Guide for Pulse on Windows Server 2012

DiskBoss DATA MANAGEMENT

Introduction. Application Versions. Scenario 1: Importing All Dependent Files

MII - Crystal Reports Configuration Guide

CONTENTS. p r e m i u m e d i t i o n 2008

Administrator s Guide to deploying Engagement across multiple computers in a network using Microsoft Active Directory

SAP BusinessObjects Enterprise Upgrade Guide

Hyperion Application Builder for.net. Readme. Release

All India Council For Technical Skill Development (AICTSD) In Association with IITians Embedded Technosolution

10267A CS: Developing Web Applications Using Microsoft Visual Studio 2010

Installation and Getting Started

5.1 Configuring Authentication, Authorization, and Impersonation. 5.2 Configuring Projects, Solutions, and Reference Assemblies

SAP BusinessObjects Integration Option for Microsoft SharePoint Getting Started Guide

Crystal Reports 2008 with Service Pack 4 for Windows Supported Platforms

USER GUIDE Deployment

Getting Started with EPiServer 4

Important notice regarding accounts used for installation and configuration

PRODUCT DATA. Reporting Module Type 7832

Installing GainSeeker client version 8.8.1

Transcription:

Overview This document discusses the options for deploying Crystal Reports XI Release 2.NET applications for use in Visual Studio.NET 2002 and Visual Studio.NET 2003. Specifically, merge modules and interactive install packages are discussed. NOTE If you are using Visual Studio.NET 2005, use the help that is installed with Crystal Reports XI Release 2 to deploy your applications. To access the help, in Visual Studio.NET 2005, complete these steps: 1. On the Help menu, click Contents. 2. Expand Crystal Reports XI Release 2 and then click Deployment. Refer to this link for more information about the Visual Studio.NET 2005 deployment options: http://support.businessobjects.com/documentation/product_guides/cr_net/vs_2005/ Contents INTRODUCTION... 3 DISTRIBUTING REPORT FILES...3 Embedding reports...3 Manually adding reports...3 OVERVIEW OF DEPLOYMENT METHODS...4 DEPLOYING APPLICATIONS USING MERGE MODULES...4 Adding required components...4 Crystal Reports files (.rpt)... 4 Crystal Reports XI Release 2 merge modules... 4 Customizing your installation...5 Database drivers... 5 Export drivers... 7 crystalreportviewers115 IIS virtual directory... 8 Distributing and/or installing runtime files...8.net framework... 8 ADO.NET... 8 Creating deployment packages for web applications...9 Creating deployment packages for Windows applications...10 11/22/2005 5:15:00 PM Copyright 2003 BusinessObjects. All Rights Reserved. Page 1

DEPLOYING APPLICATIONS USING INTERACTIVE INSTALL...11 ADDITIONAL RESOURCES...12 11/22/2005 5:15:00 PM Copyright 2005 Business Objects SA. All Rights Reserved. Page 2

Introduction Crystal Reports XI Release 2 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 or modify Crystal reports. You have the option of storing the report locally or publishing it as a report web service on a web server. Depending on whether you have a Windows or web application, you can host the report using the Windows Form Viewer or the Web Forms Viewer, respectively. Distributing report files Embedding reports When reports are added to a VS.NET 2002 or 2003 application that contains embedded reports, they are added as embedded resources. That is, the report will be compiled into the assembly s manifest and will not be loaded from a separate report (.rpt) file. NOTE Reports are not added as embedded resources in VS.NET 2005 web applications. Having reports as embedded resources allows.net applications to be distributed and deployed without having to distribute report files separately. As a result, you are not required to deploy external report files with your applications, and end users cannot modify them. Manually adding reports When deploying applications that do not embed report files, the report files must be manually added to the setup projects. As a result, reports can be easily modified and redeployed without having to recompile and redeploy the entire assembly. However, strongly-typed report objects cannot be used in the application and the reports must be loaded from disk. To manually add a report to your application, complete these steps: 1. 2. 3. After adding a report to a project, click the report in the.net Solution Explorer window. In the Properties dialog box, change the Build Action property from Embedded Resource to None. Load reports from disk by specifying a file path using the Load method of the ReportDocument object. 11/22/2005 5:15:00 PM Copyright 2005 Business Objects SA. All Rights Reserved. Page 3

Overview of deployment methods There are two options for deploying Crystal Reports XI runtime files: Using merge modules Using an interactive install (also known as a redistributable or server install) While both options install the same files, the method of deployment differs. If you wish to include Crystal Reports runtime files with the application install package, then use the merge modules option. If you wish to deploy the Crystal Reports runtime files to a server computer as a standalone task, then use the interactive install option. Deploying applications using merge modules Adding required components The components to add to setup projects for distributing and deploying Crystal Reports XI Release 2 applications include the following: Crystal report files (.rpt) Crystal Reports XI Release 2 merge modules Crystal Reports files (.rpt) Crystal Reports files (.rpt) also need to be distributed when a.net application is deployed. How the report files are deployed depends on the need and architecture of the application. Refer to the previous section - Including Reports in.net Applications - for details on deploying report files. Crystal Reports XI Release 2 merge modules The merge modules that need to be added to the setup project are installed with Crystal Reports XI Release 2 in the \Program Files\Common Files\Merge Modules folder. Updated versions can also be downloaded from the Business Objects support site from the following location: http://support.businessobjects.com/fix/merge_modules.asp Earlier versions of Crystal Reports required three or more merge modules to be included in a setup project in order to deploy reports. For Crystal Reports XI Release 2, only one merge module is required to be included, while another merge module is optional. 11/22/2005 5:15:00 PM Copyright 2005 Business Objects SA. All Rights Reserved. Page 4

CrystalReports11_5_NET.msm (required) The CrystalReports11_5_NET.msm merge module contains viewer controls,.net SDK assemblies, Report Application Server (RAS) SDK assemblies, report processing engine, and database and export components. This merge module is always required for deploying Crystal Reports XI Release 2.NET applications. When you add CrystalReports11_5_NET.msm to a setup project, it exposes a Keycode property that must be set to a 23-digit alphanumeric license key. The license key is emailed to you after you register your product. After the key code has been added to your VS.NET system, you can find it on the Help menu by clicking About Microsoft Development Environment. The keycode is listed in the Installed Products list box. NOTE If the license key is not set for the CrystalReports11_5_NET.msm merge module, an error will occur when building the project. Also, if the setup project is installed on a target computer without specifying the correct license key for the merge module, various error messages will appear. Refer to the section Additional Resources for related knowledge base articles. CrystalReports11_5_maps.msm (optional) You would use this merge module if you are including geographic maps in your reports. This merge module installs the files required to display them. Customizing your installation With Crystal Reports XI Release 2 and Visual Studio.NET, the CrystalReports11_5_NET.msm merge module allows you to set the property values to install or not install certain database drivers, export drivers, as well as the crystalreportviewers115 IIS virtual directory. Database drivers 1. Click CrystalReports11_5_NET.msm in your deployment project and expand MergeModuleProperties. Table 1 displays the list of properties that are used to install database drivers. 2. Since by default, all database drivers are installed with CrystalReports11_5_NET.msm, set the property value of a specific driver to 0 to exclude it. 11/22/2005 5:15:00 PM Copyright 2005 Business Objects SA. All Rights Reserved. Page 5

Property Name Description InstallACT Crystal Reports database driver for ACT databases. InstallBTRIEVE Crystal Reports database driver for Pervasive database. InstallCDO32 Crystal 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. InstallCRDB_ORACLE Crystal Reports database driver for Oracle. InstallCRDB_QUERY Crystal Reports database driver for Query Data. InstallDAO Crystal Reports database driver for Microsoft Data Access Objects. InstallFIELDDEF Crystal Reports database driver for Field Definitions. InstallFILESYSTEM Crystal Reports database driver for File System data. InstallIBM_DB2 Crystal Reports database driver for DB2 Server. InstallINFORMIX Crystal Reports database driver for Informix Online Server. InstallP2BBDE Crystal Reports database driver for IDAPI. InstallP2BXBSE Crystal Reports database driver for xbase. InstallP2IXBSE_DLL Crystal Reports physical database DLL for xbase. InstallP2SACL Crystal Reports database driver for Public Folder ACL. InstallP2SEVT Crystal Reports database driver for NT Event log. InstallP2SEXSR Crystal Reports database driver for Exchange Server Admin. InstallP2SMAPI Crystal Reports database driver for Exchange Folders and Address Book. InstallP2SMSIIS Crystal Reports database driver for IIS 11/22/2005 5:15:00 PM Copyright 2005 Business Objects SA. All Rights Reserved. Page 6

InstallP2SOUTLK InstallP2SREPL InstallP2STRACK InstallP2SWBLG InstallSYBASE Log Files. Crystal Reports database driver for Outlook Data. Crystal Reports database driver for Exchange Public Folder Replica. Crystal Reports database driver for Exchange Server Message Tracking Logs. Crystal Reports database driver for Web Log Files. Crystal Reports database driver for Sybase. Table 1 Properties Used to Install Database Drivers Export drivers 1. Click CrystalReports11_5_NET.msm in your deployment project and expand MergeModuleProperties. Table 2 displays the list of properties that are used to install export drivers. 2. Since by default, all export drivers are installed with CrystalReports11_5_NET.msm, set the property value of a specific driver to 0 to exclude it. Property Name InstallU2DMAPI InstallU2DNOTES InstallU2DVIM InstallU2FCR InstallU2FHTML InstallU2ODBC InstallU2FPDF InstallU2FREC Description the export driver for MAPI Export Format. the export driver for Lotus Notes Database Destination Export Format. the export driver for Lotus Notes Mail Export Format. the export driver for Report Export Format. the export driver for HTML 4.0 Export Format. the export driver for ODBC Export Format. the export driver for PDF Export Format. the export driver for Records Export Format. 11/22/2005 5:15:00 PM Copyright 2005 Business Objects SA. All Rights Reserved. Page 7

InstallU2FRTF InstallU2SEPV InstallU2FTEXT InstallU2FXLS InstallU2FXML the export driver for Rich Text (rtf) Export Format. the export driver for Separated Export Values Format. the export driver for Text Export Format. the export driver for Excel Export Format. the export driver for XML Export Format. Table 2 Properties Used to Install Export Drivers crystalreportviewers115 IIS virtual directory 1. Click CrystalReports11_5_NET.msm in your deployment project and expand MergeModuleProperties property. The InstallViewerVirtualDir property is used to control whether the crystalreportviewers115 virtual directory is installed. 2. Since by default the crystalreportviewers115 IIS virtual directory is installed with CrystalReports11_5_Net.msm, set the property value to 0 to not install it. Distributing and/or installing runtime files.net framework Since VS.NET projects rely on the.net framework, the framework must also be distributed and/or installed on the target computer. Typically, when a setup project is created, the framework is excluded. Different merge modules are used depending on the version of the.net framework to which you are deploying. For more information on the different ways in which to distribute the framework, refer to the following information: http://msdn.microsoft.com/netframework/downloads/updates/defaul t.aspx ADO.NET If any of your report files are based on ADO.NET dataset objects, you will need to include certain merge modules, depending on the version of VS.NET you are using (see Table 3). 11/22/2005 5:15:00 PM Copyright 2005 Business Objects SA. All Rights Reserved. Page 8

VS.NET Version Merge Modules Relevant Files VS.NET 2002 VS.NET 2003 VC_CRT.msm VC_User_CRT71_RTL_X 86_---.msm VC_STL.msm VC_User_STL71_RTL_X8 6_---.msm Msvcr70.dll Msvcp70.dll Msvcr71.dll Msvcp71.dll Table 3 Merge Modules for ADO.NET The files from these merge modules must be available to the application by either placing them in the application folder (recommended) or in the system path. Creating deployment packages for web applications Before deploying your ASP.NET web application, ensure that you have a web application or web services application ready for deployment. To create a deployment package for your ASP.NET web application, complete these steps: 1. Open your web application in VS.NET and on the View menu, click Solution Explorer. 2. Right-click your web application, click Add, and then click New Project. The Add New Project dialog box appears. 3. Click Setup and Deployment Projects, click Web Setup Project, and then click OK. 4. In the Solution Explorer, right-click the web setup project, click Add, and then click Project Output. The Add Project Output Group dialog box appears. 5. Choose the primary output and content files to add to your web setup project, and then click OK. When the Primary Output is added to the project, some detected dependencies are added. Ensure that the dotnetfxredist_x86_enu.msm and dotnetcrystalreports.msm dependencies are excluded. 6. In the Solution Explorer, right-click the web setup project, click Add, and then click Merge Module. The Add Modules dialog box appears. 7. Click the CrystalReports11_5_NET.msm merge module, add it to your project, and then click OK. 11/22/2005 5:15:00 PM Copyright 2005 Business Objects SA. All Rights Reserved. Page 9

NOTE If you deploy a web application that uses an ADO.NET Dataset, you also need to include the two additional Microsoft merge modules listed in the Runtime files section. 8. In your web setup project, click the CrystalReports11_5_NET.msm merge module to display the properties. 9. Expand MergeModuleProperties and type a valid license key in the Keycode Properties dialog box. The license key is the 23-digit alphanumeric string that is located on your Crystal Reports CD. 10. Customize your install by excluding unneeded database and export DLL files. For more information, refer to the section Customizing your installation. 11. To build your web setup project, right-click your deployment package (websetup1) in the Solution Explorer and then click Build. You are now ready to deploy your ASP.NET web application. Creating deployment packages for Windows applications Before deploying your ASP.NET Windows application, ensure that you have a Windows application ready for deployment. To deploy a Windows application, complete these steps: 1. Open your Windows application in VS.NET and on the View menu, click Solution Explorer. 2. Right-click your Windows application, click Add, and then click New Project. The Add New Project dialog box appears. 3. Click Setup and Deployment Projects, click Web Setup Project, and then click OK. 4. In the Solution Explorer, right-click the Windows application, click Add, and then click Project Output. The Add Project Output Group dialog box appears. 5. Choose the primary output and content files to add to your web setup project, and then click OK. When the Primary Output is added to the project, some detected dependencies are added. Ensure that the dotnetfxredist_x86_enu.msm and dotnetcrystalreports.msm dependencies are excluded. 6. In the Solution Explorer, right-click the Windows Setup project, click Add, and then click Merge Module. The Add Modules dialog box appears. 7. Click the CrystalReports11_5_NET.msm merge module, add it to your project, and then click OK. 11/22/2005 5:15:00 PM Copyright 2005 Business Objects SA. All Rights Reserved. Page 10

NOTE If you deploy a Windows application that uses an ADO.NET Dataset, you also need to include the two additional Microsoft merge modules listed in the Runtime section above. 8. In your setup project, click the CrystalReports11_5_NET.msm merge module to display the properties. 9. Expand MergeModuleProperties and type a valid license key in the Keycode Properties dialog box. The license key is the 23-digit alphanumeric string that is located on your Crystal Reports CD. 10. To build your Setup project, right-click your deployment package (setup1) in the Solution Explorer and then click Build. You are now ready to deploy your ASP.NET Windows application. Deploying applications using interactive install You must have Crystal Reports XI Release 2 Developer Edition or Crystal Reports Server XI Release 2 in order to use the interactive install. When deploying a web application or deploying multiple Windows applications to the same computer, it is recommended that you install the dependency files separately. This Windows installer package, CrystalRedist115_x86.msi, is located in the \Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\CrystalReports folder. You may find the updated versions of the Crystal Reports XI Release 2 install package at this location: http://support.businessobjects.com/fix/merge_modules.asp To perform an interactive install, complete these steps: 1. Run the install (.msi) file on the deployment computer. 2. Type your Crystal Reports XI Release 2 license key code when prompted. The license key code may be found by clicking About Microsoft Development Environment on the Help menu of Visual Studio.NET. 11/22/2005 5:15:00 PM Copyright 2005 Business Objects SA. All Rights Reserved. Page 11

Additional Resources Knowledge Base Articles c2010681 - Invalid or Missing KeycodeV2.dll c2012716 - Job Failed Because a Free License Could not be Obtained c2011205 - Err Msg: Cannot find keycodev2.dll or invalid keycode Whitepapers Crystal Reports XI.NET Application Deployment http://support.businessobjects.com/communitycs/technicalpapers/cr xi_net_deployment.pdf.asp Troubleshooting Error Messages Related to the Keycodev2.dll Error Message http://support.businessobjects.com/communitycs/technicalpapers/cr net_keycodev2.pdf.asp.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 Support Site http://support.businessobjects.com/search/ Sample Applications http://support.businessobjects.com/fix/samplescr.asp Contacting Technical Support http://support.businessobjects.com/fix/contact.asp 11/22/2005 5:15:00 PM Copyright 2005 Business Objects SA. All Rights Reserved. Page 12