The purpose of this blog post is to provide a step by step walk through for setting up Microsoft SQL Server 2005 Reporting Services Add-in for Microsoft SharePoint Technologies. This add-in allows for Reports to run within the context of SharePoint. The Reporting Services Add-in provides the following functionality:
- A Report Viewer Web Part, which provides report viewing capability, export to other rendering formats, page navigation, search, print, and zoom.
- Web application pages so that you can create subscriptions and schedules, set model item security, and manage reports, models, and data sources.
- Support for standard Windows SharePoint Services features including document management, collaboration, security, and deployment with report server content types. You can use alerts, versioning (check in/out), and Filter Web Parts with reports. You can add the Report Viewer Web Part to any page or dashboard on a SharePoint site and customize its appearance. You can use SharePoint permission levels and roles to control access to report server content. You can also use SharePoint forms authentication to support access over Internet connections.
This walk through makes a few assumptions about your setup environment.

Note
The add-in is for reporting on SQL data not SharePoint data. - Active Directory 2003 domain running in native mode
- The SharePoint server is on a separate box from the Reporting server
- The reporting server and the SQL server are on the same box
- The SPAdmin account is the SharePoint administration account and is local administrator on the SharePoint server and the SQL server
- SPSQL account runs the sql services and reporting services
- SPSites account runs the application pool for the SharePoint web site.
- Your SharePoint Server is set to use Kerberos authentication
SetSPN
SetSPN (set spin) is used to configure Active Directory user and computer accounts for Kerberos delegations. Kerberos delegation is necessary if you are running reporting services on a separate server than your SharePoint server. If user A hits a website on computer B, computer B can forward the authentication to computer C. There are two benefits to configuring Kerberos; one, Kerberos is a more secure protocol than NTLM, two, Kerberos is necessary to correctly configure Reporting Services.
- Login to domain controller
- Download the setspn.exe from http://www.microsoft.com/downloads/details.aspx?familyid=5fd831fd-ab77-46a3-9cfe-ff01d29e5c46&displaylang=en
- Run setspn_setup.exe and install tool, click next
- Agree to the EULA
- Accept the default path and click install now
- Click start -> Run and enter cmd
- From the command prompt navigate to C:\Program Files\Resource Kit. You will need to use the setspn for the following three accounts. The SharePoint Service Account (SPAdmin), the Default site application pool account (SPSites) and the SQL Service account (SPSQL). Issue the following commands:
- setspn -A http/llqawss01 qalbapad\spadmin
- setspn -A http/llqawss01.qalbapad.qalocal qalbapad\spadmin
- setspn -A http/llqawss01 qalbapad\spsites
- setspn -A http/llqawss01.qalbapad.qalocal qalbapad\spsites
- setspn -A http/llqawss01 qalbapad\spsql
- setspn -A http/llqawss01.qalbapad.qalocal qalbapad\spsql
- setspn -A http/llqasql01 qalbapad\spadmin
- setspn -A http/llqasql01.qalbapad.qalocal qalbapad\spadmin
- setspn -A http/FQDN of server (www.ll.com) qalbapad\spsites
- setspn -A http/FQDN of server (www.ll.com) qalbapad\spadmin
- setspn -A http/FQDN of server (www.ll.com) qalbapad\spql
You notice that you will need to setspn on each name the computer may use, the netbios name, the internal FQDN, if this machine uses another FQDN you will need to add this as well.(To be honest this is probably over kill but this will cover all your bases)
- On the domain controller open active directory users and computers, We need to trust the computer accounts and Service accounts for delegation
- Find the SQL server in Active Directory Users and Computers (ADUC) right Click and go to properties and click the Delegation tab, then select Trust this computer for delegation to any service (Kerberos only)
- Find the WSS server in ADUC right Click and go to properties and click the Delegation tab then select Trust this computer for dlegation to any service (Kerberos only)
- Find the SharePoint Service account in ADUC go to properties and click the Delegation tab then select Trust this user for delegation to any service(Kerberos only)
- Find the SharePoint Site (SPSites) account in ADUC go to properties and click the Delegation tab then select Trust this user for delegation to any service(Kerberos only)
- Find the SQL Server Service (SPSQL) in ADUC go to properties and click the Delegation tab then select Trust this user for delegation to any service(Kerberos only)
On the SQL/Reporting Server
- Make SPAdmin local administrator of the SQL server computer
- Install Microsoft .NET Framework 2.0
- Microsoft .NET Framework 3.0
- Download the SharePoint install from Microsoft
- Execute SharePoint.exe
- Accept the licensing agreement, click continue
- Choose the advanced installation option
- For Server Type choose Web Front-End (WFE), click install now
- Click close to run the SharePoint Technology Configuration wizard
- Select Yes, I want to connect to an existing server farm, click next
- Enter the name of the database server and then click Retrieve Database Names. This will bring back the SharePoint Configuration database name.
- In the Specify Database Access account enter the SharePoint Service account (SPAdmin) and password information, click next
- Click Next
- Click Finish
- Download the reporting services add-in http://www.microsoft.com/downloads/details.aspx?familyid=1E53F882-0C16-4847-B331-132274AE8C84&displaylang=en
On the SharePoint Server
Install the SharePoint add in for Reporting services.
- SharePointRS.msi, click next
- Accept the Licensing agreement, click next
- Click next
- Click Install
- Click Finish when complete
- Login to the SQL Server computer, click start -> All Programs -> Microsoft SQL Server 2005 -> Configurations Tools -> Reporting Services Configuration
- Connect to the SQL Server
- Click on Database Setup
- Click on Change to change the server mode to SharePoint
- Click yes to create a new Reporting Services database
- Leave the defaults and enter a name for the new SharePoint integrated Reporting Services database, click OK.
- Click Apply
- Leave the defaults and click OK
- Now we need to configure the Reporting Services application pool to run as SPAdmin. Open IIS Manager and navigate to the Application Pool -> Report Server
- Right click on Report Server and click properties, click the Identity tab
- Configure the identity to be SPAdmin. This will allow the reporting server to access the SharePoint server for the SharePoint integration to work properly.
- In IIS manager under the Web Sites folder right click the default site (This is where reporting services web is located) and click properties
- In the Web Sites tab change the port to 8080, Click OK to apply
- Return to the Reporting Server configuration and refresh. In the Web Service Identity you will need to click apply to complete the change made to the application pool
- Click on SharePoint Integration
- Follow link to SharePoint Central Administration site
- From the Application tab click on Manage integration settings
- Enter the url for the report server plus the virtual directory for the report server. Most likely this will be http://machinename:port#/reportserver, Click OK
- Click on Grant database access, this will default to the local server. Change to the reporting server. Click OK
- You will be prompted to enter credentials for accessing the report server. Enter the SQL account (SPSQL), click ok
- Click on Set Server Defaults
- In Reporting Services Server Defaults accept the defaults and click OK
