An incompatible SQL Server version was detected

I’m not what you would call an “early adopter” by any means, but I do try to work with the latest versions of software whenever possible. A few months ago I finally got around to taking Visual Studio 2013 for a test drive.

The reason for me wanting to kick the tires on VS 2013 was to make certain that the demos I built for my 2013 TechEd precon on Microsoft Azure would still work.

In a nutshell…the demos did not work as expected. And I was left trying to figure out what had changed with Visual Studio. I even mentioned some of my issues to Scott Klein (blog | @SQLScott) and he essentially told me “works on my machine”. So, without any access to Scotts most perfect laptop, I set out to learn why my demos were no longer working on mine.

Today’s post is meant to help recognize and remedy one of the errors I found with Visual Studio 2013. The setup for this error is quite simple: install VS 2013. That’s it.

Once installed, open up VS 2013. Navigate to server explorer, and you see a connection to your localdb:

 

start

 

Great. Next, I want to create a database project using a database inside of a SQL Server 2014 instance. So, let’s add a connection to that instance of SQL Server 2014:

connect

 

My hopes are high, but when I click ‘Connect’ I get an error message:

error

 

“An incompatible SQL Server version was detected.”

The hell? How is this even possible? As it turns out, I need to apply an update to my base VS 2013 installation.

You can see the available updates for Visual Studio by going to the tools menu, then extensions and updates. On the left of the window, there is a section named “Updates”. Under there is product updates,  then look for Microsoft SQL Server Update for database tooling:

 

vs-update

 

Click update, and providing your IE 10 settings are set to allow for downloads you should see the following:

ssdt

 

We will save first because that’s how we roll. After the save is complete we see this:

run

 

Now, let’s hit Run:

install

 

Make sure to agree to the license, then click Install:

progress

 

It should complete and look like this:

complete

 

Ok, let’s go back and try adding our server again. We will need to restart VS2013 in order for the changes to take effect. Once we do that we find we can connect easily:

last

 

Notice we also have an additional localdb, too!

Hope this post helps you understand the “An incompatible SQL Server version was detected” error, and how to fix.

19 thoughts on “An incompatible SQL Server version was detected”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.