Avamar Data Store Gen4S:SQL 备份出现“提供程序加载失败”错误
Summary: 本文提供了由于提供程序加载失败而导致的备份失败的解决方案。
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 备份失败,并显示类似于以下内容的错误:
avsql Error <40258>: 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: Provider load failure
尽管使用 --provider-architecture 标志中 avsql.cmd 文件中定义。
Cause
而 --provider-architecture=32 标记错误地输入到 avsql.cmd 文件或格式
错误添加。如果将标记添加到 avsql.cmd 文件替换为命令行,例如:
echo --provider-architecture=32bit
Resolution
- 手动创建
avsql.cmdAvamar 软件目录中的文件(例如C:\Program Files\avs\var) 使用记事本等文本编辑器。验证 文件未使用 文本 (TXT) 文件扩展名进行保存。 - 添加
--provider-architecture=32标记添加到avsql.cmd文件中定义。 - 保存 并关闭文件。
Affected Products
Avamar, Avamar Data Store Gen4SArticle Properties
Article Number: 000061914
Article Type: Solution
Last Modified: 10 Sep 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.