无法加载文件或程序集'microsoft.sqlserver.management.sdk.sfc版本= 11.0.0.0 [英] could not load file or assembly 'microsoft.sqlserver.management.sdk.sfc version=11.0.0.0

查看:389
本文介绍了无法加载文件或程序集'microsoft.sqlserver.management.sdk.sfc版本= 11.0.0.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用实体框架的数据库优先方法.当我在"ADO.NET实体数据模型"中创建新连接时,然后在添加服务器名称和数据库名称之后,它向我显示此错误-

I am using Database first approach of Entity framework. When I create new connection in "ADO.NET Entity Data Model" then after adding server name and database name, then it shows me this error -

Could not load file or assembly 
'Microsoft.SqlServer.Management.Sdkc.Sfc, Version=11.0.0.0, 
Culture=neutral, PublicKey Toekn = 89845dcd8080cc91' or one of its
dependencies. The system cannot find the file specified.

在Google上找到了许多链接并尝试了,但是并不能解决我的问题.

Found many links on Google and tried but it doesn't solve my issue.

无法加载文件或程序集Microsoft.SqlServer.management.sdk.sfc版本11.0.0.0

尝试过这个
SharedManagementObjects.msi(64位)(正确安装并重新启动VS,并且再次发生相同的错误) PowerShellTools.msi

Tried this
SharedManagementObjects.msi (64 Bit) (Install proper and restart VS and same error occurs again) PowerShellTools.msi

Visual Studio 2012,SQL Server 2008 R2、64位操作系统

推荐答案

注意:x86或x64取决于操作系统结构

步骤1::访问以下网址,然后单击下载"选项. http://www.microsoft.com/en-us/download/details.aspx?id = 35580

Step 1: Visit the below url and then click on Download option. http://www.microsoft.com/en-us/download/details.aspx?id=35580

步骤2:选择文件名:ENU \ x64 \ SQLSysClrTypes.msi,然后单击下一步".这将显示一个运行此msi文件的选项.请运行此msi文件并完成安装.

Step 2: select the file name:ENU\ x64 \SQLSysClrTypes.msi and then click on Next. This will shown an option to run this msi file. Please run this msi file and finish the installation.

步骤3:再次访问上面的链接,然后单击下载"选项.这次您需要选择文件名:ENU \ x64 \ SharedManagementObjects.msi,然后单击下一步".这将显示一个运行此msi文件的选项.请运行此msi文件并完成安装.

Step 3: Again visit the above link and click on Download option. this time you need to select the file name:ENU\ x64 \SharedManagementObjects.msi and then click on Next. This will shown an option to run this msi file. Please run this msi file and finish the installation.

步骤4:一旦下载并安装了上述两个文件.关闭Visual Studio并重新打开它.现在,您应该能够通过服务器资源管理器创建数据库,而不会出现任何错误.

Step 4: Once above 2 files are downloaded and installed. Close the Visual Studio and reopen it. Now you should be able to create the database through server explorer without any errors.

这篇关于无法加载文件或程序集'microsoft.sqlserver.management.sdk.sfc版本= 11.0.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆