在.NET环境中部署水晶报表V10

 原文出处(水晶报表官网):http://support.businessobjects.com/communityCS/FilesAndUpdates/cr10_net_merge_modules_chs.zip.asp

翻译如下,不对之处敬请斧正。如需转载,请注明出处!

 

Crystal Reports 10 and .NET

Application Deployment 应用部署

Overview概况

This document discusses the options for deploying Visual Studio .NET applications built using Crystal Reports 10 for Visual Studio .NET. Both merge modules and interactive install packages are discussed.

本文件讨论如何部署使用了Crystal Reports 10Visual Studio . NET应用程序。双方合并模块和交互式安装软件包讨论。

Contents

Introduction导言... 2

Deploying Reports in Visual Studio .NET Applications.net应用程序中部署报表    2

Overview of Deployment Scenarios部署设想概述... 3

Deploying Using the Merge Modules使用合并模块进行部署... 3

Report Files (.RPT) 报表文件... 3

Common Language Runtime 通用语言运行时... 3

Crystal Reports 10 Merge Modules Crystal Reports 10合并模块... 4

CrystalReports10_NET_EmbeddedReporting.msm.. 4

CrystalReports10_NET_RemoteReporting.msm.. 4

CrystalReports10_NET_WebServiceReporting.msm.. 4

CrystalReports10_Maps.msm.. 4

Deploying Using the Server Install (Interactive Install)使用服务器安装(互动安装)进行部署... 5

Usage Scenarios使用场景... 5

ASP.NET Web Application – Single Server 5

Windows Desktop Application (Thick Client) 5

ASP.NET or Windows Application Viewing Report Web Services. 6

ASP.NET or Windows Application using CE Embedded (RAS) or Crystal Enterprise水晶企业    6

Crystal Reports 10 Keycode水晶报表10Keycode. 6

Customizing the Database Driver Installation Options (Optional) 数据库驱动安装选项(可选)... 7

Deploying an ASP.NET Application. 8

Deploying a Windows Application. 9

Finding More Information寻找更多资料... 10

 

Introduction导言

Crystal Reports for Visual Studio .NET extends the powerful reporting capability of Crystal Reports on the Microsoft .NET platform. You can use the integrated Crystal Reports Designer in Visual Studio .NET to create a new Crystal report or modify an existing Crystal report. You can then 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 Form Viewer or the Web Forms Viewer respectively.

Visual Studio .NET水晶报表针对微软.NET平台扩展了报表能力。在Visual Studio .NET中可以使用Crystal Reports设计师,创建一个新的水晶报表或修改现有的水晶报表。然后,您可以将报告保持在一个本地计算机上,或者它作为一份报表, Web Service的一个网络服务器。取决于你开发的是WindowsWeb应用程序,你可以申办报告中,无论是与窗口的形式显示或网页形式浏览。

In addition to building Windows and ASP.NET Web applications using CR for VS .NET, you can build enterprise solutions used to view reports from CE Embedded (RAS) 10 and Crystal Enterprise (CE) 10.

此外,在VS.NET中使用水晶报表开发的Windowsasp.net Web应用程序,你可以构建企业解决方案,用来检视报表,从CE嵌入式( RA )中第10和水晶企业(行政长官) 10

For additional information and updates about Crystal Reports 10, please visit one of the following sites:

如需更多信息,更新Crystal Reports 10 ,请访问下列网站:

http://www.businessobjects.com/products/reporting/crystalreports/net/

http://www.businessobjects.com/products/dev_zone/net/

 

Deploying Reports in Visual Studio .NET Applications

.net应用程序中部署报表

When reports are added to a .NET Windows or Web application, they are added by default as an “Embedded Resource” for the application. What this means is that the report will be compiled into the assembly’s manifest, and will not be loaded from a separate report file (.RPT).

当报表被增加到. NETWindowsWeb应用程序中时,默认作为应用程序的"嵌入式资源"被增加。这意味着,该报告将编译成大会的表现,并不会从一个单独的报告文件(.RPT)中加载

This allows Visual Studio .NET applications to be distributed and deployed without having to distribute report files separately. The advantage of doing this is that applications do not have to deploy external report files and end users cannot modify them. The disadvantage is that if a report needed to be modified, the entire application needs to be recompiled and redeployed for the report changes to be saved.

这使得Visual Studio.NET的应用程序分发和部署时不必将报表文件(.RPT)分开。好处是这样做的是应用不须部署外部报表文件和最终用户不能修改他们。缺点是,如果报告需要修改,整个应用程序需要重新编译和重新调配,为报告的变化,才能得救。

To avoid reports being compiled into the assembly’s manifest as an embedded resource, change how the report is saved in the project. After adding a report to a project, highlight the report in the Solution Explorer window and from the Properties Window change the Build Action property from Embedded Resource to None. Building this project will not compile the report into its assembly and reports will have to be loaded from disk. Reports can be loaded by specifying a file path using the .Load() method of the ReportDocument object.

为了避免报表被编译成大会的表现作为一种嵌入式资源,将如何改变该报告是救了这个项目。工程中增加上一份报表后,在解决 方案窗口中选择该报表,并在属性窗口中改变Build Action属性(Embedded Resource->None)。编译工程时就不会将报表编译为工程的资源,报表必须从磁 盘加载。报告可用ReportDocument对象的.Load()方法从指定文件路径加载。

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 disk.

当部署没有嵌入报表文件的应用程序时,报表文件必须手动添加到安装项目。保存报表在应用程序之外的好处是,报表可以很方便地进行修改和重新调配,不必重新编译工程。缺点是强类型报表对象不能用于应用程序,并且报表必须在从磁盘加载。

Overview of Deployment Scenarios部署设想的概述

There are two scenarios for deploying the Crystal Reports 10 runtime files to a deployment machine:

有两个设想,在部署了Crystal Reports 10个运行档案,以部署机:

·         Using merge modules - Merge modules are provided for those developers who want to include the Crystal Reports 10 runtime files along with the install package for the surrounding application.

·         使用合并模块---合并模块是提供给那些要包括水晶报表V1 0的运行时包到应用程序安装软件包的开发者用的。

·         Using the server install (interactive install) - The server install is provided for those developers who simply want to deploy the files to a target machine as a standalone task. 

·         使用服务器安装(互动安装) ---服务器安装的是提供给那些只是希望部署文件到目标机作为一个独立的任务的开发者的。

If your application requires a RAS server, run the Crystal Enterprise Embedded Edition install on your deployed server. 

如果你的应用程序需要一个ras基因服务器,运行水晶企业内嵌版安装在您的部署服务器。

NOTE

注意

Your RAS server is licensed for deployment only if you have purchased Crystal Reports Advanced or have separately purchased Crystal Enterprise Embedded Edition.

你的ras基因服务器,是领有牌照的部署只是如果您购买了Crystal Reports先进或有单独购买水晶企业内嵌版。

 

Deploying Using the Merge Modules

使用合并模块进行部署

The components to add to Setup Projects for distributing and deploying Crystal Reports 10 applications include: 

分发和部署使用了水晶报告10的应用程序时,要增加到安装工程中的组件包括:

·         Report files (.RPT)

·         Dependencies 依赖项

·         Crystal Reports 10 merge modules 水晶报表V10合并模块

NOTE

注意

The Crystal Reports 10 merge modules are located at:

水晶报表V10合并单元的下载地址:

http://support.businessobjects.com/mergemodules

 

 

Report Files (.RPT)

Report files (.RPT) need to be distributed when a .NET application is deployed. How the report files are deployed, depend on the need and architecture of the application. Refer to the previous section, Deploying Reports in Visual Studio .NET applications for details on deploying report files.

当部署. NET应用程序时,需要分发报表文件(.RPT)。如何将报告文件部署,在很大程度上依赖于应用程序的需要。参阅前一节(Deploying Reports in Visual Studio .NET applications)中部署报表文件的细节。

Common Language Runtime通用语言运行时库

Since Crystal Reports for Visual Studio .NET is based on the .NET Framework, the framework must also be distributed and/or installed on the target computer. When a Setup Project is created, the framework is usually not automatically included.

由于Visual Studio .NET水晶报表是基于. NET框架,该框架也必须分布和或安装在目标计算机。当一个安装项目被创建,这个框架通常是不会自动包括在内的。

 

Crystal Reports 10 Merge Modules                         Crystal Reports 10合并模块

There are four different Crystal Reports merge modules to choose from.  These merge modules are designed to fit into different core scenarios so in most scenarios only one of the merge modules will be required in any single setup package.

4个水晶报表合并模块可供选择。这些合并模块的设计,是为了适应不同的核心情景,所以在多数情况下在安装工程中仅使用其中的一个。

 

Adding multiple merge modules may cause your application to not deploy properly. However, the one exception is with the Mapping merge modules, which can be used in combination with any of the other 3 merge modules

加入多个合并单元可能导致你的应用不能很好的部署。唯一例外的是,Mapping merge modules可以结合任何其他3合并单元使用

 

CrystalReports10_NET_EmbeddedReporting.msm

·     This merge module contains the Windows Form and Web Forms viewers (CrystalReportViewer controls), .NET SDK assemblies, RAS SDK, report processing engine, database and export components. 

·     合并模块包含Windows FormWeb Form界面 crystalreportviewer控件 .NETSDK RASSDK包、处理引擎,数据库和导出组件。

 

NOTE

注意

This merge module requires a valid keycode to be set.  See section Crystal Reports 10 Keycode for more information.

这项合并模块必须设置有效的keycode。见Crystal Reports 10 Keycode以获取更多信息。

 

·     This merge module allows developers to select which database drivers are installed.  By default, all database drivers are installed.  For more information, refer to the  Customizing the Database Driver Installation Options section.

·     该合并模块允许开发人员选择要安装的数据库驱动。默认情况下,所有数据库驱动将被安装。欲了解更多信息,参阅章节Customizing the Database Driver Installation Options

·     This merge module deploys all Crystal Reports runtime files on a single machine/tier.

·     这项合并模块部署单机/三层所有Crystal Reports运行时文件

      • Windows application where all report processing is within the application
      • Windows应用程序的所有报表处理,是内部的应用
      • Web application where all report processing is within the web application tier

Web应用的所有报表处理,是内部Web应用三层

CrystalReports10_NET_RemoteReporting.msm

·     This merge module contains Windows Form and Web Forms viewers, .NET SDK assemblies, RAS SDK

·     此合并模块包含Windows窗体和Web表单界面。 .NET SDK的集 RAS SDK

·     This merge module deploys Crystal Reports runtime to clients used to view/process reports from a remote server.

·     此合并模块部署Crystal Reports运行时让客户从一台远程服务器上查看/处理报表

      • Windows or Web application processing reports on remote RAS server.
      • 在远程服务器上处理WindowsWeb应用程序的报表。
      • Windows or Web application opening reports from Crystal Enterprise and processing the reports on Page Server or RAS server.
      • WindowsWeb应用程序从Crystal Enterprise打开报表,然后从页面服务器(IIS)RAS服务器上处理报表

 

CrystalReports10_NET_WebServiceReporting.msm

·     This merge module contains Windows Form and Web Forms viewers, .NET SDK assemblies

·     此合并模块包含Windows窗体和Web表单界面。 .NET SDK的集

·     This merge module deploys Crystal Reports runtime to clients viewing Report Web Services.

·     此合并模块部署Crystal Reports运行时让客户端查看报表Web服务

      • Windows or Web applications accessing report web services.
      • WindowsWeb应用程序访问报表Web服务。

 

CrystalReports10_Maps.msm

·         This merge module contains mapping runtime files.

·         此合并模块包含映射运行时文件。

·         This merge module deploys runtime files for reports using Map objects.

·         此合并模块使用Map对象部署报表所需的运行时文件。
 

·         This merge module is used in combination with the other version 10 merge modules.

·         此合并模块与其他V10版本合并模块结合使用。


Deploying Using the Server Install (Interactive Install)

使用服务器安装(互动安装)进行部署

In addition to the merge modules, a self-contained setup package, commonly referred to as the Server Install (or Interactive Install), is provided for web server installations. The CrystalReports10_NET_EmbeddedServerInstall.msi file installs all Crystal Reports runtime files on the computer. 

除上述合并模块外,自成一体的格局包装,通常被称为服务器安装(或交互式安装) ,是提供给网络服务器设备。crystalreports10_net_embeddedserverinstall.msi安装了所有的Crystal Reports运行时文件到计算机

Typically, the server install is used to install the runtime files on web servers for ASP.NET Web applications using Crystal Reports. This allows the Crystal Reports runtime to be installed once per machine, without having to include the Crystal Reports runtime with each application deployment.

The server install can be used to install the Crystal Reports runtime for .NET Windows applications but the CrystalReports10_NET_EmbeddedServerInstall.msi file needs to be run on each client computer.  It is recommended to include the CrystalReports10_NET_EmbeddedReporting.msm merge modules with the .NET Windows application’s setup package so that the user only has to run a single setup. 

In fact, the server install is using the CrystalReports10_NET_EmbeddedReporting.msm merge modules internally. The only difference is that the server install does not allow customization of which database drivers are installed; all database drivers will be installed.

Running the CrystalReports10_NET_EmbeddedServerInstall.msi will require a valid Crystal Reports 10 keycode.  For more information, see the section Crystal Reports 10 Keycode.

NOTE

The Server Install will only work for applications developed using the Crystal Reports 10 Developer or Advanced editions.

 

Usage Scenarios

The merge modules are used in four different core scenarios. The following describe each of these scenarios and when to use the merge modules.

ASP.NET Web Application – Single Server

In this scenario, the ASP.NET application is loading reports from the same web server as the application. This means that the reports are being processed by the Web application on a single machine. 

This requires that the CrystalReports10_NET_EmbeddedReporting.msm merge module be added to the setup used to install the application. Alternatively, you can use the CrystalReports10_NET_ServerInstall.msi to install the Crystal Reports runtime on the web server before installing the ASP.NET Web application.

Windows Desktop Application (Thick Client)

In this scenario, the .NET Windows application is loading reports from the same desktop computer as the Windows application. This means that the application is loading and processing reports, locally, on the same computer as the application.

This will require the CrystalReports10_NET_EmbeddedReporting.msm merge modules to be added to the setup to install the .NET Windows application.

Using the CrystalReports10_NET_ServerInstall.msi is not the best option because the application will be installed to many individual machines. This requires the user to run two separate installs, one for the server install and the other for the application.

ASP.NET or Windows Application Viewing Report Web Services

In this scenario, the entire solution is made of a “client” and a “server”. The “client” is a .NET Windows application or an ASP.NET Web application that uses the Crystal Reports viewer control to view a report.  The “server” are the Report Web Services that will be viewed by the “client”. 

In most cases, the “client” will be installed to one computer (client computer or web server if ASP.NET) and the “server” will be installed to a separate web server computer (to host the report web services).  This will require two setup installers, one for the “client” and the other for the “server”.

Since the “client” is used to only view reports stored and processed on a different server,  only minimal runtime files are required to view the reports.  In the “client” setup, only the CrystalReports10_NET_WebServiceReporting.msm merge module is required to be included in this setup.

Since the “server” will be loading and processing reports on the web server, the “server” setup only requires the CrystalReports10_NET_EmbeddedReporting.msm merge module.

ASP.NET or Windows Application using CE Embedded (RAS) or Crystal Enterprise

In this scenario, a .NET Windows application or an ASP.NET Web application is used as a client to view reports that are processed by a remote server which hosts the CE Embedded (RAS) Server or Crystal Enterprise (CE). 

Since the reports are already being hosted by RAS/CE, this does not require any Crystal Reports runtime files to be distributed.  For information on how to install and configure CE Embedded or Crystal Enterprise, refer to the Crystal Enterprise product documentation.

However, the client application still requires some runtime files to be installed.  The setup for this client will require the CrystalReports10_NET_RemoteReporting.msm merge module as part of the setup.

 

Crystal Reports 10 Keycode  水晶报表V10Keycode

A Crystal Reports keycode is used to validate the licensing for the application. Both the CrystalReports10_NET_EmbeddedReporting.msm merge module and the CrystalReports10_NET_EmbededServerInstall.msi server installer require a valid keycode to be specified.

水晶报表keycode用来验证许可证。无论crystalreports10_net_embeddedreporting.msm合并模块还是 crystalreports10_net_embededserverinstall.msi服务安装程序,需要一个有效的Keycode被指定。

The license key is the alphanumeric string you receive when registering Crystal Reports.

许可证是您注册水晶报表时收到的字母数字串。

NOTE

注意

Please note that this is not the 10-digit registration number.  The keycode will have the following pattern:  xxxxx-xxxxxxx-xxxxxxx. 

请注意,不是10位注册号码。在keycode将有以下形式:

xxxxx - xxxxxxx - xxxxxxx

 

The keycode is located by using the Crystal License Manager installed on the computer with Crystal Reports 10.  Selecting the ‘Crystal Reports 10 Tools’ program group in the Start menu can access the Crystal License Manager.

keycode是位于用水晶许可证管理计算机中安装使用Crystal Reports 10 。选择'水晶报告10工具'节目组,在开始菜单中可以使用水晶许可证管理。

Step by step instructions for creating a setup project and entering the keycode can be found in the following sections:  Deploying an ASP.NET Application and Deploying a Windows Application.

按照一步步的指示创建一个设置工程,并进入keycode可以发现在以下几节:Deploying an ASP.NET Application Deploying a Windows Application.

 

Customizing the Database Driver Installation Options (Optional)  自定义数据库驱动安装选项(可选)

Your deployment needs may require including or excluding specific Crystal database drivers from your application install.  Specific Crystal Reports database drivers can be individually included or excluded from the CrystalReports10_NET_EmbeddedReporting.msm merge module. 

 

你的部署需要的,可能需要从你的应用程序安装包中包括或排除特定水晶数据库驱动。具体的水晶报数据库驱动可以单独crystalreports10_net_embeddedreporting.msm合并模块包括或排除。

 

To change an option for a specific database driver, select CrystalReports10_NET_EmbeddedReporting.msm from your setup project and expand the MergeModuleProperties property. 

 

为了改变一个特定的数据库驱动选,从你的安装工程选择crystalreports10_net_embeddedreporting.msm,并展开mergemoduleproperties属性

 

Each of the merge module options corresponds to a driver in the table listed below.  Setting the value for a specific driver to 1 will cause the driver to be installed with your application.  Setting the value to 0 will exclude the driver from the target machine when your application is being installed.  By default, all database drivers are set to install with CrystalReports10_NET_EmbeddedReporting.msm.

 

每一项合并模块选项对应的驱动列表如下。将某一特定驱动设定值为1,该驱动将安装到你的应用程序中,设定值为0 将不安装该驱动。默认情况下,crystalreports10_net_embeddedreporting.msm包括所有的数据库驱动。

 

Name

Description

act

Crystal Reports database driver for PC Databases

btrieve

Crystal Reports database driver for Pervasive Databases

cdo32

Crystal Data Object database driver

crdb_ado

Crystal Reports database driver for Microsoft ActiveX Data Objects/OLE DB

crdb_adoplus

Crystal Reports database driver for Microsoft ADO.NET

crdb_cdo

Crystal Reports database driver for Crystal Data Object

crdb_com

Crystal Reports database driver for COM data provider

crdb_dao

Crystal Reports database driver for Microsoft Data Access Objects

crdb_dataset

Crystal Reports database driver for DataSet provider

crdb_fielddef

Crystal Reports database driver for Field Definitions

crdb_filesystem

Crystal Reports database driver for File System data.

crdb_javabeans

Crystal Reports database driver for Java data

crdb_odbc

Crystal Reports database driver for ODBC

crdb_oracle

Crystal Reports database driver for Oracle

crdb_query

Crystal Reports database driver for Query Data

crddt32

Crystal Reports Data Definition Tool

ibm_db2

Crystal Reports database driver for DB2 Server

informix

Crystal Reports database driver for Informix Online Server

p2bbde

Crystal Reports database driver for IDAPI

p2bxbse

Crystal Reports database driver for xBase

p2ixbse_dll

Crystal Reports physical database DLL for xBase

p2sacl

Crystal Reports database driver for Public Folder ACL

p2sevt

Crystal Reports database driver for NT Event Log

p2sexsr

Crystal Reports database driver for Exchange Server Admin

p2smapi

Crystal Reports database driver for Exchange Folders and Address Book

p2smsiis

Crystal Reports database driver for IIS Log Files

p2soutlk

Crystal Reports database driver for Outlook Data

p2srepl

Crystal Reports database driver for Exchange Public Folder Replica

p2strack

Crystal Reports database driver for Exchange Server Message Tracking Logs

p2swblg

Crystal Reports database driver for Web Log Files

querybuilder

Crystal Query Builder

sybase

Crystal Reports database driver for Sybase

 

 

Deploying an ASP.NET Application

The following procedures assume that you already have a Web application or Web services application ready for deployment.  To deploy a Web application using the Crystal Reports merge modules:

1. In Visual Studio .NET, open your Web application, go to the View menu, and select Solution Explorer.  Right-click your Web application solution and from the pop-up menu, select Add then click New Project.

2. The Add New Project dialog box appears. Select Setup and Deployment Projects in the left pane and select Web Setup Project in the right pane. Click OK.

3. In the Solution Explorer, right click the Web Setup Project and select Add then click Project Output.

4. The Add Project Output Group dialog box appears. Select Primary Output and Content Files to add to your Web Setup project. 

NOTE

When the Primary Output is added to the project, several Crystal Reports detected dependencies will be added. 

Select all of the Crystal Reports dependencies and right-click on the highlighted files and select ‘Exclude’ so that these files are not installed on the target machine.

 

5. In the Solution Explorer, right-click the Web Setup project and select Add then click Merge Module.

6. The Add Modules dialog box appears.  Select the appropriate merge modules (See section above titled Crystal Reports 10 Merge Modules) and add them to your project.  Click OK.

*** Steps 7 and 8 are for CrystalReports10_NET_EmbeddedReporting.msm only ***

 

7. From your Setup project, select the Crystal Reports merge module (you just added) to display the properties.

8. Expand the MergeModuleProperties and enter a valid license key the in Keycode Properties box.

The license key is the alphanumeric string you receive when registering Crystal Reports. This is mandatory when you deploy a Crystal Reports for Visual Studio .NET application using CrystalReports10_NET_EmbeddedReporting.msm.

For a description of the other configuration options, please see the section above titled Customizing the Database Driver Installation. 

 

NOTE

A license key will be given to you once you have registered Crystal Reports for Visual Studio .NET. 

You can also find the license key by opening VS .NET and going to the 'Help' menu and selecting 'About…'.  Under the 'Installed application list' is the license key for Crystal Reports 10 for Visual Studio .NET.

 

***

9. To build your Web Setup project, highlight your deployment package (websetup1) in the Solution Explorer, right-click and select Build. You are now ready to deploy your ASP.NET Web application.

 

Deploying a Windows Application

The following procedures assume that you already have a Windows application ready for deployment.  To deploy a Windows application using the Crystal Reports merge modules:

以下过程将假设你已经有了一个Windows应用程序,随时可以部署。部署Windows应用程序使用水晶报表合并模块:

1. In VS .NET, open your Windows application and go to the View menu and select Solution Explorer.  Right click your Windows application solution and from the pop up menu, select Add then click New Project

VS.NET中,打开你的Windows应用程序->查看菜单,选择解决方案浏览器。右击你的Windows应用解决方案,从弹出菜单中,选择添加,然后单击新建项目

2. The Add New Project dialog box appears.  Select Setup and Deployment Projects in the left pane and select Setup Project in the right pane.   Click OK.

添加新项目对话框。选择“安装和部署”,在左窗格选择“安装项目”,点击OK

3. In the Solution Explorer, right click the new setup project and select Add then click Project Output

在解决方案浏览器,右击新的安装工程,并选择添加,然后单击项目输出

4. The Add Project Output Group dialog box appears.  Select Primary Output to be added to your Setup project. 

添加项目输出组对话框出现。选择主输出将增加到你的安装工程中。

NOTE

注意

When the Primary Output is added to the project, several Crystal Reports detected dependencies will be added.  Select all of the Crystal Reports dependencies and right-click on the highlighted files and select ‘Exclude’ so that these files are not installed on the target machine.

主输出添加到项目,几个水晶报表的信赖项将被增加。选择所有的水晶报表信赖项并右击,,并选择'排除(Exclude)' ,使这些文件不会安装在目标机器。

 

5. In the Solution Explorer, right click the Setup project and select Add then click Merge Module

在解决方案浏览器,右击安装工程,并选择添加,然后点击合并模块

6. The Add Modules dialog box appears.  Select the appropriate merge modules (See section above titled Crystal Reports 10Merge Modules ) and add them to your project.  Click OK

将显示添加模块对话框。选择合适的合并模块(见以前的章节Crystal Reports 10Merge Modules ,并将它们加入你的项目。单击确定

*** Steps 7 and 8 are for CrystalReports10_NET_EmbeddedReporting.msm only ***

***步骤7和第8仅适用于crystalreports10_net_embeddedreporting.msm ***

 

7. From your Setup project, select the Crystal Reports merge module you just added to display the properties.

从你的安装工程中,选择刚才增加的Crystal Reports合并模块。

8. Expand the MergeModuleProperties  and enter a valid license key the in Keycode Properties box. The license key is the alphanumeric string you receive when registering Crystal Reports. Please note that this is not the 10-digit registration number.  This is mandatory whenever you deploy a Crystal Reports for Visual Studio .NET application using CrystalReports10_NET_EmbeddedReporting.msm.  

 

展开mergemoduleproperties属性,在Keycode属性框中输入有效的许可证密钥。许可证是您注册水晶报表时收到的字母数字串。请注意,它不是 10位注册号码。,每当你用crystalreports10_net_embeddedreporting.msm部署一个水晶报告Visual Studio .NET的应用程序时,这是强制性的。

For a description of the other configuration options, please see the section above titled Customizing the Database Driver Installation.

为描述的其它配置选项,请参阅上述名为Customizing the Database Driver Installation.的章节。

 

NOTE

注意

A license key will be given to you once you have registered Crystal Reports for Visual Studio .NET. 

一旦你为Visual Studio .NET注册了Crystal Reports,将会有一个许可证号给您。

You can also find the license key by opening VS .NET and going to the 'Help' menu and selecting 'About…'.  Under the 'Installed application list' is the license key for Crystal Reports for Visual Studio .NET.

您也可以通过打开VS.NET找到许可证密钥。'帮助'菜单,并选择'关于' 在“已安装的产品”中有水晶报表的许可证号。

 

 

9. To build your Setup project, right-click your deployment package (setup1) in the Solution Explorer, and select Build. You are now ready to deploy your Windows application.

编译你的安装工程,在解决方案浏览器中右击你的安装工程( setup1 ),并选择Build 。你现在已经可以部署你的Windows应用程序了。

 

Finding More Information

For more information and resources, refer to the product documentation and visit the support area of the web site at: www.businessobjects.com

*  www.businessobjects.com

 

 

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 © 2004 Business Objects SA. All rights reserved.

 

 


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值