问题
Describe the bug
I am trying to edit connection string on my report using DevExpress winform report wizard
when I click on next button I get this error
When I try to install latest stable version of Microsoft.Data.SqlClient 1.1.3 I get two different error.
01-With Windows authentication
02-With Server authentication
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