Avamar: SQL Plug-in Failed to Browse SQL Instances in a Mixed SQL Environment

Resumen: Avamar SQL plug-in failed to browse SQL instances in a mixed SQL environment.

Este artículo se aplica a: Este artículo no se aplica a: Este artículo no está vinculado a ningún producto específico. En este artículo no se identifican todas las versiones de los productos.

Síntomas

Avamar SQL plug-in failed to browse SQL instances in a mixed SQL environment, for example, a SQL server has installed both SQL 2012 and SQL 2014. The error is reported when running the browse command on the SQL server. 
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 

Causa

In a mixed environment, for example, SQL 2014 were installed but uninstalled later with some modules of SQL 2014 left on the machine. In this scenario, the Avamar SQL plug-in could not exactly decide the version of Server Management Objects (SMO) to use for the browse and backup.

Resolución

To resolve this issue. 
  • Upgrade the Avamar Server to:
    • 19.4.100-124 or later 
  • The fix is in Avamar 19.4 and later software releases. 
  • A flag must be added to the 'avsql.cmd' parameter file in the Avamar client var directory with the correct SMO value for plug-in operations after upgrading.
    • The following five values are the valid ones.  
    • Choose the highest SQL server instance version for plug-in operations.
      • For SQL Server 2012: --usesmoversion=11
      • For SQL server 2014: --usesmoversion=12
      • For SQL server 2016: --usesmoversion=13
      • For SQL server 2017: --usesmoversion=14
      • For SQL server 2019: --usesmoversion=15
      • For SQL server 2022: --usesmoversion=16

Productos afectados

Avamar

Productos

Avamar
Propiedades del artículo
Número de artículo: 000051925
Tipo de artículo: Solution
Última modificación: 06 ago 2025
Versión:  5
Encuentra las respuestas que necesitas con la ayuda de otros usuarios de Dell
Servicios de asistencia
Comprueba si tu dispositivo está cubierto por los servicios de asistencia.