并行部署 Reporting Services 和 Windows SharePoint Services

可以在单个 Microsoft Internet 信息服务 (IIS) 6.0 服务器中一起运行报表服务器和 Microsoft Windows SharePoint Services,前提是每个服务在不同的应用程序池中运行,并且已将 Reporting Services 虚拟目录添加到 Windows SharePoint Services 排除列表中。

您可以将这些服务器作为独立服务器运行,如果要在 SharePoint 内容数据库中存储和管理报表服务器项,也可以集成这些服务器。本主题提供如何在同一台计算机上并行运行多个以独立模式运行的服务器的说明。有关如何配置在 SharePoint 集成模式下运行的并行安装的详细信息,请参阅将 Reporting Services 配置为 SharePoint 3.0 集成模式

安装建议

可以按任意顺序安装 Reporting Services 和 Windows SharePoint Services。安装顺序决定了是自动处理并行部署还是需要其他配置。

如果先安装 SharePoint Services,则在安装或配置 Reporting Services 时,Reporting Services 虚拟目录将会自动添加到 SharePoint 排除列表中。SQL Server 安装程序和 Reporting Services 配置工具都能检测现有的 SharePoint Services 安装,并相应地修改排除列表。

如果在安装和配置 Reporting Services 之后安装 SharePoint Services,则只有在执行下列步骤之后,才能进行 Reporting Services 安装:

  1. 启动 Reporting Services 配置工具。
  2. 配置报表服务器虚拟目录。

配置虚拟目录时,Reporting Services 配置工具会将其添加到 SharePoint 排除列表中。请注意,用于 Reporting Services 虚拟目录的报表服务器应用程序池是默认创建的。使用专用的应用程序池有助于避免与现有的 Web 应用程序发生冲突。

ms159697.note(zh-cn,SQL.90).gif注意:
Windows SharePoint Services 可从 Microsoft 下载站点 www.microsoft.com 下载。安装该服务的可执行文件是 Stsv2.exe。若要安装 Windows SharePoint Services,请选择运行 Windows Server 2003 的计算机,在该计算机上,IIS 6.0 以工作进程隔离模式运行,并启用了 ASP.NET。

并行部署的故障排除步骤

如果在并行安装过程中遇到问题,则可以尝试执行下列步骤进行解决:

  1. 运行以下命令可将 Reporting Services 虚拟目录添加到 Windows SharePoint Services 排除列表中。如果使用默认虚拟目录安装了 Reporting Services,则在命令提示符下运行以下命令(如果使用的是其他 Web 主机,则务必使用该 Web 服务器名替换 localhost):
    STSADM.EXE -o addpath -url https://localhost/ReportServer -type exclusion

    STSADM.EXE -o addpath -url https://localhost/Reports -type exclusion
    默认情况下,文件 Stsadm.exe 位于 C:\Program Files\Common Files\Microsoft Shared\Web server extensions\60\bin 中。
  2. 运行 Reporting Services 配置工具。如果您还没有配置报表服务器以进行操作,则必须创建报表服务器和报表管理器虚拟目录、指定服务帐户并创建报表服务器数据库。有关如何设置工具中的选项的详细信息,请参阅 Reporting Services 配置的 F1 帮助
    如果您在安装 SharePoint Services 之前已配置了报表服务器,请检查 Web 服务的应用程序池设置以验证设置是否正确:
    1. 打开“Web 服务标识”页。
    2. 验证报表服务器和报表管理器的应用程序池设置为 ReportServer 应用程序池(或者为服务定义的其他应用程序池)。报表服务器使用的应用程序池必须与 SharePoint Services 使用的应用程序池不相同。
ms159697.note(zh-cn,SQL.90).gif注意:
在以前的版本的文档中,建议您启用会话状态。现在不再要求启用会话状态。不过,如果不启用会话状态,则在详细信息视图中设置的报表管理器文件夹页的会话状态将不予保留。如果需要详细信息视图的会话状态,则可以在 SharePoint Web.config 文件(位于 C:\Inetpub\wwwroot)中将 enableSessionState 设置为 true 以启用会话状态。

请参阅

任务

如何启动 Reporting Services 配置

概念

比较 Reporting Services 各版本与 SharePoint 技术的集成级别
Reporting Services 和 SharePoint 技术的集成
Reporting Services 的部署模式
使用 SharePoint 2.0 Web 部件查看报表
配置 Reporting Services 组件

帮助和信息

获取 SQL Server 2005 帮助