环境:

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

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  系统找不到指定的文件。

解决办法:

去微软官网: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

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2021-09-08
  • 2021-11-26
  • 2021-08-29
  • 2021-07-19
  • 2022-01-24
猜你喜欢
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
  • 2021-06-12
  • 2022-12-23
  • 2021-07-11
  • 2021-07-12
相关资源
相似解决方案