群集实例的 NetWorker NMM SQL VDI 备份失败。 找不到提供程序。

Summary: Microsoft当客户端是群集 SQL Server 实例时,使用 (NMM) NetWorker Module for Microsoft 的 SQL Server 备份可能会失败。 典型错误是“无法登录到 SQL Server --找不到提供程序。它可能未正确安装。

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

Microsoft当客户端是群集 SQL Server 实例时,使用 (NMM) NetWorker Module for Microsoft 的 SQL Server 备份可能会失败。  

典型错误是
 

Cannot login to SQL Server --Provider cannot be found. It may not be properly installed.



例如: 

(pid=30180,2/25/2020 11:13:48 AM) D:/views/nw/19.2/nsr/db_apps/bsmsql/nsrsqlado.cpp(2261): Exiting GetProviderError().
(pid=30180,2/25/2020 11:13:48 AM) COM Error
(pid=30180,2/25/2020 11:13:48 AM) Code = 800a0e7a
(pid=30180,2/25/2020 11:13:48 AM) Code meaning = Unknown error 0x800A0E7A
(pid=30180,2/25/2020 11:13:48 AM) Source = ADODB.Connection

(pid=30180,2/25/2020 11:13:48 AM) Description = Provider cannot be found. It may not be properly installed.

(pid=30180,2/25/2020 11:13:48 AM) D:/views/nw/19.2/nsr/db_apps/bsmsql/nsrsqlado.cpp(1100): Exiting adoOpenConnection(), Exception.
66212 2/25/2020 11:13:48 AM  Cannot login to SQL Server VirtualSQLServerName\Instance01.

Cause

当在安装 SQL Server 期间出现问题,导致 Microsoft SQL Server 本机无法正确注册时,可能会导致此问题。

例如,在

开始、控制面板、程序和功能、卸载程序

程序列表显示了

适用于SQL Server 2012 和 2014 的 Microsoft SQL Server 本机客户端 11.0

参考资料:  This hyperlink is taking you to a website outside of Dell Technologies.

https://learn.microsoft.com/en-us/sql/relational-databases/native-client/applications/support-policies-for-sql-server-native-client?view=sql-server-ver15#support-lifecycle-exception注意 - 这仅适用于 SQL Server 2017 及之前的 SQL Server 版本。  
SQL Server 2019 及更高版本中的 SQL Server Native Client 建议已更改。

Resolution

STEP 1.  Check registry  

Open Powershell on SQL Server and run,

Get-Childitem  "hklm:\software\microsoft\microsoft sql server"

RESULT:  
If you do not see a Key called "SQLNCL11"  then there is an issue with SQL Native Client.


STEP 2.   Connect to SQL instance using OLE DB Driver 

Open Powershell on SQL Server and run, 
 
$conn = New-Object System.data.oledb.oledbconnection
$conn.ConnectionString = "Provider=SQLNCLI11.1;OLE DB Services = -2;Server=VirtualServer\Instancename ;Trusted_Connection=Yes;"

##  where you will please replace   -  VirtualServer\Instancename  --  with  Actual Cluster server name and Instance name   

$conn.open() 

RESULT:
When Open contains no errors  then continue to next step. 
When Open fails then this confirms that there is a problem with SQL Native Client. 

$conn
$conn.close() 

To resolve this issue,

Run Start, Control Panel, Programs and Features, Uninstall Programs, 
you will see a version of,

Microsoft SQL Server 2012 Native Client 

Action:   Right click and select Repair.
Article Properties
Article Number: 000169010
Article Type: Solution
Last Modified: 11 Apr 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.