Unable to load DLL Microsoft.Data.SqlClient.x86.dll (Exception From HRESULT: 0x800707E)

和自甴很熟 提交于 2020-06-29 03:44:12

问题


Describe the bug

I am trying to edit connection string on my report using DevExpress winform report wizard EditConnectionString when I click on next button I get this error Unable to load DLL When I try to install latest stable version of Microsoft.Data.SqlClient 1.1.3 I get two different error.
01-With Windows authentication SNINative

02-With Server authentication
TdsParser

Note: When running the app, all report works fine without any problems.

technical details

 Microsoft.Data.SqlClient version: 2.0.0-preview4.20142.4  
 Microsoft.Data.SqlClient.SNI version: 2.0.0-preview1.20141.10  
 System.Configuration.ConfigurationManager version: 5.0.0-preview.4.20251.6  
 .NET target: Framework 4.7.2  
 SQL Server version: SQL Server 2019  
 Operating system: Windows 10 Version 2004  
 DevExpress 20.1.3  
 Microsoft Visual Studio Enterprise 2019 Preview Version 16.7.0 Preview 2.0

Update:
It is seems to be related to DevExpress version ,I downgrade to version 19.2.8 and all problems are gone.

来源:https://stackoverflow.com/questions/62217367/unable-to-load-dll-microsoft-data-sqlclient-x86-dll-exception-from-hresult-0x8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!