SNI.dll 未找到

SNI.dll not found

嗨,当我们将我们的应用程序复制到新系统时,我们收到以下错误:

The type initializer for 'Microsoft.Data.SqlClient.SNINativeMethodWrapper' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Data.SqlClient.SNINativeMethodWrapper' threw an exception. ---> System.ComponentModel.Win32Exception: Failed to load ...\Ticketing\x86\SNI.dll ---> System.ComponentModel.Win32Exception: Das angegebene Modul wurde nicht gefunden

但是在我们安装 SSMS 之后它就可以工作了。我的问题是,需要安装什么 SSMS。因为我只想安装那个组件而不是完整的 ManagementStudio。

我必须安装 Microsoft OLE DB Driver for SQL Server 并且它起作用了。感谢 Hans Passant 为我指明了正确的方向。