Glossary Item Box

Samples | Walkthroughs | Walkthrough: HTTP Handlers

Tasks: Visual Studio.NET 2005 Web Changes

See Also ActiveReports for .NET 2 Online Help Send feedback to Data Dynamics

Walkthrough: Deploying ActiveReports Web Applications

With ActiveReports for .NET 2.0 Professional Edition, Web applications can be set up for deployment by including the ActiveReports deployment .msm file in your Visual Studio deployment project.

This walkthrough illustrates how to create a deployment project in ActiveReports for a Web application.

This walkthrough is split up into the following activities:

Note: In order to successfully deploy an ActiveReports Web project, the server must have the following installed.

Adding an installer project to an existing ActiveReports project

Important: If you are using Visual Studio.NET 2005, please see the Visual Studio.NET 2005 Web Changes topic.

To add the installer project

  1. Open an existing ActiveReports project or create a new report.
  2. On the Build menu, click "Build [your ActiveReports web project name]" to build your report project.
  3. On the File menu, select Add Project and click on New Project...
  4. Under Project Types in the Add New Project dialog, select Setup and Deployment Projects.
  5. In the Templates window, select Web Setup Project, rename the file and click OK.
  6. Select the Installer project in Solution Explorer. In the Properties window, select the ProductName property and type in the name of your file.
    Note   The ProductName property determines the name that will be displayed for the application in folder names and in the Add/Remove Programs dialog box.

Adding the ActiveReports .msm file

To add the ActiveReports .msm file

  1. Right-click on the Installer project in Solution Explorer.
  2. Click on Add and then click Merge Module...
  3. Open the Deployment folder where ActiveReports for .NET 2.0 is installed (e.g. c:\\program files\Data Dynamics\ActiveReports for .NET 2.0\Deployment).
  4. Click on "ActiveReportsDistrib.msm" to select it and click Open.
  5. This adds all of the ActiveReports distributed assemblies to your web project.

Note: Since the Setup and Deployment project will automatically detect and add any assembly dependencies to your project and the .msm file adds all ActiveReports assemblies, you will need to exclude any duplicate ActiveReports DLLs from the "Detected Dependencies" folder in the Solution Explorer window.

Adding the ActiveReports application to the installer

To add the ActiveReports application

  1. Select the Installer project in Solution Explorer.
  2. In the File System Editor, choose the Web Application folder.
  3. On the Action menu, select Add, Project Output...
  4. In the Add Project Output Group dialog, choose your ActiveReports project name from the drop-down list.
  5. Select "Primary Output" and "Content Files" from the list and click OK.
  6. Select the Web Application folder. In the Properties window, set the VirtualDirectory property to "xyz".
  7. In the Properties window, set the DefaultDocument property to "WebForm1.aspx".
  8. On the Build menu, click "Build [your Installer project name]" to build your Installer project.

Deploying the installer application to a Web server

To deploy the installer application

  1. In Solution Explorer, select the Web Installer project.
  2. On the Project menu, click Install.
  3. To access the Web application that was deployed, start Internet Explorer and enter the URL: http://localhost/xyz.

Note: If you are using the WebViewer control in your application, you must also set up the HTTP Handlers.

Samples | Walkthroughs | Walkthrough: HTTP Handlers

Tasks: Visual Studio.NET 2005 Web Changes

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.