With SharePoint 2010, lots people would like to use SSRS Integrated mode. The advantage is that you can deploy data sources, reports, etc. to the SharePoint document library instead of the Report Manager web application. In addition, you could also use the new version of Report Builder that came with SQL Server 2008 R2 and deploy the reports to SharePoint. Derek Sanderson posted a blog entry: How to Switch from SSRS Native Mode to SharePoint Integrated Mode with detailed graphic information to show step by step how to do it. Once you completed all the installation steps, you may want to create the SSRS reports on it. The following steps show you how to do it.
Create SSRS Report Document Library
In order to deploy or create SSRS artifacts, you need to add a document library with the appropriate content types.
- Create a new document library called SSRS Report
- Go to the Library tab and click on the Library Settings menu to configure the content type
- In the General settings section, click on the Advanced settings link
- Change the Allow management of content types? to “Yes” and click the OK button to apply the change
- In the Content Types section, click on the Add from existing site content types link
- Select the Report Builder Model, Report Builder Report, and Report data source content types from the Available Site Content Types list to be added, then click the OK button to apply the change.
- If you want to change the default or the visible order of the content types, you could click on theChange new button order and default content type link and modify accordingly.
- Return back to the SSRS Report Document library, and click on the New Document from theDocuments tab. Now you should be able to see the Report Builder menus that have been created.
- To launch the Report Builder, click the Report Builder Report menu. You can now use it to create the SSRS reports and save them to the SharePoint document library.
Deploy SSRS Report from Visual Studio to SharePoint
- To deploy the SSRS report using Visual studio 2008, you will need to point to the SharePoint Server site, not the Report Manager site. Using the example we created, you will need to set the TargetServerURL to be the http://localhost/, and set the TargetReportFolder to behttp://Localhost/SSRS Report
- Make sure you don’t append the “/” at end of the TargetReportFolder such ashttp://Localhost/SSRS Report/, otherwise you will get the following deployment error:Error rsItemNotFound : The item ‘http://Localhost/SSRS Report//Demo SSRS.rdl’ cannot be found.
Deploy complete — 1 errors, 1 warnings
Manage SSRS Data Sources, Parameters, and Permissions
- Go to the right side of the report and click the drop down to open the Context Menu. You could set the data source, configure the parameters, or manage the permissions for the report by clicking on the corresponding context menu.
View SSRS Report
- You could now view the report from SharePoint Site by clicking on the report itself.
- Or view the report from the Report Server Site by navigating to the report directory.