0

I've been trying to create a data model off of an existing database table using Entity Framework in Visual Studio 2015 for an MVC application. I'm able to test the connection to the MS SQL database I've been using successfully and choose the database itself, but whenever I click 'finish' I get error shown below.

I've tried following the instructions here, but it has not worked and I can't find any other answer.

enter image description here

Community
  • 1
  • 1
TheRedCameron
  • 171
  • 2
  • 4
  • 13

2 Answers2

0

Make certain you have added the assembly Microsoft.SqlServer.Management.Sdk.Sfc to your project. You can search for this assembly and install it via NuGet, or run the following command in the Package Manager Console:

Install-Package Microsoft.SqlServer.Management.Sdk.Sfc.dll
Chase
  • 934
  • 6
  • 18
0

I found the answer. Chase's answer was close, but mine was a different version. I'm using SQL server 2012 and, according to the error message, I needed version 12. I found it here.

Community
  • 1
  • 1
TheRedCameron
  • 171
  • 2
  • 4
  • 13