Deployment of Crystal Reports.

Source: Internet
Author: User

These days, I was a little angry about the crystal report.
A project that publishes a crystal report must contain three components: Report (*. RPT), Module (*. (*. these module files are in the c: \ Program Files \ common files \ merge modules \ directory.
(1) Report (*. rpt)
The crystal report file created by the user during programming.
(2) module (*. MSM)
Managed. MSM
This module contains the management modules of CR for vs. net, such as crystaldecisions, crystalreports. Engine. dll, crystaldecisions. Web. dll, and crystaldecisions. Windows. Forms. dll ......
Managed_chs.msm
Is supported by the Chinese version of this module.
Database_access.msm
This module contains the driver of the database, the connection with different databases, and the document and chart components that export reports to the RTF and HTML formats.
Database_access_chs.msm
Is supported by the Chinese version of this module.
Regwiz. MSM
The registration information module is very important. You must enter the registration serial number of the crystal report in this module. If this parameter is not specified, the statement cannot be passed during compilation.
Keycode MSM processes the installation of the crystal decisions key number, so that your users are not required to register their crystal version when viewing the report.
(3) running database (*. MSM)
If the report file uses the dataset DataSet object of ADO. net, the vc_crt.msm and vc_stl.msm modules must also be included in the installation project. The "module retargetable folder" item of the File Installation attribute of the two modules must be modified to the system directory.
In the Vs. net installation project, only dotnetfxredist_x86_chs.msm and managed. MSM modules are detected by the system. We need to manually add other modules.
-------------------------
2. Procedure:
(1) create a "installation and deployment project" --> "Installation Wizard"
(2) Select the project type (here, select "create for Windows application ") Program ") --> Next step
(3) Select the file to be included: add your program file and managed under c: \ Program Files \ common files \ merge modules. MSM, managed_chs.msm, database_access.msm, database_access_chs.msm, and regwiz. MSM, vc_crt.msm, and vc_stl.msm. --> Complete
(4) open solution --> right-click regwiz. for the attributes of MSM, enter the "license key" in "mergemouduleproperties": aap5gks1_gde100ds (this is the registration code used to generate the crystal report !)
(5) generate a solution (or press Ctrl + Shift + B)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.