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?
4Related 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