无法添加数据连接。Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0

无法添加数据连接。Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0

VS2013添加Microsoft SQL Server2008数据源时出现错误:

无法添加数据连接。Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies.系统找不到指定的文件

原因:版本不匹配,VS版本是12.0.40629.00,而添加数据源用到的版本文件是11.0.0.0

解决办法:为VS2013安装两个补丁文件:SQLSysClrTypes.msi     SharedManagementObjects.msi

注意:两个文件的版本号都是11打头的

  如图:

参考自:

https://jingyan.baidu.com/album/e52e36156471c940c60c5191.html?picindex=3

https://blog.csdn.net/yalunwang123/article/details/46846351

原文地址:https://www.cnblogs.com/s313139232/p/9103672.html