Reporting Services 組態檔Reporting Services Configuration Files

Reporting ServicesReporting Services 會將元件資訊儲存在登錄以及安裝過程中複製到檔案系統的組態檔內。stores component information in the registry and in configuration files that are copied to the file system during setup. 組態檔包含僅供內部使用和使用者自訂值的組合。Configuration files contain a combination of internal-use-only and user-defined values. 使用者自訂值會透過安裝程式、組態工具、命令列公用程式,以及手動編輯組態檔等方式指定。User-defined values are specified through Setup, the configuration tools, the command line utilities, and by manually editing the configuration files.

只有當您要加入或設定進階設定時,才需要修改組態檔。Modifying the configuration files is only necessary if you are adding or configuring advanced settings. 組態設定會指定為 XML 元素或屬性。Configuration settings are specified as either XML elements or attributes. 如果您了解 XML 和組態檔,就可以使用文字或程式碼編輯器來修改可由使用者定義的設定。If you understand XML and configuration files, you can use a text or code editor to modify user-definable settings. 如需如何修改設定檔的詳細資訊,或想要進一步了解報表伺服器如何讀取全新和更新的組態設定,請參閱修改 Reporting Services 設定檔 (RSreportserver.config)For more information about how to modify a configuration file or to learn more about how the report server reads new and updated configuration settings, see Modify a Reporting Services Configuration File (RSreportserver.config).

注意

在先前的版本中,報表管理員具有名為 RSWebApplication.config 的自訂組態檔。該檔案現在已過時。In previous releases, Report Manager had its own configuration file named RSWebApplication.config. That file is now obsolete. 如果您是從舊版安裝升級,雖然系統不會刪除該檔案,但是報表伺服器也不會從該檔案讀取任何設定。If you upgraded from a previous installation, the file will not be deleted but the report server will not read any settings from it. 如果該檔案存在電腦上,您就應該刪除它。If the file exists on your computer, you should delete it. SQL Server 2008SQL Server 2008 和更新版本中,所有報表管理員的組態設定都是透過 RSReportServer.config 檔進行儲存和讀取。In SQL Server 2008SQL Server 2008 and later versions, all Report Manager configuration settings are stored in and read from the RSReportServer.config file. 若要檢閱的設定已刪除或移動的清單,請參閱SQL Server Reporting Services SQL Server 2014 中的重大變更To review a list of which settings were deleted or moved, see Breaking Changes in SQL Server Reporting Services in SQL Server 2014.

本主題內容:In this topic:

組態檔的摘要 (原生模式)Summary of Configuration Files (Native Mode)

下表將提供儲存組態設定之位置的描述。The following table provides a description of where configuration settings are stored. 大部分組態設定都會儲存在 Reporting ServicesReporting Services隨附的組態檔中。Most configuration settings are stored in configuration files that are included with Reporting ServicesReporting Services. 根據預設,其安裝目錄如下:By default, the installation directory is the following:

C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER  
儲存於:Stored in: 描述Description LocationLocation
RSReportServer.configRSReportServer.config 儲存之功能區的報表伺服器服務的組態設定:報表管理員、 報表伺服器 Web 服務和背景處理的內容。Stores configuration settings for feature areas of the Report Server service: Report Manager, the Report Server Web service, and background processing. 如需有關每個設定的詳細資訊,請參閱< RSReportServer Configuration File>。For more information about each setting, see RSReportServer Configuration File. <安裝目錄> \Reporting Services\ReportServer<Installation directory> \Reporting Services \ReportServer
RSSrvPolicy.configRSSrvPolicy.config 儲存伺服器延伸模組的程式碼存取安全性原則。Stores the code access security policies for the server extensions. 如需有關這個檔案的詳細資訊,請參閱< Using Reporting Services Security Policy Files>。For more information about this file, see Using Reporting Services Security Policy Files. <安裝目錄> \Reporting Services\ReportServer<Installation directory> \Reporting Services \ReportServer
RSMgrPolicy.configRSMgrPolicy.config 儲存報表管理員的程式碼存取安全性原則。Stores the code access security policies for Report Manager. 如需有關這個檔案的詳細資訊,請參閱< Using Reporting Services Security Policy Files>。For more information about this file, see Using Reporting Services Security Policy Files. <安裝目錄> \Reporting Services\ReportManager<Installation directory> \Reporting Services \ReportManager
報表伺服器 Web 服務的 Web.configWeb.config for the Report Server Web service 只包含 ASP.NET 所需的設定。Includes only those settings that are required for ASP.NET. <安裝目錄> \Reporting Services\ReportServer<Installation directory> \Reporting Services \ReportServer
報表管理員的 Web.configWeb.config for Report Manager 只包含 ASP.NET 所需的設定。Includes only those settings that are required for ASP.NET. <安裝目錄> \Reporting Services\ReportManager<Installation directory> \Reporting Services \ReportManager
ReportingServicesService.exe.configReportingServicesService.exe.config 儲存針對報表伺服器服務指定追蹤層級和記錄選項的組態設定。Stores configuration settings that specify the trace levels and logging options for the Report Server service. 如需有關這個檔案中之元素的詳細資訊,請參閱< ReportingServicesService Configuration File>。For more information about the elements in this file, see ReportingServicesService Configuration File. <安裝目錄> \Reporting Services\ReportServer \Bin<Installation directory> \Reporting Services \ReportServer \Bin
登錄設定Registry settings 儲存用來解除安裝 Reporting Services 的組態狀態和其他設定。Stores configuration state and other settings used to uninstall Reporting Services. 如果您要疑難排解安裝或組態問題,可以檢視這些設定來取得有關報表伺服器之設定方式的資訊。If you are troubleshooting an installation or configuration problem, you can view these settings to get information about how the report server is configured.

請勿直接修改這些設定,因為這樣做可能會讓安裝失效。Do not modify these settings directly as this can invalidate your installation.
HKEY_LOCAL_MACHINE \SOFTWARE\Microsoft \Microsoft SQL Server \<執行個體識別碼> \SetupHKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \Microsoft SQL Server \<InstanceID> \Setup

- 和 -- And -

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Services\ReportServerHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Services\ReportServer
RSReportDesigner.configRSReportDesigner.config 儲存報表設計師的組態設定。Stores configuration settings for Report Designer. 如需詳細資訊,請參閱 RSReportDesigner Configuration FileFor more information, see RSReportDesigner Configuration File. <磁碟機>:\Program Files\Microsoft Visual Studio 10\Common7\IDE\PrivateAssemblies<drive>:\Program Files \Microsoft Visual Studio 10 \Common7 \IDE \PrivateAssemblies.
RSPreviewPolicy.configRSPreviewPolicy.config 儲存報表預覽期間使用之伺服器延伸模組的程式碼存取安全性原則。Stores the code access security policies for the server extensions used during report preview. 如需有關這個檔案的詳細資訊,請參閱< Using Reporting Services Security Policy Files>。For more information about this file, see Using Reporting Services Security Policy Files. C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssembliesrC:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssembliesr

組態檔的摘要 (SharePoint 模式)Summary of Configuration Files (SharePoint Mode)

下表提供用於 SharePoint 模式報表伺服器之組態檔的描述。The following table provides a description of configuration files used for a SharePoint mode report server. 大部分組態設定都儲存在 SharePoint 服務應用程式資料庫中。Most configuration settings are stored in SharePoint service application databases. 如需詳細資訊,請參閱 Reporting Services SharePoint 服務和服務應用程式For more information, see Reporting Services SharePoint Service and Service Applications.

根據預設,SharePoint 模式的安裝目錄如下:By default, the installation directory for SharePoint mode is the following:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting  
儲存於:Stored in: 描述Description LocationLocation
RSReportServer.configRSReportServer.config 儲存之功能區的報表伺服器服務的組態設定:報表管理員、 報表伺服器 Web 服務和背景處理的內容。Stores configuration settings for feature areas of the Report Server service: Report Manager, the Report Server Web service, and background processing. 如需有關每個設定的詳細資訊,請參閱< RSReportServer Configuration File>。For more information about each setting, see RSReportServer Configuration File. <安裝目錄> \Reporting Services\ReportServer<Installation directory> \Reporting Services \ReportServer
RSSrvPolicy.configRSSrvPolicy.config 儲存伺服器延伸模組的程式碼存取安全性原則。Stores the code access security policies for the server extensions. 如需有關這個檔案的詳細資訊,請參閱< Using Reporting Services Security Policy Files>。For more information about this file, see Using Reporting Services Security Policy Files. <安裝目錄> \Reporting Services\ReportServer<Installation directory> \Reporting Services \ReportServer
報表伺服器 Web 服務的 Web.configWeb.config for the Report Server Web service 只包含 ASP.NET 所需的設定。Includes only those settings that are required for ASP.NET. <安裝目錄> \Reporting Services\ReportServer<Installation directory> \Reporting Services \ReportServer
登錄設定Registry settings 儲存用來解除安裝 Reporting Services 的組態狀態和其他設定。Stores configuration state and other settings used to uninstall Reporting Services. 同時儲存有關每個 Reporting ServicesReporting Services 服務應用程式的資訊。Also stores information about each Reporting ServicesReporting Services service application.

請勿直接修改這些設定,因為這樣做可能會讓安裝失效。Do not modify these settings directly as this can invalidate your installation.
HKEY_LOCAL_MACHINE \SOFTWARE\Microsoft \Microsoft SQL Server \<執行個體識別碼> \SetupHKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \Microsoft SQL Server \<InstanceID> \Setup

範例執行個體識別碼:MSSQL12.MSSQLSERVERExample instance ID: MSSQL12.MSSQLSERVER

- 和 -- And -

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Reporting Services\Service ApplicationsHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Reporting Services\Service Applications
RSReportDesigner.configRSReportDesigner.config 儲存報表設計師的組態設定。Stores configuration settings for Report Designer. 如需詳細資訊,請參閱 RSReportDesigner Configuration FileFor more information, see RSReportDesigner Configuration File. <磁碟機>:\Program Files\Microsoft Visual Studio 10\Common7\IDE\PrivateAssemblies<drive>:\Program Files \Microsoft Visual Studio 10 \Common7 \IDE \PrivateAssemblies.

另請參閱See Also

Reporting Services 報表伺服器 (原生模式) Reporting Services Report Server (Native Mode)
Reporting Services 延伸模組 Reporting Services Extensions
rsconfig 公用程式 (SSRS) rsconfig Utility (SSRS)
啟動與停止報表伺服器服務Start and Stop the Report Server Service