I have web-form project (project A) which has reference to another class library project (Project B) which I use for Data Access Layer, I installed EntityFramework 3.1.15 in both projects A & B, now I got a run-time error in db.SaveChanges(); error says:

Unable to load DLL 'Microsoft.Data.SqlClient.SNI.x86.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Project B is using .NETFramework 4.7.2, and Project A was .NETFramework 4.5 & later I changed it to .NETFramework 4.7.2. but I got same error.

How can I resolve this?

4

Related questions 3 ASP.NET 5 / Azure error: FileNotFoundException: Could not load file or assembly System.Data.SqlClient 0 "Microsoft.Data.Entity" dll not found in nuget 17 Unable to load DLL 'sni.dll' - Entity Framework Core Related questions 3 ASP.NET 5 / Azure error: FileNotFoundException: Could not load file or assembly System.Data.SqlClient 0 "Microsoft.Data.Entity" dll not found in nuget 17 Unable to load DLL 'sni.dll' - Entity Framework Core 34 Could not load file or assembly 'System.Data.SqlClient, Version=4.4.0.0 2 System.Data.SqlClient assembly not found .net 3.5 6 Could not load file or assembly 'Microsoft.Data.SqlClient 3 Microsoft.Data.SqlClient is not supported on this platform 4 Failed to load SNI.dll 1 System.Data.SqlClient imported nuget package into library 1 Failed to load ...\x86\SNI.dll Load 7 more related questions Show fewer related questions

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.