ActiveReports for .NET 3 Online Help Request technical support
Walkthrough: Deploying ActiveReports Web Applications
See Also
User Guide > Samples and Walkthroughs > Walkthroughs > Professional Edition Walkthroughs > Walkthrough: Deploying ActiveReports Web Applications

Glossary Item Box

With ActiveReports for .NET 3.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:

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

To add the installer project

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

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. From the Action menu of Visual Studio, select Add> Project Output to open the Add Project Output Group dialog. 
  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 to add all of the existing assembly dependencies to your project. (In Visual Studio 2005, there is no Primary Output.)
  6. In the File System Editor, 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".  (This step is unnecessary in Visual Studio 2005 as default.aspx is already set as the default document.)
  8. On the Build menu, click "Build [your Installer project name]" to build your Installer project.
If you would rather use the ActiveReports .msm file, please contact activereports.support@datadynamics.com.

Deploying the installer application to a Web server

To deploy the installer application

  1. In Solution Explorer, select the Web Installer project.
  2. From the Project menu, select Install and follow the wizard's steps to install it.
  3. To access the Web application that was deployed, start Internet Explorer and enter the URL: http://localhost/xyz. (In Visual Studio 2005, the URL is http://localhost:####/xyz where #### is the port number.) 
If you are using the WebViewer control in your application, you must also set up the HTTP Handlers.

See Also

©2009. All Rights Reserved.