Il plug-in SQL Avamar non è riuscito a sfogliare le istanze SQL in un ambiente SQL misto
Summary: Il plug-in SQL Avamar non è riuscito a sfogliare le istanze SQL in un ambiente SQL misto.
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
Il plug-in SQL Avamar non è riuscito a sfogliare le istanze SQL in un ambiente SQL misto, ad esempio un SQL Server ha installato sia SQL 2012 che SQL 2014. L'errore viene segnalato durante l'esecuzione del comando di esplorazione su 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
Cause
In un ambiente misto, ad esempio, SQL 2014 è stato installato ma disinstallato in un secondo momento con alcuni moduli di SQL 2014 lasciati sul computer. In questo scenario, il plug-in SQL Avamar non è riuscito a decidere esattamente la versione di Server Management Object (SMO) da utilizzare per la ricerca e il backup.
Resolution
Per risolvere questo problema.
- Eseguire l'upgrade di Avamar Server a:
- 19.4.100-124 o versioni successive
- La correzione è disponibile in Avamar 19.4 e versioni software successive.
- È necessario aggiungere un flag al file del parametro "avsql.cmd" nella directory var dell'Avamar Client con il valore SMO corretto per le operazioni del plug-in dopo l'aggiornamento.
- I cinque valori seguenti sono quelli validi.
- Scegliere la versione più recente dell'istanza di SQL Server per le operazioni del plug-in.
- Per SQL Server 2012: --usesmoversion=11
- Per SQL Server 2014: --usesmoversion=12
- Per SQL Server 2016: --usesmoversion=13
- Per SQL Server 2017: --usesmoversion=14
- Per SQL Server 2019: --usesmoversion=15
- Per SQL Server 2022: --usesmoversion=16
Affected Products
AvamarProducts
AvamarArticle 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.