Unable to load DLL 'Microsoft.Data.SqlClient.SNI.arm64.dll'

Hunter K 40 Reputation points
2023-12-10T19:14:58.5633333+00:00

I'm trying to connect to a local sql express db I created in VS Community ARM 64 Bit version 17.8.3.

I receive this error when trying to use the SQL Server Object Explorer to connect to the database when selecting the "database" dropdown. I also get this same error when trying to test the connection from the "connected services" edit dependency dialog.

Screenshot 2023-12-10 111335

I'm building a .net core web api using parallels. Hoping someone can point me in the direction of what I'm doing wrong here. Thanks!

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
SQL Server | Other
{count} votes

Answer accepted by question author
  1. Tianyu Sun-MSFT 34,686 Reputation points Microsoft External Staff
    2023-12-11T07:57:57.2266667+00:00

    Hello @Hunter K,

    Welcome to Microsoft Q&A forum.

    I don’t think you are doing something wrong. I notice that there are some similar/same issues reported before:

    Unable to load dll microsoft.data.sqlclient.SNI.arm64.dll

    Visual Studio 2022 (ARM) Connection to SQL Server on another Machine resulted in Microsoft.Data.SqlClient.TdsParser exception

    Both are currently under investigation, so probably, it’s an issue about VS ARM64 data source connection.

    I may suggest you try the workaround/suggestion that shared by Andrew Hills here, upvote the thread there, follow up that ticket and wait for the latest information.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.