安裝或解除安裝 SharePoint 的 Reporting Services 增益集 (SharePoint 2010 和 SharePoint 2013)Install or Uninstall the Reporting Services Add-in for SharePoint (SharePoint 2010 and SharePoint 2013)

在 SharePoint 伺服器上執行適用於 SharePoint 產品的 MicrosoftMicrosoft [SQL Server]SQL ServerReporting ServicesReporting Services 增益集安裝套件 (rsSharePoint.msi),以在 SharePoint 部署中啟用 Reporting ServicesReporting Services 功能。Run the installation package MicrosoftMicrosoft [SQL Server]SQL Server Reporting ServicesReporting Services Add-in for SharePoint products (rsSharePoint.msi) on SharePoint servers to enable Reporting ServicesReporting Services features within a SharePoint deployment. 功能包含 Power View、報表檢視器 Web 組件、URL Proxy 端點、內容類型以及應用程式頁面,讓您可以建立、檢視及管理報表、報表模型、資料來源以及在 SharePoint 網站上的其他報表伺服器內容。Features include Power View, a Report Viewer Web Part, a URL proxy endpoint, content types, and application pages so that you can create, view, and manage reports, report models, data sources and other report server content on a SharePoint site. 適用於 SharePoint 產品的 Reporting ServicesReporting Services 增益集是以 SharePoint 模式執行之報表伺服器的必要元件。The Reporting ServicesReporting Services Add-in for SharePoint products is a required component for a report server that runs in SharePoint mode. 增益集可以從 SQL Server 2014SQL Server 2014 安裝精靈安裝,或是從 SQL Server 2014SQL Server 2014 功能套件下載 rsSharePoint.msi。The add-in can be installed from either the SQL Server 2014SQL Server 2014 setup wizard or by downloading the rsSharePoint.msi from the SQL Server 2014SQL Server 2014 feature pack. 如需增益集版本和下載頁面的清單,請參閱 尋找適用於 SharePoint 產品之 Reporting Services 增益集的位置For a list of the versions of the add-in and download pages, see Where to find the Reporting Services add-in for SharePoint Products.

適用於:Applies to: SharePoint 2013 | SharePoint 2010適用於:Applies to: SharePoint 2013 | SharePoint 2010

本主題內容:In this topic:

必要條件Prerequisites

安裝 Reporting ServicesReporting Services 增益集是整合報表伺服器與 SharePoint 產品之執行個體的數個必要步驟之一。Installing the Reporting ServicesReporting Services Add-in is one of several steps that are necessary for integrating a report server with an instance of a SharePoint product. 如需有關使用 SharePoint 模式之完整需求集的詳細資訊,請參閱< Hardware and Software Requirements for Reporting Services in SharePoint Mode>。For more information about the complete set of requirements for using SharePoint mode, see Hardware and Software Requirements for Reporting Services in SharePoint Mode. 如需有關安裝和設定Reporting ServicesReporting Services,請參閱 < 安裝 Reporting Services SharePoint Mode for SharePoint 2013For more information on installing and configuring Reporting ServicesReporting Services, see Install Reporting Services SharePoint Mode for SharePoint 2013.

  • 若要整合 Reporting ServicesReporting Services 與具備多重 Web 前端應用程式的 SharePoint 伺服器陣列,請在具有 Web 伺服器前端的伺服器陣列中之每部電腦上安裝增益集。If you are integrating Reporting ServicesReporting Services with a SharePoint farm that has multiple Web front end applications, install the add-in to each computer in the farm that has a Web server front-end. 請只針對將用來存取報表伺服器內容的 Web 前端進行這項處理。Do this only for Web front ends that will be used to access report server content.

  • 若要安裝 Reporting ServicesReporting Services 增益集,您必須是電腦上的系統管理員。To install the Reporting ServicesReporting Services Add-in, you must be an administrator on the computer. 例如,如果您要在命令提示字元中執行 rsSharePoint.msi,則應使用 [以系統管理員身分執行] 選項以系統管理員權限開啟命令提示字元。For example if you are going to run the rsSharePoint.msi at the command prompt, you should open the command prompt with administrator privileges by using the Run as administrator option.

  • 您必須是 SharePoint Farm Administrators 群組成員才能安裝 Reporting ServicesReporting Services 增益集。To install the Reporting ServicesReporting Services Add-in, you must be a member of the SharePoint Farm Administrators group.

  • 您必須是網站集合管理員,才能啟動 Reporting ServicesReporting Services 整合功能。You must be a Site Collection administrator to activate the Reporting ServicesReporting Services integration feature.

  • 如需部署範例的增益集的圖表,請參閱在 SharePoint 中的 SQL Server BI 功能的部署拓撲For diagrams of example deployments with the add-in, see Deployment Topologies for SQL Server BI Features in SharePoint.

增益集的安裝內容What Does The Add-in Install?

增益集的安裝程序是由兩個階段組成,這兩個階段都會在完成標準安裝時自動完成:The add-in setup process is composed of two phases, both are completed automatically when you complete a standard installation:

  • 第一階段是安裝檔案至適當的資料夾。The first phase is to install files to the proper folders. 該資料夾是 SharePoint 部署的標準。The folders are standard for SharePoint deployments. rsCustomAction.exe 是所安裝的檔案之一。One of the files that is installed is rsCustomAction.exe.

  • 安裝的第二部分是執行自訂動作集,利用 SharePoint 註冊 Reporting ServicesReporting Services 檔案。The second portion of the installation is to run a set of custom actions to register the Reporting ServicesReporting Services files with SharePoint. 從 rsCustomAction.exe 執行自訂動作。The custom actions are run from rsCustomAction.exe. 當完整的兩階段安裝作業完成時,系統就會移除該 exe 檔。The exe is removed when the full two phase installation completes. 您可以執行 僅限檔案 的安裝,在安裝結束時不執行 rsCustomAction.exe,並將其留在磁碟機中。You can run a files only installation and rsCustomAction.exe is not run at the end of installation and it is left on the drive.

Reporting Services 安裝順序The Reporting Services Installation order

此增益集可以在安裝 SharePoint 之前或 SharePoint 安裝之後進行安裝。The add-in can be installed before installing SharePoint or after SharePoint installation. 此增益集會遵循 SharePoint 預先部署標準,將檔案安裝在 SharePoint 安裝使用的位置中。The add-in follows SharePoint pre-deployment standards and installs files in locations used by the SharePoint installation.

注意

在 SharePoint 產品之前安裝此增益集的好處是,當新的伺服器加入到伺服器陣列時,SharePoint 伺服器陣列將會設定和啟動 Reporting Services 增益集。The advantage of installing the add-in prior to the SharePoint product is that as new servers are added to the farm, the Reporting Services Add-in will be configured and activated by the SharePoint farm.

SharePoint 2010SharePoint 2010

  • SharePoint 2010 產品準備工具會安裝 SQL Server 2008 R2SQL Server 2008 R2 版本的 Reporting ServicesReporting Services 增益集。The SharePoint 2010 Products Preparation tool installs the SQL Server 2008 R2SQL Server 2008 R2 version of the Reporting ServicesReporting Services add-in. SQL Server 2014SQL Server 2014 包含 SQL Server 2014SQL Server 2014 功能需要使用的新版本增益集。includes a new version of the add-in that is required for SQL Server 2014SQL Server 2014 features.

    如果您執行 SharePoint 產品準備工具,您仍然需要安裝 SQL Server 2014SQL Server 2014 增益集的 Reporting ServicesReporting Services 版本。If you run the SharePoint Products Preparation Tool, you still need to install the SQL Server 2014SQL Server 2014 version of the Reporting ServicesReporting Services Add-in.

  • 如果您先行安裝了 SQL Server 2014SQL Server 2014 增益集的 Reporting ServicesReporting Services 版本,則當您執行 SharePoint 產品準備工具時,會看到以下的對話方塊,表示在偵測到較新版時,準備工具並未安裝舊版增益集。If you install SQL Server 2014SQL Server 2014 version of the Reporting ServicesReporting Services add-in first, then when you run the SharePoint Products preparation tool you will see the following dialog indicating the preparation tool did not install the older version of the add-in as the newer version was detected. 這是預期的行為This is expected behavior

    已安裝 SSRS 增益集。SSRS add-in is already installed.

SharePoint 2013SharePoint 2013

SharePoint 20103 產品準備工具的用途安裝Reporting ServicesReporting Services增益集適用於 SharePoint 產品。The SharePoint 20103 Products Preparation tool does Not install the Reporting ServicesReporting Services add-in for SharePoint products.

安裝方法概觀Overview of the Installation Methods

您可以使用下列兩種方法的其中一種,安裝適用於 SharePoint 產品的 SQL Server 2014SQL Server 2014 Reporting ServicesReporting Services 增益集:The SQL Server 2014SQL Server 2014 Reporting ServicesReporting Services Add-in for SharePoint products can be installed using one of the following two methods:

  • 安裝精靈: 注意的新SQL Server 2014SQL Server 2014,增益集可以安裝由[SQL Server]SQL Server安裝精靈。The installation wizard: noteNew with SQL Server 2014SQL Server 2014, the add-in can be installed by the [SQL Server]SQL Server installation wizard. 在精靈的 [功能選擇] 頁面上,選擇 [適用於 SharePoint 產品的 Reporting Services 增益集] 。Choose Reporting Services Add-in for SharePoint Products on the Feature Selection page of the wizard.

  • rsSharepoint.msi: 增益集可以直接從安裝媒體安裝或下載並安裝。rsSharepoint.msi: The add-in can be installed directly from the installation media or downloaded and installed. rsSharepoint.msi 同時支援圖形化使用者介面和命令列安裝。The rsSharepoint.msi supports both a graphical user interface and a command line installation. 您必須以系統管理員權限執行 .msi,方式是先開啟提高權限的命令提示字元,然後從命令列執行 rsSharepoint.msi。You must run the .msi with administrator privileges by first opening a command prompt with elevated permissions, and then running the rsSharepoint.msi from the command line. 如需下載此增益集的詳細資訊,請參閱 尋找適用於 SharePoint 產品之 Reporting Services 增益集的位置For more information on downloading the add-in, see Where to find the Reporting Services add-in for SharePoint Products.

    注意

    如果您使用 /q 參數進行無訊息命令列安裝,將不會顯示使用者授權合約。If you use the /q switch for a silent command line installation, the end-user license agreement will not be displayed. 不論安裝方式為何,使用此軟體皆受到授權合約的限制,同時您有責任遵從授權合約的規定。Regardless of the installation method, the use of this software is governed by a license agreement and you are responsible for complying with the license agreement.

使用安裝檔 rsSharePoint.msi 安裝增益集Install the add-in using the installation file rsSharePoint.msi

此章節與直接安裝 rssharepoint.msi 相關,可以執行 .msi 安裝精靈或命令列安裝。This section is related to installing the rssharepoint.msi directly, by either running the .msi installation wizard or a command line installation. 如果您使用 SQL Server 安裝精靈安裝增益集,則不需遵循下列步驟。If you installed the add-in using the SQL Server installation Wizard, you do not need to follow these steps.

您可以執行下列命令以看到完整的命令列參數清單:You can see a full list of command line switches by running the following command:

Rssharepoint.msi /?  
  1. 下載安裝程式 (rsSharepoint.msi) 的Reporting ServicesReporting Services增益集。Download the Setup program (rsSharepoint.msi) for the Reporting ServicesReporting Services Add-in. 如需下載此增益集的詳細資訊,請參閱 尋找適用於 SharePoint 產品之 Reporting Services 增益集的位置For more information on downloading the add-in, see Where to find the Reporting Services add-in for SharePoint Products.

  2. 以管理員的身分執行 rsSharepoint.msi,執行安裝精靈。As an administrator, run rsSharepoint.msi to run the Installation Wizard. 此精靈會顯示 [歡迎使用] 頁面、軟體授權合約和註冊資訊頁面。The wizard displays a Welcome page, the Software license terms, and a registration information page. 安裝程式會在下列路徑下建立資料夾,並將檔案複製到資料夾:Setup creates folders under the following path and copies files to the folders:

    %program files%\common files\Microsoft Shared\Web Server Extensions\14\

    中的多個or

    %program files%\common files\Microsoft Shared\Web Server Extensions\15\

  3. 在 SharePoint 管理中心設定報表伺服器設定與功能啟用。Configure the report server settings and feature activation in SharePoint Central Administration. .. 如需有關安裝和設定Reporting ServicesReporting ServicesSharePoint 模式中,請參閱 < 安裝 Reporting Services SharePoint Mode for SharePoint 2010For more information on installing and configuring Reporting ServicesReporting Services SharePoint mode, see Install Reporting Services SharePoint Mode for SharePoint 2010.

僅限檔案安裝Files-only installation

若要安裝檔案但略過自訂動作階段,請從命令列執行 rssharepoint.msi 並加上 SKIPCA 選項:To install the files but skip the custom action phase of installation, run the rssharepoint.msi from the command line with the SKIPCA option:

  1. 以系統管理員權限開啟命令提示字元。Open a command prompt with administrator permissions.

  2. 執行下列命令:Run the following command:

    Msiexec.exe /i rsSharePoint.msi SKIPCA=1  
    

將會開啟安裝使用者介面並正常運作,同時會安裝 rsCustomAction.exe 檔案。The installation user interface will open and run as normal and the rsCustomAction.exe file is installed. 但 .exe 不會在安裝結束時執行,而且當安裝完成時,rsCustomAction.exe 會保留在電腦中。However, the .exe will not run at the end of the installation and rsCustomAction.exe will remain on the computer when the installation is completed.

使用兩步驟安裝來疑難排解安裝問題,或安裝內容類型。Use a two-step installation to troubleshoot installation issues or install the content types

若您在安裝期間發生錯誤,或 Reporting ServicesReporting Services 內容類型沒有顯示在文件庫設定中,您可以從命令列將安裝程式以兩步驟的流程執行:If you get errors during installation or the Reporting ServicesReporting Services content types do not appear in the document library settings, you can run Setup as a two-step process from the command line:

  1. 以系統管理員權限 開啟命令提示字元,並依前一章節所述內容,執行僅限檔案安裝。Open a command prompt with administrator permissions and run a files only installation as described in the previous section.

  2. 執行自訂動作可執行檔:Run the custom actions executable:

    1. 導覽至包含 rsCustomAction.exe 檔案的資料夾。Navigate to the folder that contains the file rsCustomAction.exe. 此檔案會隨僅限檔案安裝增益集複製到您的電腦上。This file is copied to your computer by the files only installation of the add-in. rsCustomAction.exe 位於 %temp% 目錄。rsCustomAction.exe is located in the %Temp% directory. 若要導覽至檔案,請在命令提示字元中輸入下列內容:To navigate to the file, type the following from the command prompt:

      CD %temp%CD %temp%.

      此檔案應該位於: \Users\<您的名稱>\AppData\Local\TempThe file should be located in: \Users\<your name>\AppData\Local\Temp

    2. 輸入以下命令。Type the following command. 完成此組態步驟將需要幾分鐘的時間。This configuration step will take several minutes to finish. 在此程序期間,將會重新啟動 W3SVC 服務。The W3SVC service will be restarted during this process. 會以程式複製檔案、暫存器元件等形式顯示數個狀態訊息,同時會執行 SharePoint 產品設定精靈。Several Status messages will be displayed as the program copies files, registers components, and runs the SharePoint Product Configuration Wizard.

      rsCustomAction.exe /i  
      
    3. 根據您的伺服器環境而定,變更生效所需的時間可能會有所不同。The amount of time it takes for the changes to take effect may vary, depending on your server environment. 您也可以執行 iisreset 強制執行更快的更新。You can also run iisreset to force a quicker update.

指令碼的無訊息安裝Quiet installation for scripting

您可以使用 /q/quiet 參數,進行不會顯示任何對話方塊或警告的「無訊息」安裝。You can use the /q or /quiet switches for a "quiet" installation that will not display any dialogs or warnings. 如果您想要將增益集的安裝撰寫為指令碼,無訊息安裝相當實用。The quiet installation is useful if you want to script the installation of the add-in.

注意

如果您使用 /q 參數進行無訊息命令列安裝,將不會顯示使用者授權合約。If you use the /q switch for a silent command line installation, the end-user license agreement will not be displayed. 不論安裝方式為何,使用此軟體皆受到授權合約的限制,同時您有責任遵從授權合約的規定。Regardless of the installation method, the use of this software is governed by a license agreement and you are responsible for complying with the license agreement.

若要執行無訊息安裝:To perform a quiet installation:

  1. 以系統管理員權限開啟命令提示字元。Open a command prompt with administrator permissions.

  2. 執行下列命令:Run the following command:

    Msiexec.exe /i rsSharePoint.msi /q  
    

如何移除 Reporting Services 增益集How to Remove the Reporting Services Add-in

您可以從 Reporting ServicesReporting Services Windows [控制台] 或命令列,解除安裝適用於 SharePoint 產品的 MicrosoftMicrosoft 增益集。You can uninstall the Reporting ServicesReporting Services Add-in for SharePoint Products from MicrosoftMicrosoft Windows control panel or the command line.

  1. 使用 [控制台] 將會完整解除安裝目前電腦上的檔案, 並且 從 SharePoint 伺服器陣列中移除 Reporting ServicesReporting Services 物件和功能。Using control panel will run a complete uninstall of the files on the current computer AND it will remove the Reporting ServicesReporting Services object and features from the SharePoint farm. 移除 Reporting ServicesReporting Services 物件和功能時,您就無法再檢閱和更新報表。When the Reporting ServicesReporting Services object and features are removed you can no longer review and update reports.

  2. 解除安裝增益集的命令列方法可讓您使用 LocalOnly 參數僅移除本機電腦上的增益集檔案,而伺服器陣列中的 Reporting ServicesReporting Services 物件和功能不會變更。The command line method to uninstall the add-in allows you to use the LocalOnly parameter to only remove the add-in files from the local computer and the Reporting ServicesReporting Services object and features in the farm will not be changed.

解除安裝增益集將會移除在報表伺服器上用以處理報表的伺服器整合功能。Uninstalling the add-in will remove server integration features that are used to process reports on a report server. 同時也會從 SharePoint 管理中心及其他自訂的 Reporting ServicesReporting Services 頁面,移除 Reporting ServicesReporting Services 頁面。It will also remove the Reporting ServicesReporting Services pages from SharePoint Central Administration and other custom Reporting ServicesReporting Services pages. 您可能也會想要移除受影響的 SharePoint 網站上所有不再使用的報表和其他報表伺服器項目。You may also want to remove any reports and other report server items that you no longer use on the affected SharePoint sites. 移除 Reporting ServicesReporting Services 增益集之後,即無法再執行這些項目。They will not run after the Reporting ServicesReporting Services Add-in is removed.

若要解除安裝 Reporting ServicesReporting Services 增益集,您必須有仍在執行中的 SharePoint Foundation 2010SharePoint Foundation 2010SharePoint Server 2010SharePoint Server 2010 安裝。To uninstall the Reporting ServicesReporting Services Add-in, you must have a SharePoint Foundation 2010SharePoint Foundation 2010 or SharePoint Server 2010SharePoint Server 2010 installation still running. 如果您先解除安裝 SharePoint 2010,您必須將它重新安裝,才能解除安裝 Reporting ServicesReporting Services 增益集。If you uninstall the SharePoint 2010 first, you must reinstall it to uninstall the Reporting ServicesReporting Services Add-in.

解除安裝此增益集的步驟,對於獨立的伺服器和伺服器陣列而言,都是一樣的。The steps for uninstalling the add-in are the same for both stand-alone servers and server farms. 安裝程式會移除程式檔案以及在安裝期間所加入的任何組態設定。Setup will remove program files and any configuration settings that were added during installation.

解除安裝增益集不會移除下列項目:Uninstalling the add-in will not remove the following:

  • 針對用來存取 SharePoint 組態和內容資料庫的報表伺服器服務帳戶所建立的登入。Logins created for the Report Server service account that is used to access the SharePoint configuration and content databases. 您必須從用來主控 SharePoint 資料庫的 [SQL Server]SQL Server Database EngineDatabase Engine 執行個體,刪除此報表伺服器服務帳戶的所有登入。You must delete any logins for the Report Server service account from the [SQL Server]SQL Server Database EngineDatabase Engine instance used to host the SharePoint databases.

  • 為報表使用者所建立的權限或群組。Permissions or groups that you created for report users. 如果您已建立自訂的權限等級或 SharePoint 群組來授與對報表伺服器功能的存取權,就應該撤銷所有不再需要的權限。If you created custom permission levels or SharePoint groups to grant access to report server features, you should revoke any permissions that are no longer required.

  • 上傳到 SharePoint 文件庫的資料檔案,包括報表定義 (.rdl)、共用資料來源 (.rsds) 及發行的報表項目 (.rsc) 檔案。Data files that you uploaded to a SharePoint library, including report definition (.rdl), shared data source (.rsds), and published report items (.rsc) files. 這些檔案並沒有刪除,但無法再執行。They are not deleted, but they will no longer run. 您必須手動刪除這些檔案。You must delete the files manually.

  • 安裝程式不會刪除報表伺服器資料庫或修改用於整合作業的報表伺服器執行個體。Setup will not delete the report server database or modify the report server instance that was used for integrated operations.

若要從 Windows 控制台解除安裝To Uninstall from Windows Control Panel

若要從 MicrosoftMicrosoft Windows [控制台] 啟動精靈並移除增益集:To start the wizard from MicrosoftMicrosoft Windows Control Panel and remove the add-in:

  1. 在 [控制台] 中的 [程式] ,選取 [解除安裝程式]In Control Panel, in Programs, select Uninstall a Program

  2. 選取 [適用於 SharePoint 的 Microsoft SQL Server RS 增益集] 。Select Microsoft SQL Server RS Add-in for SharePoint. 您也可以從命令提示字元中執行 rssharepoint.msi (不使用任何參數),藉以啟動解除安裝精靈。You can also start the uninstall wizard by running rssharepoint.msi from the command prompt with no switches.

  3. 按一下 [移除]Click Remove.

從命令列解除安裝Uninstall from the command line

若要從命令列解除安裝增益集:To uninstall the add-in from the command line:

  1. 以系統管理員權限開啟命令提示字元。Open a command prompt with administrator permissions.

  2. 執行下列命令:Run the following command:

    msiexec.exe /uninstall rsSharePoint.msi  
    
  3. 您會看到確認訊息方塊。You will see a confirmation message box. 按一下 [ ]。Click Yes.

只從本機伺服器解除安裝增益集Uninstall the add-in from the local server only

上述解除安裝增益集的方法會從伺服器陣列中移除 Reporting ServicesReporting Services 功能和物件。The previous methods of uninstalling the add-in will remove the Reporting ServicesReporting Services features and object from the farm. 如果您擁有多伺服器的伺服器陣列,而只想要解除安裝本機電腦上的增益集,並且讓 SharePoint 伺服器陣列保持運作狀態,請完成下列步驟:If you have a multi-server farm and want to uninstall the add-in from only the local computer and leave the SharePoint farm in a functional state, complete the following steps:

  1. 以系統管理員權限開啟命令提示字元。Open a command prompt with administrator permissions.

  2. 執行下列命令:Run the following command:

    Msiexec.exe /uninstall rsSharePoint.msi LocalOnly=1  
    

此作業會從 SharePoint 取消 Reporting ServicesReporting Services 元件的註冊並會移除檔案,但只作用於本機電腦上。This will unregister the Reporting ServicesReporting Services components from SharePoint and remove the files, but for the local computer only.

如果您想要從 SharePoint 取消 Reporting ServicesReporting Services 功能的註冊,但將檔案留在磁碟上以供稍後使用,請完成下列步驟:If you want to unregister the Reporting ServicesReporting Services features from SharePoint but leave the files on the disk for use later, complete the following steps:

  1. 以系統管理員權限開啟命令提示字元。Open a command prompt with administrator permissions.

  2. 執行下列命令:Run the following command:

    rsCustomAction.exe /p  
    

上述步驟假設您已安裝 .msi 且 SkipCA=1,同時可以使用 rscusstomaction.exe。The above steps assume you completed an installation of the .msi with SkipCA=1 and the rscusstomaction.exe is available. 如需詳細資訊,請參閱説明僅限檔案安裝一節。For more information, see the section describing the files only installation.

如何從命令列修復 rsSharePoint.msiHow to Repair rssharepoint.msi from the Command Line

若要使用命令列修復或解除安裝 Reporting ServicesReporting Services 增益集,請完成下列步驟:To repair or uninstall the Reporting ServicesReporting Services add-in using the command line, complete the following steps:

  1. 以系統管理員權限開啟命令提示字元。Open a command prompt with administrator permissions.

  2. 執行下列命令:Run the following command:

    msiexec.exe /f rssharepoint.msi  
    

設定記錄檔Setup Log Files

執行安裝程式時,會為已安裝 增益集的使用者,將資訊記錄到 %temp% Reporting ServicesReporting Services 資料夾中的記錄檔。When Setup runs, it logs information to a log file in the %temp% folder for the user who installed the Reporting ServicesReporting Services Add-in. 例如 c:\Users\<使用者名稱>\AppData\Local\Temp。檔案名稱是 RS_SP_<編號>.log,例如 RS_SP_0.logFor example c:\Users\<username>\AppData\Local\Temp .The file name is RS_SP_<number>.log, for example RS_SP_0.log. 該記錄檔中的每項錯誤,都會以 "SSRSCustomActionError" 字串開頭。Each error in the log starts with the string "SSRSCustomActionError".

注意

AppData 在 Windows 作業系統中是隱藏的資料夾。AppData is a hidden folder in the Windows operating system. 您需要修改 Windows 檔案總管資料夾的設定,才可看到隱藏的檔案與資料夾。You may need to modify your Windows Explorer folder settings so you can see hidden files and folders.

利用 Windows 記事本檢視記錄檔View a log file with Windows Notepad

  1. 下列命令會變更命令提示字元路徑,列出 rs 記錄檔後利用 Windows 記事本開啟其中一個檔案:The following commands will change the command prompt path, list the rs log files and then open one of the files with Windows Notepad:

    cd %temp%  
    
    Dir rs_sp*.log  
    
    notepad rs_sp_3.log  
    

利用 PowerShell 檢視記錄檔View a Log file with PowerShell

  1. 從 SharePoint 管理命令介面輸入下列命令,從包含 "ssrscustomactionerror" 的檔案傳回已篩選過的資料列清單:Type the following command from the SharePoint Management Shell to return a filtered list of rows from the file, that contain "ssrscustomactionerror":

    Get-content -path C:\Users\<UserName\AppData\Local\Temp\rs_sp_0.log | select-string "ssrscustomactionerror"  
    
  2. 這些輸出看起來類似於下列文字:The output will look similar to the following:

    2011-05-23 12:40:12: SSRSCustomActionError: SharePoint is installed, but not configured2011-05-23 12:40:12: SSRSCustomActionError: SharePoint is installed, but not configured.

升級Upgrade

如果您已擁有 Reporting ServicesReporting Services 增益集的現有安裝,則可以升級至目前版本。If you have an existing installation of the Reporting ServicesReporting Services Add-in, you can upgrade to the current version. 增益集的安裝程式會偵測現有的版本,並提示您確認升級作業。The add-in setup will detect the existing version and prompt you to confirm the update. 這些訊息類似於下列文字:The message will be similar to the following:

在您的系統上已偵測到較低版本的此產品。請問您想要升級現有的安裝嗎?A Lower version of this product has been detected on your system. Would you like to upgrade your existing installation?

如果確認,將會移除舊版增益集並安裝新版本。If you confirm, the older version of the add-in will be removed and then the new version will be installed.

請注意, Reporting ServicesReporting Services 增益集無法感知執行個體。Note that the Reporting ServicesReporting Services Add-in is not instance-aware. 在電腦上只能安裝一個增益集執行個體。You can only have one instance of the add-in on a computer. 目前版本無法與相異版本並存。You cannot run different versions side-by-side the current version.

RsCustomAction.exeRsCustomAction.exe

下表摘要列出 rscustomaction.exe 參數:The following table summarizes the rscustomaction.exe switches:

參數Switch 描述Description
ii 安裝自訂動作。Install the custom actions. 此作業會在 SharePoint 中註冊 Reporting ServicesReporting Services 元件。This will register the Reporting ServicesReporting Services components in SharePoint. 此作業會重新啟動 W3SVCservice。This will restart the W3SVCservice.
rr RepairRepair
uu 解除安裝。Uninstall. 此作業會從整個 SharePoint 伺服器陣列中取消 Reporting ServicesReporting Services 元件的註冊,但會將檔案留在磁碟中。This will unregister the Reporting ServicesReporting Services components from the entire SharePoint farm but leave the files on disk. 此作業會重新啟動 W3SVCservice。This will restart the W3SVCservice.
pp 本機解除安裝。Local uninstall. 此作業會從本機電腦取消 Reporting ServicesReporting Services 元件的註冊。This will unregister the Reporting ServicesReporting Services components from only the local computer. 檔案將會留在磁碟上。The files will remain on disk. 此作業會重新啟動 W3SVCservice。This will restart the W3SVCservice.
tt 僅限 SQL Server Reporting ServicesReporting Services 2005。SQL Server Reporting ServicesReporting Services 2005 only. 此切換作業會測試報表伺服器是否能與報表伺服器資料庫正常連接。The switch tests if the report server has a working connection to the report server database.

設定 Reporting ServicesConfiguring Reporting Services

在所有需要的電腦上安裝該增益集之後,需要從 SharePoint 管理中心設定報表伺服器。After you have installed the add-in on all the necessary computers, you need to configure the report server from SharePoint Central Administration. 所需要的步驟取決於不同技術之安裝順序。The steps that are needed depend on the order which the different technologies were installed. 如需詳細資訊,請參閱 < 安裝 Reporting Services SharePoint Mode for SharePoint 2010Reporting Services 報表伺服器(SharePoint 模式)For more information, see Install Reporting Services SharePoint Mode for SharePoint 2010 and Reporting Services Report Server (SharePoint Mode)

另請參閱See Also

安裝適用於 SharePoint 2010 的 Reporting Services SharePoint 模式 Install Reporting Services SharePoint Mode for SharePoint 2010
Reporting Services 報表伺服器 (SharePoint 模式)Reporting Services Report Server (SharePoint Mode)