Could not load file or assembly 'Microsoft.SqlServer
环境: web服务器: ip:192.168.1.32 ,安装有Visual Studio Premium 2013 操作 系统 : Microsoft Server 2008 r2+sp1 数据库服务器: ip:192.168.1.33,安装有Microsoft SQL Server 2012 操作 系统 : Microsoft Server 2008 r2+sp1 操作过程: 在vs2013里利
环境:
web服务器:
ip:192.168.1.32 ,安装有 Visual Studio Premium 2013
操作系统: Microsoft Server 2008 r2+sp1
数据库服务器:
ip:192.168.1.33,安装有Microsoft SQL Server 2012
操作系统: Microsoft Server 2008 r2+sp1
操作过程:
在vs2013里利用向导SqlDataSource配置数据库连接时,点击测试连接提示成功,当点击确定时报错:
---------------------------
Microsoft Visual Studio
---------------------------
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. 系统找不到指定的文件。
---------------------------
确定
---------------------------
CLR Types
解决办法:
去微软官网:http://www.microsoft.com/en-us/download/details.aspx?id=29065
下载下面两个组件:
Microsoft® System CLR Types for Microsoft® SQL Server® 2012
Microsoft® SQL Server® 2012 Shared Management Objects
请选择自己平台适用版本。
下载完成后在Web服务器上安装即可。
为方便大家,我已下载并分享如下(针对x64平台):
http://pan.baidu.com/s/1hqIIUtY
http://pan.baidu.com/s/1gdEbp2j
推荐阅读
-
Could not load file or assembly Microsoft.SqlServer.Management.Sdk.Sfc, Version=
-
完美解决Could not load file or assembly AjaxPro.2 or one of its dependencies. 拒绝访问。 原创
-
Could not load file or assembly 'XXX' or one of its dependen
-
pdfbox Could not load font file: C:\WINDOWS\FONTS\mstmc.ttf java.io.EOFException
-
Could not load file or assembly ‘ Oracle.ManagedDataAccess.EntityFramework, Vers
-
解决问题“Could not load file or assembly xxxxxxx or one of its dependencies”
-
Could not load file or assembly 'Microsoft.SqlServer
-
完美解决Could not load file or assembly AjaxPro.2 or one of its dependencies. 拒绝访问。 原创
-
如何解决XMLHttpRequest cannot load file~~~~~~~Origin 'nu
-
完美解决Could not load file or assembly AjaxPro.2 or one of its dependencies. 拒绝访问。 原创