How to deploy program using Crystal Reports and vs.net?
Key: AAP5G-KS0000-GDE100DS
Registration number:
1236731231 9999999991 0019250903 0004400007 1112411119
==================== Note:
You must confirm the following information before deploying programs that use Crystal Reports and Visual Studio .NET:
Crystal Reports version used with Visual Studio .NET. Possible versions are:
- Crystal Reports for Visual Studio .NET 2002 - Crystal Reports for Visual Studio .NET 2003 - Crystal Reports 9 - Crystal Reports 9.2
Crystal Reports Management Components' Program Edition.
To check the "Program Version Versions" of the Crystal Reports Management Component, view "Item"> "Reference" in Visual Studio .NET. Crystal Reports Management Components include:
- Crystaldecisions.crystalReports.Engine - Crystaldecisions.Shared - Crystaldecisions.Reportsource - Crystaldecisions.Web - Crystaldecisions.windows.Forms.
All Crystal Reports management components must be the same.
==================== Solution:
To deploy programs that use Crystal Reports for Visual Studio .NET 2002 ----------------------------------- -----------
1. Make sure the "program set version" of the Crystal Reports management component is 9.1.3300.
2. Download the full CRNET Deployment Guide: http://support.crystaldecisions.com/communitycs/technicalpapers/crnet_Deployment.pdf.asp?recdnlreq=tribord.path=crnet_Deployment.pdf
To deploy programs that use Crystal Reports for Visual Studio .NET 2003 ----------------------------------- -----------
1. Make sure the Crystal Reports management component is 9.1.5000.0.
2. Download the full CRNET Deployment Guide: http://support.crystaldecisions.com/communitycs/technicalpapers/crnet_Deployment.pdf.asp?recdnlreq=tribord.path=crnet_Deployment.pdf
3. Use the following merge modules to replace the merge modules in 'CRNET_DEPLOYMENT.PDF':
Crystal_Database_Access2003.msm Crystal_Database_Access2003_enu.msm Crystal_Managed2003.msm Crystal_regwiz2003.msm VC_User_CRT71_RTL_X86 _---. Msm (the report is based on the use ADO.NET) VC_User_STL71_RTL_X86 _---. Msm (based on reports by using ADO.NET) to be deployed using Crystal Reports 9 Program (only Visual Studio 2002) ----------------------------------------- -------
1. Make sure the "file version" of the Crystal Reports management component is 9.2.9466.x.
Get the "File Version" by viewing the properties of the "/ Program Files / Common Files / Crystal Decisions / 2.0 / Management /" folder; or by viewing the global access cache (/ WinNT / The corresponding assembly in assembly.
To see the "File Version" in the global access cache, find any "Program Version version" Crystal Decisions management component assembly (for example, CrystalDecisions.crystalReports.Engine), right-click on the file and select Properties. .
Select the "Version" tab and check "File Version".
2. Download the full CR9NET Deployment Guide: http://support.crystaldecisions.com/communitycs/technicalpapers/Cr9Net_Deployment.pdf.asp?recdnlreq=Record&dnlpath=cr9net_deployment.pdf
3. Download the Crystal Reports 9 merge module. These merged modules may form a Microsoft Installer (MSI) installation package to include the corresponding runtime file. Http://support.crystaldecisions.com/communitycs/filesandupdates/cr9netMergeModules.zip.asp?recdnlreq=record&dnlpath=cr9netMergeModules.zip
4. If you are deploying to a web server, you can install the pre-compiled MSI Installer package, which is available to use as a disposable deployment. This distribution package is installed all Crystal runtime files required by the .NET program. Download Preparatory MSI Installer Package: http://support.crystaldecisions.com/communitycs/filesandupdates/cr9netredist.zipdates/cr9netredist.zip.asp?recdnlreq=Record&DNLPath=Cr9Netredist.zip
To deploy programs that use Crystal Reports 9.2 (with Visual Studio 2002 and 2003) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ----------------
1. Make sure the "File Version" of the Crystal Reports management component is 9.2.9500.x.
Get the "File Version" by viewing the properties of the "/ Program Files / Common Files / Crystal Decisions / 2.0 / Management /" folder; or by viewing the global access cache (/ WinNT / The assembly in assembly. To view the "File Version" in the global access cache, find any "program version version" to 9.2.3300.0 Crystal Decisions assembly (such as CrystalDecisions.crystalReports.Engine), right-click on the file and select Properties.
Select the "Version" tab and check "File Version".
2. Download the full CR9NET Deployment Guide: http://support.crystaldecisions.com/communitycs/technicalpapers/Cr9Net_Deployment.pdf.asp?recdnlreq=Record&dnlpath=cr9net_deployment.pdf
3. Use the merged module 'dotNetruntime.msm' to replace 'cr9net_deployment.msm' in 'Cr9Net_Deployment.pdf'
You can find the desired merge module in the '/ Redist / DOTNET / MSM' folder of the Crystal Reports 9.2 CD.
4. If you are deploying to a web server, you can install the CD to use the pre-compiled MSI Installer package for one-time deployment. This distribution package is installed all Crystal runtime files required by the .NET program. The precompiled installer package in the "/redist/netsvr.msi" folder of the disc.
==================== Note:
When using Crystal Reports 9.2 with ADO.NET in Visual Studio 2003, the following merged modules are performed:
VC_CRT.MSM - vc_user_crt71_rtl_x86 _--- .msm Replace VC_STL.MSM - Replace by VC_USER_STL71_RTL_X86 _-- -.msm
You can find a replaced merge module under the 'C: / Program Files / Common Files / Merge Modules' folder. ====================
Other resources -------------------
To find the following deployment white paper, visit:
http://support.crystaldecisions.com/search
Crystal Reports 9 Application Deployment White Paper - CR9NET_DEPLOYMENT.PDF
Crystal Reports 9 for Visual Studio .NET application deploying white paper - CRNET_DEPLOYMENT.PDF
Comments: Haibo .NET Submission Date: 2003-11-29 23:17:42 How to deploy the program containing crystal reports (vs.net 2002) ---------------------------------------------------------------------------------------------------------------- ------------------------------ 1, the principle: Items that release using crystal reports need to include three components: report (*. RPT), module (* .msm), run library (* .msm), these module files are in the C: / Program Files / Common Files / Merge Modules / Directory. (1) Report (* .RPT) The crystal report file created when programmed. (2) Module (* .msm) Managed.MSM This module contains the management module of Cr for VS .NET, such as Crystaldecisions, CrystalReports.Eb.dll, Crystaldecisions.Web.dll, and Crystaldecisions.Windows.Forms.dll ...... Managed_chs.msm is the Chinese version of the module. Database_access.msm This module contains a database of databases, coupled to different databases, exports documents and chart components in RTF and HTML formats. Database_access_chs.msm is the Chinese version of this module. RegWIZ.MSM registration information module, it is very important to enter the registration serial number of the crystal report in this module, if not filling, it is not possible to pass. The Keycode MSM handles the installation of the Crystal Decisions key number so that your user will not be required to register their Crystal version when viewing the report. (3) Running library (* .msm) If the report file uses the ADO.NET DataSet dataset object, then the VC_CRT.MSM and VC_STL.MSM modules must also be included in the installation project. Moreover, the "Module Retargetable Folder" item of the file installation attribute of the two modules must be modified to become a system directory in the VS.NET installation project, the dependency detected by the system has only DOTNETFXREDIST_X86_CHS.MSM and Managed.MSM two modules, other Module We need to be joined manually. -------------------------- 2, specific steps: (1) New "Installation and Deployment Project" -> "Installation Wizard" (2 ) Select Project Types (click here "to create installer for Windows applications") -> Next (3) Select the file you want to include: Add your program file and c: / program files / compon files / merge modules MANAGED.MSM, MANAAGED_CHS.MSM, DATABASE_ACCESS.MSM, DATABASE_ACCESS_CHS.MSM, RegWIZ.MSM, VC_CRT.MSM, VC_STL.MSM. -> Complete (4) Open Solution -> Right-click Regwiz.MSM's properties, "license key" in "MergeMouduleProperties" Fill in: AAP5GKS0000GDE100DS (this is the password you generated Crystal Report is the password of the registration number !) (5) Generate a solution (or press CTRL SHIFT B)
Illustration introduction: http://www.yesky.com/20030327/1659638.shtml Comments: Sea wave .NET filing date: 2003-11-29 23:17:52 Frequently Asked Questions and Solutions when deploying crystal statements (搜集: Sea wave .NET, 2003-10-18) -------------------------------------- ---------- Directory: 1. Load report Time Bay 2, when deployed to Windows 98 / ME, error: "Load Report Failed" 3, in Win98 client running prompt "This field name is unknown "4," Query Engine error "5, load crpe32.dll failed 6 when distributing into the client, when the report is loaded in the ASP.NET program," Load Report Failed "7, deploy .NET 9.1 program to Windows 98 , Error: "Load Report Failed" -------------------------------------------------------------------------------------------------------------------- ------ 1, the report is published in the report. Projects that use crystal reports need to include three components: report (* .rpt), module (* .msm), run library (* .msm), these module files are in C: / Program Files / Common Files / Merge Modules / Directory. (1) Report (* .RPT) The crystal report file created when programmed. (2) Module (* .msm) Managed.MSM This module contains the management module of Cr for VS .NET, such as Crystaldecisions, CrystalReports.Eb.dll, Crystaldecisions.Web.dll, and Crystaldecisions.Windows.Forms.dll ...... Managed_chs.msm is the Chinese version of the module. Database_access.msm This module contains a database of databases, coupled to different databases, exports documents and chart components in RTF and HTML formats. Database_access_chs.msm is the Chinese version of this module. RegWIZ.MSM registration information module, it is very important to enter the registration serial number of the crystal report in this module. If you do not fill, you cannot pass (3) run library (* .msm) if the report file is used by ADO.NET. The DataSet dataset object, then VC_CRT.MSM and VC_STL.MSM modules must also be included in the installation project. Moreover, the "Module Retargetable Folder" item of the file installation attribute of the two modules must be modified to become a system directory in the VS.NET installation project, the dependency detected by the system has only DOTNETFXREDIST_X86_CHS.MSM and Managed.MSM two modules, other Module We need to be joined manually.
(1) In the Solution Explorer, right-click the installation item selection "Add" -> "Merge Module (M)" (2) In the "Add Module" dialog form, select Managed_chs.msm, Database_Access, Database_Access_CHS, RegWIZ, VC_CRT.MSM and VC_STL.MSM modules (3) Re-generate installation items, no problem, just generated installation programs, 7, eight megabytes. -------------------------- DLL) There is no correct registration on the customer's computer. To resolve this problem, you can manually register CRQE.dll on the customer's computer, use the following command: regsvr32 "c: / program files / compon files / crystal decision / 1.0 / bin / crqe.dll" If CRQE.DLL is not registered And the problem continues to exist, check the version of ATL.dll on the client computer. Atl.dll for Windows 98 / ME The correct version is 3.0.8449. By using any of the following methods, you can find and register the correct version of ATL.dll. (1) Upload IE6.0 in the customer's computer. (2) On the customer's computer, copy and register ATL.dll manually, and then run the installation package for Crystal Reports. (2) Add the ATL.MSM merge module to the installation project, ATL.MSM is part of Visual Studio Installer 1.1, which can go to Microsoft's website http://msdn.microsoft.com/vstudio/downloads/tools/vsi11/downloads/tools/vsi11/download. ASPX Download, add a way to the same. ------------------------- 3, in Win98's client running prompt "This field name is unknown" report everything in Win2000 client, Win98's client running prompt "This field name is not known"? It is because the field names in the SQL Server database used in the SQL Server database are named in Chinese, and their field names are named in English. -------------------------- 4, "Query Engine Error Error" (1) "Install" to include the following merge modules: VC_CRT.MSM VC_STL.MSM (2) In addition, MSVCR70.DLL and MSVCP70.DLL are in the "System Directory" of the client computer. ------------------------- 5, load crpe32.dll failed below is the step of deploying CRYSTAL REPORT 9 in CR9NET_DEPLOYMENT.PDF: Open Windows Application program. In the Solution Explorer, right-click on the Windows application solution, point to Add, and then click New Project. In the Add New Project dialog, select Install and Deploy Projects in the Project Type pane, then select Install Projects in the Template pane. Click the "OK" button. In the Solution Resource Management, right click on the installation item, point to Add, and then click Project Output. In the Add Project Output Group, select "Main Output" and click OK. All dependencies are automatically added, such as DOTNETFXREDIST_X86_ENU.MSM and DotNetCrystalReports.msm.