VB.net release Crystal Report procedure steps _vb.net

Source: Internet
Author: User
Here is the process of packing with Vs.net, and note the last question about crystals:
1. Open your. NET, right-click your project (solution), and choose Add New Project (add New Item).
2. Select Web Setup project (Web installation project) for setup and Deployment projects (Installation and deployment project). (Note the storage path of the setupproject.) usually default)
A 3.vs window displays the file system (for your setup name). With the mouse click on the "Web Application Folder" in the left column of the Plus, right click "Web Application Folder", select "Add Project Output", and select Primary output and content files.
4. Your project will add a Yousetupname project, which is the installation of the project. Save it and sometimes make an error.
5. Because. xml,. rpt,. gif files are not automatically added to your project, so you add them manually. In Solution Explorer, right-click Yousetup Project (your installation project name), select "Add File", and then add your. RPT,. xml,. gif file;
6. If you use the crystal, you need to add crystal reprot support files. In Solution Explorer, right-click Yousetup Project (your installation project name), select Add Merge module, locate in the window, and select C:\Program Files\Common Files\merge modules\ DOTNETCRYSTALREPORTS.MSM, open, joined;
7. Right-click File system on target computer, select Properties, and in the Properties window, set ProductName to "the name of the item you want to package"
8. Right-click Web Application Folder, select Properties, and in the Properties window, set Defaultdocument to "your default login page", "Start Page",
9. Select your Yousetupname project, press the right button, select "Generate", or choose "Generate Yoursetupfilename" in the main Menu "generation";
10. Then, in C:\Documents and Settings\Administrator\My Documents\Visual Studio projects\kaoqin\ There will be a Yousetupname folder under the file's path, and a debug folder below, all you need is the file under Debug.
11. Will debug folder under the test file to the machine you want to install, and then install it, if there is a database, you can restore the library in advance, you can use.

Your program packaging, to the Crystal Report of the registration code also to play in the specific procedures:
1 new "Installation and Deployment Project"--> "Setup Wizard"
2 Select the project type (choose "Create Installer for Windows Application")--> Next
3 Select the file to include: Add your program file +c:\programfiles\commonfiles\mergemodules under Managed.msm, MANAGED_CHS.MSM, DATABASE_ACCESS.MSM, DATABASE_ACCESS_CHS.MSM, Regw iz.msm, Vc_crt.msm, Vc_stl.msm. --> complete the following functions: Managed.msm, MANAGED_CHS.MSM, (managed component MSM handles distribution of all managed components, including Windows Forms Viewer, Web Forms Viewer and all crystaldecisions namespaces) Database_access.msm, DATABASE_ACCESS_CHS.MSM, (for all other files required to run the report, the database access MSM handles its distribution.) These include database, export, and chart drivers. REGWIZ.MSM, (KEYCODEMSM processing crystaldecisions Key number installation) VC_CRT.MSM, VC_STL.MSM (this is absolutely not mentioned on MSDN, VC is the runtime, is estimated to be crystalreport or Some of the procedures involved are written in VC, so need it! )
4 Open Solution--> right click on regwiz.msm properties, "Licens EKey" in "Mergemouduleproperties" Fill in: Aap5gks0000gde100ds (this is the password you used to generate Crystalreport)! )
5 Build the solution (or press ctrl+shift+b directly)

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.