Programing

파일 또는 어셈블리 Microsoft.SqlServer.management.sdk.sfc 버전 11.0.0.0을로드 할 수 없습니다

crosscheck 2020. 7. 28. 07:54
반응형

파일 또는 어셈블리 Microsoft.SqlServer.management.sdk.sfc 버전 11.0.0.0을로드 할 수 없습니다


MS SQL Server 2008 R2를 설치했으며 EDMX 파일 아래의 데이터베이스에서 모델을 업데이트하려고 할 때 해당 오류가 발생합니다.

파일 또는 어셈블리 Microsoft.SqlServer.management.sdk.sfc 버전 11.0.0.0을로드 할 수 없습니다

여기에서 Microsoft SQL Server 2008 R2 공유 관리 개체를 설치하려고 시도 했지만 기쁨은 없습니다.


문제 : (Sql 서버 2014)이 문제 Microsoft.SqlServer.management.sdk.sfc version 12.0.0.0는 Visual Studio에서 어셈블리 를 찾을 수 없을 때 발생합니다 .

솔루션 : http://www.microsoft.com/en-us/download/details.aspx?id=42295 로 이동하여 다음 을 다운로드하십시오.

  • ENU\x64\SharedManagementObjects.msi X64 OS 또는
  • ENU\x86\SharedManagementObjects.msi X86 OS의 경우

설치하고 Visual Studio를 다시 시작하십시오.

PS : 당신은 설치해야 할 수 있습니다 DB2OLEDBV5_x64.msi또는 DB2OLEDBV5_x86.msi너무.


문제 : (Sql 서버 2012)이 문제 Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0는 Visual Studio에서 어셈블리 를 찾을 수 없을 때 발생합니다 .

솔루션 : http://www.microsoft.com/en-us/download/details.aspx?id=35580으로 이동하여 다음 을 다운로드하십시오.

  • ENU\x64\SharedManagementObjects.msi X64 OS 또는
  • ENU\x86\SharedManagementObjects.msi X86 OS의 경우

설치하고 Visual Studio를 다시 시작하십시오.


문제 : (Sql Server 2008)이 문제 Microsoft.SqlServer.management.sdk.sfc version 10.0.0.0는 Visual Studio에서 어셈블리 를 찾을 수 없을 때 발생합니다 .

솔루션 : http://www.microsoft.com/en-us/download/details.aspx?id=26728으로 이동하여 다음 을 다운로드하십시오.

  • 1033\x64\SharedManagementObjects.msi X64 OS 또는
  • 1033\x86\SharedManagementObjects.msi X86 OS의 경우

(대부분의 경우 다운로드하는 것이 http://go.microsoft.com/fwlink/?LinkId=123708&clcid=0x409 )

설치하고 Visual Studio를 다시 시작하십시오.


문제 : 최근에 SharedManagementObjects 설치 후 비슷한 문제가 발생 했습니다 . Microsoft.SqlServer.ConnectionInfo, Version=12.0.0.0Visual Studio에서 어셈블리 를 찾을 수 없습니다. 문제는 Visual Studio 용 Visual C ++ 재배포 가능 패키지가 아직 설치되지 않았다는 것입니다.

솔루션 : Visual Studio 2013의 경우 http://www.microsoft.com/en-us/download/details.aspx?id=40784 로 이동하여 다음 을 다운로드하십시오.

  • vcredist_x64.exe X64 OS 또는
  • vcredist_x86.exe X86 OS의 경우

설치하고 Visual Studio를 다시 시작하십시오.

추신 : 다른 버전의 Visual Studio 용 Visual Studio 20XXVisual C ++ 재배포 가능 패키지를 인터넷으로 쉽게 찾을 수 있습니다 .


이것에 대한 내 경험을 공유하고 싶습니다.

나도이 오류가 발생했습니다. MS Visual Studio 2013을 사용하고 있는데 MS SQL Server 2012가 설치되어 있지만 MS SQL Server 2008이 있습니다.

나는이 오류에 대해 하루 동안 머리를 두드리고있었습니다. SharedManagementObject, SQLSysClrTypes 및 Native Client를 설치하려고 시도했지만 작동하지 않았습니다. 왜? 글쎄, 마침내 Visual Studio 2013을 사용하는 동안 2008 또는 2012 버전의 해당 파일을 설치하고 있다고 생각했습니다 !! 내 아이디어는 데이터베이스 문제이므로 파일의 버전은 랩톱에 설치된 MS SQL Server와 동일해야하지만 오류는 Visual Studio의 오류가 아니라 Visual Studio의 오류이므로 2013 버전을 설치해야합니다 SQL Server.


Visual Studio 2013 및 SQL Server 2014를 사용하고 있습니다. Visual Studio Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0에서 찾을 수없는 아래 오류가 발생했습니다 .

Microsoft.SqlServer.management.sdk.sfc version 12.0.0.0SQL Server 2014를 사용 하고 있기 때문에 실제로 오류가 발생했습니다.

이 문제를 해결하려면 SharedManagementObject.msi아래 사이트에서 SQL Server 2012를 설치해야했습니다 .

http://www.microsoft.com/en-us/download/details.aspx?id=35580

참고 : https://stackoverflow.com/a/19246011/1030460 응답을 사용할 수 있지만 오류 버전에 중점을 두어 SQL Server 버전에 중점을 두지 않고 다운로드를 선택하십시오.


VS 2012 및 SQL Server 2008 R2 SP2, Developer Edition을 실행하고 있습니다. 결국 Microsoft® SQL Server® 2012 기능 팩에서 항목을 설치해야했습니다. 설치 지침 에 이러한 항목이 SQL Server 2005부터 2012 년까지 작동한다고 명시되어 있다고 생각합니다 .이 오류를 해결하기위한 정확한 요구 사항을 모르지만 세 가지 항목을 설치했는데 오류가 더 이상 표시되지 않습니다.

Microsoft® SQL Server® 2012 기능 팩 항목

  • Microsoft® SQL Server® 2012 공유 관리 개체 : x86 , x64
  • Microsoft® SQL Server® 2012 용 Microsoft® 시스템 CLR 유형 : x86 , x64
  • Microsoft® SQL Server® 2012 Native Client : x86 , x64

Based on threads elsewhere, you may not end up needing the last item or two. Good luck!


For SQL Server 2014:

http://www.microsoft.com/en-us/download/confirmation.aspx?id=42295

Select SharedManagementObjects.msi for your architectur


For those who are running into a slight variation of this problem, I just found a solution.

Pre-requisites: using VS 2015 and SQL Server 2012.

Symptom: can't load this subsystem: Microsoft.SqlServer.management.sdk.sfc version 12.0.0.0

At this point you might be like me and confused that you are using SQL Server 2012 but VS 2015 is trying to use version 12.0.0.0, which comes from SQL Server 2014. It turns out that when you install SQL Server 2012, it installs a couple of components from SQL Server 2014. At one point I removed all traces of SQL Server from my machine (using the Add Programs control panel). When I re-installed SQL Server 2012, it either didn't re-install the 2014 components or I deleted them again thinking I missed them the first time around.

The result was that I didn't have the necessary 2014 libraries on my system. I also tried to install the 2014 Shared Management Objects as pointed out above, but that didn't work because I didn't have the CLR runtime from 2014. So in order to get a VS 2015 system working with a SQL Server 2012, you have to make sure that these two 2014 packages are installed:

  • ENU\x64\SQLSysClrTypes.msi
  • ENU\x64\SharedManagementObjects.msi

from SQL Server 2014 Feature Pack. Pick the 32 bit versions if you need to.

Here is the site that helped me figure this out.


Just use MS Web platform Installer 4.5 to install all stuff for MS SQL Server 2008 R2.

And don't forget to reload machine.

:)


I downloaded "Microsoft® System CLR Types for Microsoft® SQL Server® 2012" and "Microsoft® SQL Server® 2012 Shared Management Objects" from @ImanMahmoudinasab mentioned link, but Shared Management Objects had problem while installing and it showed some dependencies message and at the end installation Failed!

Finally I solved the problem with Power Shell. I run PS as administrator with the below command:

Start-Process <path>\SharedManagementObjects.msi

for version 11 download the Microsoft SQL Server 2012 Feature Pack https://www.microsoft.com/en-us/download/confirmation.aspx?id=43339

  • ENU\x64\SQLSysClrTypes.msi
  • ENU\x64\SharedManagementObjects.msi

for version 12 download the Microsoft SQL Server 2014 SP2 Feature Pack https://www.microsoft.com/en-us/download/details.aspx?id=42295

  • ENU\x64\SQLSysClrTypes.msi
  • ENU\x64\SharedManagementObjects.msi

I am using Visual Studio 2013 & SQL Server 2014. I got the below error Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0 not found by visual studio. I have tried all the things like installing

  • ENU\x64\SharedManagementObjects.msi for X64 OS or

  • ENU\x86\SharedManagementObjects.msi for X86 OS

  • ENU\x64\SQLSysClrTypes.msi

  • Reinstalling Sql Server 2014

What actually solved my problem is to repair the visual studio 2013(or any other version you are using) now the problem is removed . What i think it is problem of Visual Studio not Sql Server as i was able to access and use the Sql Server tool.


I got this error when using Visual Studio 2013 with Microsoft SQL Server Management Studio 2016 trying to update database with Entity Framework migrations

The fix was to install Microsoft SQL Server Management Studio 2012 SP1 as Visual Studio 2013 was missing the necessary libraries to connect to the SQL Server database.

I put together this detailed page with all the steps I took.


Supplement to Iman Mahmoudinasab's answer

For SQL Server 2016, this is where to find the files:

https://www.microsoft.com/en-us/download/details.aspx?id=52676

Note that the files are in the list but you may need to scroll down to see/select it.

From SQL Server 2017 onwards, things change:

"Beginning with SQL Server 2017 SMO is distributed as the Microsoft.SqlServer.SqlManagementObjects NuGet package to allow users to develop applications with SMO."

Source: https://docs.microsoft.com/en-us/sql/relational-databases/server-management-objects-smo/installing-smo?view=sql-server-2017

참고URL : https://stackoverflow.com/questions/16906686/could-not-load-file-or-assembly-microsoft-sqlserver-management-sdk-sfc-version-1

반응형