Tuesday, March 1, 2011

Create SSRS Report with SharePoint 2010 Integrated Mode

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

image

  • Go to the Library tab and click on the Library Settings menu to configure the content type

image

  • In the General settings section, click on the Advanced settings link

image

  • Change the Allow management of content types? to “Yes” and click the OK button to apply the change

image 

  • In the Content Types section, click on the Add from existing site content types link

image

  • 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.

image

  • If you want to change the default or the visible order of the content types, you could click on the Change new button order and default content type link and modify accordingly.

image

image

  • Return back to the SSRS Report Document library, and click on the New Document from the Documents tab. Now you should be able to see the Report Builder menus that have been created.

image

  • 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.

image

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 be http://Localhost/SSRS Report

image

  • Make sure you don’t append the “/” at end of the TargetReportFolder such as http://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

image

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.

image

View SSRS Report
  • You could now view the report from SharePoint Site by clicking on the report itself.

image

  • Or view the report from the Report Server Site by navigating to the report directory.

image

18 comments:

  1. Thanks for the article.
    I got login prompt when i click the Report Builder Report and it keeps on asking even if put the correct info.

    Could you please help me to fix?

    SP2010 with SQL 2008 R2 ( SP integration Mode)

    Thanks
    Murali

    ReplyDelete
  2. This is an awesome post Fendy! There will be no one to stop me this time.

    ReplyDelete
  3. Hi Fendym this is Sarat, please give the steps how to create SSRS report using SSAS Cubes.

    ReplyDelete
  4. Murli,
    Did you ever figure out why it keeps prompting you for correct info? I am having the same issue.

    ReplyDelete
  5. Murli, gold2k, Fendy, has there been any update on the login prompt issue? Any fixes provided? I'm experiencing the same thing. Any help would be amazing, thanks.

    ReplyDelete
  6. Awesome .........
    It Is very useful for me right now............

    ReplyDelete
  7. Would like to recommend HarePoint Analytics for SharePoint: the essential web-analytics solution for SharePoint-based sites and portals. More 70 reports, wide customization,

    great features.
    Homepage: http://www.harepoint.com/Products/HarePointAnalyticsForSharePoint/Default.aspx

    ReplyDelete
  8. Very useful post for share point guys

    ReplyDelete
  9. I'm also having the login prompt that Murli, gold2k, and GoodieJRAug had. Were you able to solve this?

    ReplyDelete
  10. Thanks, helped me a bunch today! :)

    ReplyDelete
  11. Thanks for the Article. Let me ask you this, We have around 500 reports that i have deployed using the above procedure, Now in order for the report to work, I have to connect all the reports to the shared data source that was also deployed on the SharePoint site too, Going into each report and connecting them to data source is too much of work. May i know how you would do that? Is there any easy way to do like a powershells cript?

    ReplyDelete
  12. Thanks for the article to help me out of the stuck.

    Oscar

    ReplyDelete
  13. This is a great post and thank you for sharing this nice experience,and hope you can give another posts as soon as possible.
    Computer Cases

    ReplyDelete
  14. Is this Reporting Content Types are available for SharePoint List also?

    ReplyDelete
  15. Hi
    i am able to get Report content Type but when i tried to launch the Report builder i am getting exception like "could not down load the application The application is missing reqired files contact vender assistance " can any one tell what mistake i have done

    ReplyDelete
  16. hallo miss, i'am newbie in Bussiness Intellegent, i want to know more about this BI. can you help me for creating dashboard in SSRS to Sharepoint 2010 ?
    i wish you read this comment :)
    thanks a lot :)

    ReplyDelete