Unable to load 5.1.1 DLL 'Microsoft.Data.SqlClient.SNI.x64.dll' : The specified module could not be found.
- Dominant language
- C#
- Stars
- 989
- Forks
- 340
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 69
Description
Hi,
Myself Kumar Kashyap Pandey working in .NET core (4.7.2) application and to implement Azure Active Directory authentication adding MicroSoft.Data.SqlClient for it and as per dependency MicroSoft.Data.SqlClient.SNI is also getting added but its dll is not getting loaded throwing error like Unable to load DLL 'Microsoft.Data.SqlClient.SNI.x64.dll': The specified module could not be found.
Exception
Microft SQL Client 5.1.1 refereced in Project
SNI file not accessible error although it has read and execute access for all users.
Project bin folder with sql client dlls
In Packages folder
Microsft data client dlls in Package config
Kindly help me ASAP for resolving this issue.
Contributor guide
Assessment
This issue has not been assessed yet.