Couldnotloadfileorassembly & #39; Microsoft. SqlServer

Source: Internet
Author: User
Environment: web server: ip: 192.168.1.32, installed with VisualStudioPremium2013 Operating System: MicrosoftServer2008r2 + sp1 database server: ip: 192.168.1.33, installed with MicrosoftSQLServer2012 Operating System: MicrosoftServer2008r2 + sp1 operation process: benefit in vs2013

Environment: web Server: ip: 192.168.1.32, Visual Studio Premium 2013 Operating System: Microsoft Server 2008 r2 + sp1 database Server: ip: 192.168.1.33, Microsoft SQL Server 2012 operating system installed: microsoft Server 2008 r2 + sp1 operation process: in vs2013

Environment:

Web Server:

Ip: 192.168.1.32, installed with Visual Studio Premium 2013

OperationSystem: Microsoft Server 2008 r2 + sp1

Database Server:

Ip: 192.168.1.33, installed with Microsoft SQL Server 2012

OperationSystem: Microsoft Server 2008 r2 + sp1

Procedure:

When using the wizard SqlDataSource in vs2013 to configure a database connection, click test connection to prompt that the connection is successful. If you click OK, an error is returned:

---------------------------
Microsoft Visual Studio
---------------------------
Cocould not load file or assembly 'Microsoft. SqlServer. Management. Sdk. Sfc, Version = 11.0.0.0, Culture = neutral, PublicKeyToken = 89845dcd80cc91 'or one of its dependencies.SystemNot foundSpecifyOfFile.
---------------------------
OK
---------------------------
CLR Types

Solution:

Go to Microsoft Official Website: http://www.microsoft.com/en-us/download/details.aspx? Id = 29065

Download the following two components:

Microsoft®System CLR Types for Microsoft®SQL Server®2012

Microsoft®SQL Server®2012 Shared Management Objects

Select the applicable version of your platform.

After the download is completeWeb ServerInstall it on.

For your convenience, I have downloaded and shared the following (for the x64 platform ):

Http://pan.baidu.com/s/1hqIIUtY

Http://pan.baidu.com/s/1gdEbp2j

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.