Home > Database > Mysql Tutorial > body text

Could not load file or assembly 'Microsoft.SqlServer

WBOY
Release: 2016-06-07 15:35:06
Original
1586 people have browsed it

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

Could not load file or assembly 'Microsoft.SqlServer

Could not load file or assembly 'Microsoft.SqlServer

解决办法:

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

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!