• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

Could not load file or assembly 'Microsoft.SqlServer

mysql 搞代码 4年前 (2022-01-09) 48次浏览 已收录 0个评论

环境: 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

htt本文来源gaodai#ma#com搞@@代~&码网^p://pan.baidu.com/s/1gdEbp2j


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Could not load file or assembly 'Microsoft.SqlServer

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址