"An incompatible SQL Server version was detected." New error message in VS/SSDT since an update hit our Managed Instance yesterday.

Thomas Totter 21 Reputation points
2022-03-22T15:21:55.57+00:00

VS Version: 2022 and 2019 (with latest SSDT updates).

Since one of our Azure SQL Manages Instances was updated yesterday we cannot access it in Visual Studio anymore.

Error message: "An incompatible SQL Server version was detected."

The managed instances which haven't gotten the update yet still work.

Azure SQL Database
{count} votes

8 answers

Sort by: Most helpful
  1. ErikEJ 341 Reputation points MVP
    2022-03-22T18:17:38.573+00:00

    What is the output of SELECT @@Version on the two different instances


  2. Thomas Totter 21 Reputation points
    2022-03-22T18:21:48.167+00:00

    @ErikEJ

    Working Managed Instrance: Microsoft SQL Azure (RTM) - 12.0.2000.8 Jan 26 2022 22:23:07 Copyright (C) 2019 Microsoft Corporation
    Not-Working Managed Instance: Microsoft SQL Azure (RTM) - 12.0.2000.8 Feb 25 2022 16:04:35 Copyright (C) 2021 Microsoft Corporation

    Update seemed to hit us yesterday, as the updated MI was restarted at 00:00.

    0 comments No comments

  3. Anonymous
    2022-03-23T12:12:41.46+00:00

    Hi, Having the same issue when trying to access our "Azure SQL managed instance(s)" from Visual Studio Community 2019 Ed. Error message from Visual Studio when trying to carry out a schema compare. This was working, DataWarehouse: Unable to determine the database platform type. The database may be unavailable. NB: can connect to the "Azure SQL managed instance(s)" from SSMS. ![185999-image.png][1] [1]: /api/attachments/185999-image.png?platform=QnA


  4. JUMARIE Fabrice 1 Reputation point
    2022-03-23T13:31:34.213+00:00

    Hello, I exactly have the same issue.

    From Visual Studio 2022, in server explorer, I cannot open a new query when I right-click on one of my database.
    I get the error message:

    An incompatible SQL Server version was detected

    186096-image.png

    I upgraded to Visual studio Professional 2022, Version 17.1.2 with SQL Server Data Tools 17.0.62201.12090, I think it is the latest one.

    I cannot query an Azure database running on the version: Microsoft SQL Azure (RTM) - 12.0.2000.8 Feb 25 2022 16:04:35 Copyright (C) 2021 Microsoft Corporation

    But everything works fine with a database running on the version: Microsoft SQL Azure (RTM) - 12.0.2000.8 Jan 26 2022 22:23:07 Copyright (C) 2019 Microsoft Corporation


  5. Oury Ba-MSFT 20,911 Reputation points Microsoft Employee Moderator
    2022-03-23T22:13:32.853+00:00

    @Thomas Totter , @JUMARIE Fabrice , anonymous user, @areHH

    We are working closely with Product Group to fix this issue. Could you please send an email to azcommunity@microsoft.com? with your server name. Please mention in the subject line Attn: Oury "An incompatible SQL Server version was detected." so I don't miss it.

    Regards,
    Oury


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.