Create a Report Server Project for Visual Studio ALM
You can track your team's progress by using SQL Server Report Designer to create reports. Before you can base these reports on data from Visual Studio Team Foundation Server, you must first create a Report Server project in Visual Studio.
For an overview of Report Designer, see the following page on the Microsoft Web site: Designing and Implementing Reports Using Report Designer. For more information about how to create reports in Report Designer, see Create a Detailed Report using Report Designer and Create an Aggregate Report using Report Designer and the Analysis Services Cube.
To perform this procedure, you must have Visual Studio and SQL Server Business Intelligence Development Studio.
To install Business Intelligence Development Studio, run the Setup program for SQL Server, and select the Client Components check box when you specify the components to install. To install the most recent service pack for SQL Server, see the following page on the Microsoft Web site: How to obtain the latest service pack for SQL Server 2008.
To use the connections that you create in these procedures, you must be a member of the TfsWarehouseDataReader security roles in both the relational database and the Analysis Services cube for Visual Studio ALM. For more information, see Grant permissions to view or create reports in TFS.
To create a Reporting Server project
In Visual Studio, open the File menu, point to New, and then choose Project.
The New Project dialog box appears.
Under Project types, choose Business Intelligence Projects.
If Business Intelligence Projects does not appear in the list of project types, you must install SQL Server Business Intelligence Development Studio. For more information, see the Prerequisites section near the start of this topic.
Under Templates, choose Report Server Project.
In the Name box, typea name for the project, and then choose OK.
To create the Tfs2010ReportDS and Tfs2010OlapReportDS data sources
On the Project menu, choose Add New Item.
The Add New Item dialog box appears.
Choose Data Source, and then choose Add.
The Shared Data Source dialog box appears.
In the Name box, type Tfs2010ReportDS.
If you do not use the name specified in this step, the procedures for deploying your reports will not work properly. This procedure creates local copies of the data sources that you will use as you develop your reports. These copies are equivalent to data sources that Team Foundation Server has created on the server that is running SQL Server Reporting Services. When you deploy a report, Team Foundation Server will use the data source on the server that has the same name as your local copy of the data source in your project.
In the Type list, choose Microsoft SQL Server, and then choose Edit.
In the Connection Properties dialog box, type the name of the server and instance (DataWarehouseServerName/InstanceName) that runs Analysis Services, and then choose Use Windows Authentication.
In a typical configuration, use the name of the data-tier server. However, the warehouse can also be hosted on a separate server.
Choose Select or Enter a database name, and then choose Tfs_Warehouse.
(Optional) Choose Test Connection to verify that the connection works as defined, and then choose OK to return to the Shared Data Source dialog box.
Choose OK, and then choose OK to create the data source.
Repeat steps 1-7 to create another data source. Specify Microsoft SQL Server Analysis Services for the type of the data source, and name it Tfs2010OlapReportDS. Specify Tfs_Analysis for the database name.
To set the project's properties so that you can deploy reports
On the Project menu, choose Properties.
For the value of the OverwriteDataSources property, choose False.
If you set this option, you can publish your reports without overwriting the data sources on the server with those that you defined in this project.
For the value of the TargetDataSourceFolder property, type /.
For the value of the TargetReportFolder property, type the path of the folder where you will deploy the reports from this project. If you will deploy the reports to a specific team project, use the name of the team project.
For the value of the TargetServerURL property, type the URL of the Reporting Services server. For example, you can type http://ReportingServicesServerName/reportserver.