Updates Publisher 主控台問題疑難排解

本主題包含的資訊可協助您疑難排解在開啟 System Center Updates Publisher 主控台時所發生的問題。它也包含匯出軟體更新所必要的安全性需求、說明用來協助診斷問題的記錄檔,並列出一般問題的疑難排解解決方案。

安全性需求

在安裝完 Updates Publisher 後,若符合下列安全性需求,則使用者可啟動主控台:

  • 使用者必須在發佈工具資料庫 (mscuptdb) 上建立 SQL 登入,並具有 System_Center_Updates_Publisher_User 資料庫角色成員資格權限。

  • 預設狀況下,使用者必須有安裝資料夾 %ProgramFiles%\System Center Updates Publisher 的「讀取和執行」、「列示」、「讀取」、「寫入」以及「修改」檔案系統權限。

記錄檔

Updates Publisher 會將資訊寫入 UpdatesPublisher.log 檔案,以協助診斷在開啟及使用主控台時可能發生的問題。系統會為開啟主控台的使用者在暫時資料夾中建立記錄檔,預設位置在 %USERPROFILE%\Local Settings\Temp。

重要

Updates Publisher 記錄檔必須以簡單文字編輯器 (如記事本) 開啟。以全文編輯器來開啟記錄檔可能會無法正確顯示記錄檔內容。

UpdatesPublisher.log

成功開啟 Updates Publisher Microsoft Management Console (MMC) 嵌入式管理單元時,以下項目會寫入 UpdatesPublisher.log:

Updates Publisher Snap-in Initialized.

隨後 Publisher 會嘗試自 Updates Publisher 資料庫擷取資訊,如果不成功,額外的記錄項目就會寫入 Updates Publisher.log 中。檢閱此記錄檔是否有指出造成安裝失敗之原因的錯誤訊息。

Updates Publisher 主控台一般問題

下列章節列出啟動 Updates Publisher 主控台時,可能發生的一般問題、這些問題的可能原因,以及可行的解決方案清單。

開啟 Updates Publisher 時無法連線到資料庫

啟動 Updates Publisher 主控台時,顯示下列錯誤訊息:

Unable to establish a connection to the SQL server database. Please refer to the log file for more detailed information regarding the error condition

與下列項目相似的記錄檔項目寫入 UpdatesPublisher.log。

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Failed to connect to the database using the connection string [SERVER=<servername>\<instancename>;DATABASE = <database>; Integrated security=sspi;Connection Timeout=15].

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Updates Publisher Snap-in shutting down.

進行疑難排解時,請驗證下列各項:

  • 驗證啟動 Updates Publisher 的使用者已建立 SQL 登入。必須為使用者建立具有 mscuptdb 資料庫之 System_Center_Updates_Publisher_User 資料庫角色成員資格的 SQL 登入。

  • 驗證啟動 Updates Publisher 的使用者為本機電腦的系統管理員。

  • 驗證 Updates Publisher 電腦可以連線到執行 SQL Server 的遠端電腦。

開啟 Updates Publisher 時發生傳輸層級錯誤

啟動 Updates Publisher 主控台時,顯示下列錯誤訊息:

A transport-level error has occurred when sending the request to the server

下列記錄項目寫入 UpdatesPublisher.log:

A DB exception occurred when retrieving the vendor list. A transport-level error has occurred when sending the request to the server.

進行疑難排解時,請驗證下列各項:

  • 確定 SQL Server 服務在放置 Updates Publisher 資料庫的電腦上執行。

開啟 Updates Publisher 時「執行」權限被拒絕

啟動 Updates Publisher 主控台時,顯示下列錯誤訊息:

EXECUTE permission denied on object 'usp_info_vendorlist', database 'mscuptdb', schema 'dbo'

進行疑難排解時,請驗證下列各項:

  • 啟動 Updates Publisher 的使用者已建立 SQL 登入,且該使用者同時具有 mscuptdb 資料庫的 System_Center_Updates_Publisher_User 資料庫角色成員資格。

請參閱

概念

Updates Publisher 的記錄檔
Updates Publisher 的安全性考量因素

其它資源

Updates Publisher 疑難排解