Compartilhar via


How to: Set Deployment Properties (Report Designer)

To set deployment properties

  1. Right-click the report project, and then click Properties.

  2. In the Property Pages dialog box for the project, from Configuration, select a configuration to edit. Common configurations are DebugLocal, Debug, and Production.

    Note

    You can use multiple configurations to switch quickly between different report servers, or between deploy and preview. By default, the DebugLocal configuration displays a report in the local preview window, and the Debug and Production configurations publish the report to a report server.

  3. In StartItem, select a report to display in the preview window or in a browser window when the report project is run.

    Note

    StartItem is required in configurations in which the Deploy configuration manager property is not selected.

  4. In OverwriteDataSources, select True to overwrite the data source on the server each time reports are published, or select False to keep the data source on the server.

  5. In TargetDataSourceFolder, type the folder on the report server in which to place the published shared data sources. The default value for TargetDataSourceFolder is Data Sources. If you leave this value blank, the data sources will be published to the location specified in TargetReportFolder.

  6. In TargetReportFolder, type the folder on the report server in which to place the published reports. The default value for TargetReportFolder is the name of the report project.

    Note

    For a report server running in native mode, you must have Publish permissions on the target folder to publish reports to that folder. Publish permissions are provided through a role assignment that maps your user account to a role that includes publish operations. For more information, see Creating, Modifying, and Deleting Role Assignments and Publisher Role. For a report server running in SharePoint integrated mode, you must have Member or Owner permission on the SharePoint site. For more information, see Site and List Permission Reference for Report Server Items.

  7. In TargetServerURL, type the URL of the target report server. Before you publish a report, you must set this property to a valid report server URL. When publishing to a report server running in native mode, use the URL of the virtual directory of the report server. For example, http://server/reportserver or https://server/reportserver. This is the virtual directory of the report server, not Report Manager. By default, the report server is installed with a virtual directory named "reportserver".

    When publishing to a report server running in SharePoint integrated mode, use a URL to a SharePoint top-level site or subsite. If you do not specify a site, the default top-level site is used. For example, http://servername, http://servername/site or http://servername/site/subsite.

To set Configuration Manager properties

  1. Right-click the report project, and then click Properties.

  2. In the Property Pages dialog box for the project, click Configuration Manager.

  3. In Active Solution Configuration, select the configuration to edit.

  4. In Project Contexts, for each project in the solution, select or clear Build or Deploy.

    Note

    If Build is selected, Report Designer builds the report project and checks for errors before previewing or publishing to a report server. If Deploy is selected, Report Designer publishes the reports to the report server as defined in deployment properties. If Deploy is not selected, Report Designer displays the report specified in the StartItem property in a local preview window.

See Also

Tasks

How to: Create a Report Server Project (Report Designer)

Concepts

Previewing Reports
Report Designer How-to Topics
Deploying Reports, Models, and Shared Data Sources to a SharePoint Site
Publishing Reports to a Production Environment
Deployment Modes for Reporting Services

Other Resources

Report Designer F1 Help
Project Property Pages (General Tab, Report Designer)

Help and Information

Getting SQL Server 2005 Assistance