Visual Studio 2022 ARM - SQL Server Object Explorer (Microsoft.Data.SqlClient.TdsParser threw an exception)

John 20 Reputation points
2023-04-26T09:29:08.7433333+00:00

I am attempting to connect to ANY SQL server database via VS 2022 ARM's SQL Server Object Explorer - it simply states Microsoft.Data.SqlClient.TdsParser there an exception. I also get the same exception when using the EF Core Powertools. My consulted with my friend Google, but can't seem to find anything concrete. I am on an M2 MacBook Pro Max with 64GB RAM on Parallels on Windows 11 / Visual Studio 2022 latest version. Would be grateful with the assist!

SQL Server | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Tony Chow 5 Reputation points
    2023-07-21T17:34:40.01+00:00

    @Seeya Xi-MSFT

    The SQL Server is running on a intel-chip server, but the loading of the data from a ARM based client failed.

    I can run SSMS on the same client machine without an issue, it was able to connect to the database on the intel server. but somehow Visual Studio failed at doing so.

    To be precise, there seems to be an issue with Microsoft SQL Server when using the .NET Framework Data Provider for SQL Server.

    @Tim Tankka @Herwig Ranger

    Please also go upvote on the following link to let the dev team how many users are being affected.

    https://developercommunity.visualstudio.com/t/Visual-Studio-2022-ARM-Connection-to-S/10395725#T-ND10420526

    Thanks

    1 person found this answer helpful.

  2. Seeya Xi-MSFT 16,586 Reputation points
    2023-04-27T02:30:25.4333333+00:00

    Hi @John,

    So far, SQL Server is not supported to run on ARM. Please see this document:

    https://learn.microsoft.com/en-us/sql/sql-server/install/hardware-and-software-requirements-for-installing-sql-server-2022?view=sql-server-ver16

    User's image

    Best regards,

    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it.


Your answer

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