zoukankan      html  css  js  c++  java
  • 部署带Crystal Reports的Web应用程序

    To deploy your application, you need to create a setup project and add the necessary merge modules to your application before you build your solution.

    1. Open your Web or Web Services application.
    2. In the Solution Explorer, right-click your Web or Web Services application solution, point to Add then click New Project.
    3. In the Add New Project dialog box, select Setup and Deployment Projects in the Project Types pane and select Web Setup Project in the Templates pane. Click OK.
    4. In the Solution Explorer, right-click the WebSetup Project, point to Add then click Project Output.
    5. In the Add Project Output Group dialog box, select Primary output and Content Files and click OK.

      When the Primary output is added to your project, any dependencies, such as the Crystal_Managed2003.msm or dotnetfxredist_x86.msm, are added automatically.

    6. In the Solution Explorer, right-click the WebSetup Project, point to Add then click Merge Module.
    7. In the Add Modules dialog box, select the following merge modules to add to your Setup project and click Open:
      • Crystal_Database_Access2003.msm
      • Crystal_Database_Access2003_enu.msm
      • Crystal_regwiz2003.msm

      For a description of these merge modules see Crystal Reports Merge Modules.

    8. In the Solution Explorer, right-click the Crystal_regwiz2003.msm file and choose Properties.
    9. In the Properties window, expand MergeModuleProperties and enter a valid license key in the License Key properties box.
      Note   Providing the license key is a mandatory step whenever you deploy a Crystal Reports for Visual Studio .NET application.

      A license key will be given to you once you have registered Crystal Reports for Visual Studio .NET. You can find the license key in the About dialog box. From the Help menu, choose About Microsoft Development Environment. The keycode is listed in the Installed Products field.

    10. From the Build menu, choose Build Solution to build your application.

      When deploying to a client or server computer, always ensure that the computer already has the .NET Framework installed.

  • 相关阅读:
    在xp中用sc命令安装自己写的服务的具体步骤
    .net中导出excel数据不全的解决方案
    转载:20092010年中国商业智能市场分析
    xp发布多维数据集过程
    .net中导出excel时不能自动显示网格线的解决方案
    .net中访问多维数据集报错
    在xp中用DOS添加服务时,输入SC命令提示不可用的解决方案
    jenkins在奴隶机上安装dotnetsdk
    .NET Core 使用jenkins发布代码
    jenkins添加linux方法
  • 原文地址:https://www.cnblogs.com/rickel/p/282705.html
Copyright © 2011-2022 走看看