CHAPTER 8 DEPLOYING REPORTS
- OverwriteDataSources: A Boolean value indicating whether to overwrite an
existing data source on the server. Set it to true to overwrite, which redeploys any
data sources you have defined in your project each time you select Deploy. Set it
to false if you don’t want existing data sources to be overwritten. - TargetDataSetFolder: The name of the folder where your shared datasets, whether
a report server path or a SharePoint library, are placed. - TargetDataSourceFolder: The name of the folder in which to place your shared
data sources. - TargetReportFolder: The name of the folder in which to place your reports. By
default, this is the name of the report project. - TargetReportPartFolder: The name of the folder in which to place your report
parts that are shared with other reports. - TargetServerURL: The URL of the target report server, such as http://localhost/
reportserver. - TargetServerVersion: This option allows you to specify what version of SSRS the
deployment server is running. You can also have this option auto-detect the
version if you have already configured the target server URL.
The different configurations are convenient for the report developer because you can set up
different servers and/or folders for testing and deployment in the same project. By default, when you
create a report project, BIDS/Visual Studio 2010 creates three different configurations for you: Debug,
DebugLocal, and Production. You can access the properties of these configurations through the project’s
Property Pages. To get to the configuration Property Pages, in the Solution Explorer, right-click the
project containing the reports and then click Properties. To see the property settings for each
configuration option, select from the Configuration drop-down list at the top of the properties dialog
box. Figure 8-8 shows the Property Pages for the Reports project in the Chapter 6 solution that is part of
the sample code provided for this chapter in the Source Code/Download area of the Apress Web site
(http://www.apress.com).