성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] Roll A Lisp In C - Reading ; https...
[정성태] Java - How to use the Foreign Funct...
[정성태] 제가 큰 실수를 했군요. ^^; Delegate를 통한 Bein...
[정성태] Working with Rust Libraries from C#...
[정성태] Detecting blocking calls using asyn...
[정성태] 아쉽게도, 커뮤니티는 아니고 개인 블로그입니다. ^^
[정성태] 질문이 잘 이해가 안 됩니다. 우선, 해당 소스코드에서 ILis...
[양승조
] var대신 dinamic으로 선언해서 해결은 했습니다. 맞는 해...
[양승조
] 또 막혔습니다. ㅠㅠ var list = props[i].Ge...
[양승조
] 아. 감사합니다. 어제는 안됐던것 같은데....정신을 차려야겠네...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
제니퍼 .NET
닷넷
COM 개체 관련
스크립트
VC++
VS.NET IDE
Windows
Team Foundation Server
디버깅 기술
오류 유형
개발 환경 구성
웹
기타
Linux
Java
DDK
Math
Phone
Graphics
사물인터넷
부모글 보이기/감추기
내용
<div style='display: inline'> <h1 style='font-family: Malgun Gothic, Consolas; font-size: 20pt; color: #006699; text-align: center; font-weight: bold'>Cannot connect to WMI provider - Invalid class [0x80041010]</h1> <p> 웬일인지, SQL Server 2014 Configuration Manager 아이콘이 사라졌습니다. 사실 다음과 같이 .msc로 있는 것이 실체이기 때문에 그다지 상관은 없는데요.<br /> <br /> <ul> <li>SQLServerManager10.msc</li> <li>SQLServerManager11.msc</li> <li>SQLServerManager13.msc</li> </ul> <br /> 그래서 아래와 같이 직접 실행했습니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > C:\WINDOWS\system32><span style='color: blue; font-weight: bold'>mmc.exe C:\WINDOWS\system32\SQLServerManager13.msc</span> </pre> <br /> 그런데, 에러가 발생하는군요. ^^<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > --------------------------- 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] </pre> <br /> 검색해 보면,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > 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" ; <a target='tab' href='https://support.microsoft.com/en-us/help/956013/error-message-when-you-open-sql-server-configuration-manager-in-sql-se'>https://support.microsoft.com/en-us/help/956013/error-message-when-you-open-sql-server-configuration-manager-in-sql-se</a> </pre> <br /> sqlmgmproviderxpsp2up.mof 파일을 등록해 주면 된다고 합니다. ^^ 그래서 이렇게 실행할 수 있습니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > // SQL Server 2008 R2의 경우 // C:\WINDOWS\system32> <span style='color: blue; font-weight: bold'>mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"</span> C:\WINDOWS\system32> <span style='color: blue; font-weight: bold'>mofcomp "C:\Program Files (x86)\Microsoft SQL Server\130\Shared\sqlmgmproviderxpsp2up.mof"</span> 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! </pre> <br /> 그런데, 그래도 실행이 안됩니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > C:\WINDOWS\system32><span style='color: blue; font-weight: bold'>mmc.exe C:\WINDOWS\system32\SQLServerManager13.msc</span> Access is denied. </pre> <br /> 반면, "C:\WINDOWS\system32\SQLServerManager13.msc" 파일을 직접 더블 클릭해서 실행하니 잘 됩니다. ^^ 게다가 그 이후로는 명령행에서 mmc.exe를 통해 실행하는 것도 잘 됩니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > C:\WINDOWS\system32><span style='color: blue; font-weight: bold'>mmc.exe C:\WINDOWS\system32\SQLServerManager13.msc</span> </pre> <br /> 참고로, mof 파일을 x86의 경로에 있는 것을 등록해 주었지만 x64 환경의 mmc.exe에서도 잘 적용이 됩니다. 그 이유는 문서에서 다음과 같이 설명하고 있습니다.<br /> <br /> <div style='BACKGROUND-COLOR: #ccffcc; padding: 10px 10px 5px 10px; MARGIN: 0px 10px 10px 10px; FONT-FAMILY: Malgun Gothic, Consolas, Verdana; COLOR: #005555'> This problem occurs because the WMI provider is removed when you uninstall an instance of SQL Server. <span style='color: blue; font-weight: bold'>The 32-bit instance and the 64-bit instance of SQL Server share the same WMI configuration file.</span> This file is located in the %programfiles(x86)% folder. </div><br /> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
1917
(왼쪽의 숫자를 입력해야 합니다.)