Microsoft MVP성태의 닷넷 이야기
오류 유형: 419. Cannot connect to WMI provider - Invalid class [0x80041010] [링크 복사], [링크+제목 복사],
조회: 20753
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

Cannot connect to WMI provider - Invalid class [0x80041010]

웬일인지, SQL Server 2014 Configuration Manager 아이콘이 사라졌습니다. 사실 다음과 같이 .msc로 있는 것이 실체이기 때문에 그다지 상관은 없는데요.

  • SQLServerManager10.msc
  • SQLServerManager11.msc
  • SQLServerManager13.msc

그래서 아래와 같이 직접 실행했습니다.

C:\WINDOWS\system32>mmc.exe  C:\WINDOWS\system32\SQLServerManager13.msc

그런데, 에러가 발생하는군요. ^^

---------------------------
SQL Server Configuration Manager
---------------------------
Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 and later servers with SQL Server Configuration Manager. 
Invalid class [0x80041010]

검색해 보면,

Error message when you open SQL Server Configuration Manager in SQL Server: "Cannot connect to WMI provider. You do not have permission or the server is unreachable"
; https://support.microsoft.com/en-us/help/956013/error-message-when-you-open-sql-server-configuration-manager-in-sql-se

sqlmgmproviderxpsp2up.mof 파일을 등록해 주면 된다고 합니다. ^^ 그래서 이렇게 실행할 수 있습니다.

// SQL Server 2008 R2의 경우
// C:\WINDOWS\system32> mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"

C:\WINDOWS\system32> mofcomp "C:\Program Files (x86)\Microsoft SQL Server\130\Shared\sqlmgmproviderxpsp2up.mof"
Microsoft (R) MOF Compiler Version 10.0.14393.0
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
Parsing MOF file: C:\Program Files (x86)\Microsoft SQL Server\130\Shared\sqlmgmproviderxpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository...
Done!

그런데, 그래도 실행이 안됩니다.

C:\WINDOWS\system32>mmc.exe  C:\WINDOWS\system32\SQLServerManager13.msc
Access is denied.

반면, "C:\WINDOWS\system32\SQLServerManager13.msc" 파일을 직접 더블 클릭해서 실행하니 잘 됩니다. ^^ 게다가 그 이후로는 명령행에서 mmc.exe를 통해 실행하는 것도 잘 됩니다.

C:\WINDOWS\system32>mmc.exe  C:\WINDOWS\system32\SQLServerManager13.msc

참고로, mof 파일을 x86의 경로에 있는 것을 등록해 주었지만 x64 환경의 mmc.exe에서도 잘 적용이 됩니다. 그 이유는 문서에서 다음과 같이 설명하고 있습니다.

This problem occurs because the WMI provider is removed when you uninstall an instance of SQL Server. The 32-bit instance and the 64-bit instance of SQL Server share the same WMI configuration file. This file is located in the %programfiles(x86)% folder.




[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 6/13/2023]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 166  167  168  169  170  171  172  173  174  175  176  177  [178]  179  180  ...
NoWriterDateCnt.TitleFile(s)
587정성태6/10/200828670VS.NET IDE: 56. C#에서 아쉬운 __DATE__, __TIME__ 매크로 [2]
586정성태6/4/200826299오류 유형: 56. WPF 디자이너 - The string was not recognized as a valid DateTime [2]
585정성태6/4/200834583.NET Framework: 101. WPF - ActiveX 컨트롤 호스팅하는 방법 [2]
582정성태5/16/200826349오류 유형: 55. Windowless ActiveX controls are not supported
580정성태4/24/200825418VC++: 34. 64비트 윈도우즈에서의 이벤트 후킹
579정성태4/24/200825242VC++: 33. 변환 후의 RGS 파일 내용을 얻는 방법
577정성태4/16/200826172.NET Framework: 100. XML Serializer를 이용한 값 복사 [5]
575정성태4/7/200823337오류 유형: 54. TFS Source Control - 명령을 사용할 수 없음 [2]
574정성태3/31/200821456오류 유형: 53. TFS 연결 오류 - The workspace [...] exists on computer [...]
573정성태3/25/200825488Windows: 31. TS Web Access와 UAC [1]
570정성태3/17/200824641오류 유형: 52. TFS 연결 오류 - TF31001 [2]
569정성태3/16/200825780Team Foundation Server: 24. TFS 2008로 마이그레이션 (2) [2]
566정성태2/28/200826922.NET Framework: 99. AppDomain.GetEntryAssembly()를 우회하는 방법파일 다운로드1
564정성태2/16/200826563Windows: 30. TS Web Access + Vista SP1 [2]
563정성태2/16/200825929오류 유형: 51. Vista(UAC) + 웹 프로젝트 디버깅: System.UnauthorizedAccessException
562정성태2/12/200830182Windows: 29. Windows Server 2008 설치 [4]
561정성태1/10/200823873오류 유형: 50. IE 7 + 잘못된 HTC 파일 경로 = File not found [5]
559정성태1/1/200828688Windows: 28. Vista에서 끌어다 놓기로 GAC 등록하는 방법 [2]
558정성태1/1/200845874개발 환경 구성: 33. 32bit/64bit OLE DB Provider [1]
557정성태12/22/200724217개발 환경 구성: 32. WSCF와 VS.NET 2008
556정성태12/16/200722297기타: 22. 인기 순위 정리 : 조회수 1000 회 이상
555정성태12/16/200725277기타: 21. 인기 순위 정리 : 조회수 500 ~ 999회 글 목록
554정성태12/16/200729665기타: 20. 인기 순위 정리 : 조회수 250 ~ 499회 글 목록
553정성태12/16/200730046기타: 19. 인기 순위 정리 : 조회수 100 ~ 249회 글 목록
552정성태12/16/200723657기타: 18. 인기 순위 정리 : 조회수 000 ~ 099 회 글 목록
550정성태12/16/200722866Team Foundation Server: 23. TFS 2005에서 TFS 2008로 마이그레이션 [2]
... 166  167  168  169  170  171  172  173  174  175  176  177  [178]  179  180  ...