无法加载文件或程序集“Microsoft.SqlServer.Management.Sdk.Sfc,版本=12.0.0.0

2021-09-19 00:00:00 sql-server visual-studio-2015

我正在使用 Sql Server 2012 Express 运行 Visual Studio 社区 2015.

当我尝试查看我的数据库表时,我收到以下错误

我手动安装了 LocalDb 和管理对象但无济于事,这是我能够提供的唯一建议.

我不明白为什么我在安装管理对象时会收到一条关于管理对象的错误消息.

有什么想法吗?

解决方案

您必须下载 SQL Server 2014 功能包中的 SQL Server 共享管理对象 2014.即使安装了其他版本,Visual Studio 2015 也需要 sql server 2014 程序集.

下载链接如下

https://www.microsoft.com/en-us/download/details.aspx?id=42295

I'm running Visual Studio community 2015 with Sql Server 2012 Express.

When I try to view my database tables I receive the following error

I have manually installed LocalDb and Management Objects to no avail and this is the only advice i've been able to source.

What I dont understand is why I am receiving an error message about management objects when I have installed it.

Any ideas?

解决方案

you have to download SQL Server shared management objects 2014 found in SQL server 2014 feature pack. Visual Studio 2015 need sql server 2014 assemblies even if other versions are installed.

Download Link below

https://www.microsoft.com/en-us/download/details.aspx?id=42295

相关文章