Avamar:SQL 備份失敗,用戶端無法瀏覽,備份失敗,並顯示錯誤代碼:10007

Summary: SQL 備份失敗,用戶端無法瀏覽,備份失敗,並顯示錯誤代碼:10007.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

SQL 備份失敗,用戶端無法瀏覽,備份完成時顯示錯誤代碼:10007

備份記錄中的相關部分:
2013-09-23 00:00:01 avsql Info <5008>: Logging to C:\Program Files\avs\var\Daily-12am-RxSQL-1379912400061-3006-SQL.log
2013-09-23 00:00:01 avsql Info <6673>: CTL listening on port 56505
2013-09-23 00:00:01 avsql Info <10684>: Setting ctl message version to 3 (from 1)
2013-09-23 00:00:01 avsql Info <16136>: Setting ctl max message size to 268435456
2013-09-23 00:00:01 avsql Info <7838>: - Adding user exclude "*/tempdb"
2013-09-23 00:00:02 avsql Error <9072>: sqlconnectimpl_smo::get_installed_instance_list Microsoft.SqlServer.Management.Smo.FailedOperationException: An exception occurred in SMO while trying to manage a service. ---> Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException: Failed to retrieve data for this request. ---> System.Management.ManagementException: Invalid class

 

當客戶在 SQL Server 中開啟 SQL Server Configuration Manager 時,錯誤訊息為:「無法連線至 WMI 提供者。您沒有權限或伺服器無法連線。

SQL 組態管理員圖示

 

Cause

根據 Microsoft KB 文章:
https://learn.microsoft.com/en-us/troubleshoot/sql/tools/error-message-when-you-open-configuration-manager此超連結會帶您前往 Dell Technologies 以外的網站。

「出現此問題的原因是當客戶卸載 SQL Server 的例項時,會移除 WMI 提供者,這是一個Microsoft WMI 問題。SQL Server 的 32 位實例和 64 位實例共用相同的 WMI 配置檔。此檔案位於「C:\Program Files (x86)\Microsoft SQL Server\xxx\Shared」資料夾中。

這有時會在 SQL 更新期間發生。

Resolution

如果在受影響的 SQL 用戶端上重新啟動 WMI 服務無法解決問題,請按照 KB:
https://learn.microsoft.com/en-us/troubleshoot/sql/tools/error-message-when-you-open-configuration-manager此超連結會帶您前往 Dell Technologies 以外的網站。

Microsoft 若要變通解決此問題,請打開命令提示符,鍵入以下命令,然後按 ENTER 鍵:
例如:若為 Windows SQL 2008/R2 伺服器,命令列為:
mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"
更高版本 SQL 2022
mofcomp "C:\Program Files (x86)\Microsoft SQL Server\160\Shared\sqlmgmprovider.mof"

確定客戶可以在 SQL Server 中開啟 SQL Server Configuration Manager,沒有發生任何錯誤,而且 SQL 用戶端可以在 Avamar 系統管理 GUI 或 AUI 中瀏覽 --> 備份和所有例項/DB 皆會列出。

 

Affected Products

Avamar Plug-in for SQL
Article Properties
Article Number: 000040204
Article Type: Solution
Last Modified: 11 Jul 2024
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.