Configure a report server for remote administration
In Reporting Services, you can configure report server instances locally or remotely. To configure a remote report server instance, you can use the Reporting Services Configuration tool or write custom code that uses the Reporting Services Windows Management Instrumentation (WMI) provider. The Reporting Services Configuration tool provides a graphical interface to the WMI provider so that you can configure a report server without having to write code. When you start the tool, you can specify a remote server to connect to.
Before you can use the tool to configure a remote report server, you must follow the instructions in this article to enable ports in Windows Firewall, enable remote connections, and enable remote WMI requests.
Proper configuration helps you avoid the following error:
The machine could not be found.
The RPC server is unavailable. (Exception from HRESULT: 0x800706BA).
Prerequisites
To modify firewall settings, you must be logged on locally and you must be a member of the local Administrators group. You can't modify the Windows Firewall settings of a remote computer over a remote connection.
If you want to enable remote administration for a nonadministrator user, you must grant the account Distributed Component Object Model (DCOM) Remote Activation permissions. Instructions for configuring the server for nonadministrator access are provided in this article.
Some organizations have group policies that prevent remote server administration for certain operating systems or users. Before you begin modifying firewall settings, check with your network administrator to verify whether there are restrictions on remote administration.
For more information, see Connecting through Windows Firewall in the Platform SDK documentation on MSDN.
Tasks
Tasks that enable remote report server configuration include the following settings:
Enable ports in Windows Firewall to allow requests on ports used by the report server and by the SQL Server Database Engine instance. See Configure a Firewall for Report Server Access and Configure a Windows Firewall for Database Engine Access.
Enable remote connections to the instance of the Database Engine instance that hosts the report server database. A remote connection is necessary for configuring the report server database connection and managing the encryption keys.
Enable remote WMI requests to pass through the Microsoft Windows Firewall.
If you're configuring a remote report server for administration by a nonadministrative user, you must set DCOM permissions to enable remote WMI access to a standard Windows user account. Because WMI uses DCOM as transport for remote calls, you must set the DCOM permissions so that users who aren't logged on as the local administrator can configure the server.
If you're configuring a remote report server for administration by a nonadministrative user, you must also set WMI permissions on the report server WMI namespace. By default, all members of the local Administrator group have access to the report server WMI namespace. If you want to grant access to nonadministrators, you must set permissions.
Instructions on how to perform these tasks are provided in this article.
Configure remote connections to the report server database
Select Start, point to Programs, point to Microsoft SQL Server, point to Configuration Tools, and choose SQL Server Configuration Manager.
In the left pane, expand SQL Server Network Configuration, and then select Protocols for the instance of SQL Server.
In the details pane, enable the TCP/IP and Named Pipes protocols, and then restart the SQL Server service.
Enable remote administration in Windows Firewall
Sign in as a local administrator to the computer for which you want to enable remote administration.
Open a command prompt with administrative privileges.
Run the following command:
netsh.exe firewall set service type=REMOTEADMIN mode=ENABLE scope=ALL
You can specify different options for Scope. For more information, see the Windows Firewall product documentation.
Verify that remote administration is enabled. You can run the following command to show the status:
netsh.exe firewall show state
Restart the computer.
Set DCOM permissions to enable remote WMI access for nonadministrators
On the Start menu, point to Administrative Tools, select Component Services.
For Windows Vista, on the Start menu, point to All Programs, select Run, and then enter mmc comexp.msc.
Open the Component Services folder.
Open the Computers folder.
Select My Computer.
On the Action menu, and select Properties.
Select COM Security.
In Launch and Activation Permissions, select Edit Limits.
If you don't see your name in Launch Permission, select Add.
Enter the name of your user account, and then select OK.
In Permissions for <User or Group>, under the Allow column, choose Remote Launch and Remote Activation, and then select OK.
Set permissions on the report server WMI namespace for nonadministrators
On the Start menu, point to Administrative Tools, select Computer Management.
Open the Services and Applications folder.
Right-click WMI Control, and select Properties.
Select Security.
Open the Root folder.
Open the Microsoft folder.
Open the SQLServer folder.
Open the ReportServer folder.
Open Instance folder. If you installed the default instance, the folder is MSSQLSERVER.
Open the v10 folder.
Select the Admin folder, and then select Security.
Select Add, and then enter the user account you use to manage the server.
In the Allow column, choose Enable Account, Remote Enable, and Read Security, and then select OK.