Avamar SQL 附掛程式無法瀏覽混合式 SQL 環境中的 SQL 例項

Summary: Avamar SQL 附掛程式無法瀏覽混合式 SQL 環境中的 SQL 例項。

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

Avamar SQL 附掛程式無法瀏覽混合式 SQL 環境中的 SQL 例項,例如,SQL 伺服器已安裝 SQL 2012 和 SQL 2014。在 SQL 伺服器上執行瀏覽命令時,會報告此錯誤。 
avsql --operation=browse

avsql Info <0000>: <=== sqlconnectimpl::is_SqlServ_2014
avsql Info <19488>: SMO DLL version 12 detected.
avsql Info <0000>: SMO managed DLL loaded for SQL server 2014 (SMO DLL version 12).
avsql Error <40258>: sqlconnectimpl_smo::get_installed_instance_list Microsoft.SqlServer.Management.Smo.FailedOperationException: An
crosoft.SqlServer.Management.Sdk.Sfc.EnumeratorException: Failed to retrieve data for this request. ---> System.Runtime.InteropServic  
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   
.
.
.....SNIP......
.
at SMO_GetInstances(Char* server, Char*** pinstances, Char*** perrors, Boolean include_clustered_servers, Int32 architecture)
avsql Error <15125>: Specified path '' does not exist or is not accessible avsql Info <6451>: avsql returning with exitcode 536870919 

Cause

例如,在混合環境中,安裝了 SQL 2014,但後來卸載了 SQL 2014,而計算機上保留了一些 SQL 2014 模組。在這種情況下,Avamar SQL 附掛程式無法準確決定用於瀏覽和備份的伺服器管理物件 (SMO) 版本。

Resolution

以解決此問題。 
  • 將 Avamar Server 升級至:
    • 19.4.100-124 或更新版本 
  • Avamar 19.4 及更新軟體版本中包含此修正。 
  • 升級後,必須在 Avamar Client var 目錄中的「avsql.cmd」參數檔案中新增一個旗標,並使用正確的 SMO 值進行附掛程式作業。
    • 以下五個值是有效的值。  
    • 為附掛程式作業選擇最高的 SQL 伺服器執行個體版本。
      • 針對 SQL Server 2012:--使用版本=11
      • 針對 SQL Server 2014:--使用版本=12
      • 若為 SQL Server 2016:--使用版本=13
      • 若為 SQL Server 2017:--使用版本=14
      • 針對 SQL 伺服器 2019:--使用版本=15
      • SQL Server 2022:--使用版本=16

Affected Products

Avamar

Products

Avamar
Article Properties
Article Number: 000051925
Article Type: Solution
Last Modified: 06 Aug 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.