I got this error when using Visual Studio 2013
with Microsoft SQL Server Management Studio 2016
trying to update database with Entity Framework migrations
The fix was to install Microsoft SQL Server Management Studio 2012 SP1
as Visual Studio 2013 was missing the necessary libraries to connect to the SQL Server database.
I put together this detailed page with all the steps I took.