성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] Get Started with Milvus Vector DB i...
[정성태] cyberark/PipeViewer - A tool that...
[정성태] WinForms in a 64-Bit world – our st...
[정성태] 예제에서 SELECT_SQL도 내부적으로는 SqlCommand/...
[victor] SELECT_LINQ SELECT_SQL 같은 쿼리인...
[victor] 답변 갑사합니다. 예외(Exception)가 났습니다. ...
[정성태] 일단, 위의 방식대로 하면 예외(Exception) 없이 잘 동...
[정성태] Windows 10 (버전 1809)에 이런 기능이 ^^ 추가되...
[정성태] pde windbg extension ; https://lea...
[정성태] // GetEnumerator extensions for Ran...
글쓰기
제목
이름
암호
전자우편
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'>error information: "CryptQueryObject" (-2147024893/0x80070003)</h1> <p> <a target='tab' href='https://www.sysnet.pe.kr/2/0/12103#signing'>Visual Studio 2019 + WDK Legacy Driver 제작- Hello World 예제</a> 글에서 설명했던 것처럼, 이젠 device driver에 대한 서명 작업도 프로젝트 설정으로 하다 보니 헤매는 경우가 생기는군요. ^^<br /> <br /> 어느 순간 빌드 시 다음과 같은 오류가 발생하는데,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > 1>SIGNTASK : error information: "CryptQueryObject" (-2147024893/0x80070003) 1>SIGNTASK : SignTool error : An unexpected internal error has occurred. </pre> <br /> 오류 메시지 자체로는 무슨 의미인지 잘 모르겠습니다. 하지만, 0x80070003 에러 코드를 "<a target='tab' href='https://docs.microsoft.com/en-us/windows/win32/debug/system-error-code-lookup-tool'>Error Lookup</a>" 도구로 확인해 보면 금방 답이 나옵니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > The system cannot find the path specified. </pre> <br /> 그러고 보니, 해당 프로젝트의 경로를 옮겼었는데요. 아쉽게도 "Cross-Signing Certificate"로 지정하는 경로가,<br /> <br /> <img onclick='toggle_img(this)' class='imgView' alt='wdk_build_2019_4.png' src='/SysWebRes/bbs/wdk_build_2019_4.png' /><br /> <br /> [project_file_name].vcxproj.user 파일의 CrossCertificateFile 속성에 절대 경로로 설정이 되어 있습니다. <br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > <CrossCertificateFile><span style='color: blue; font-weight: bold'>C:\testddkprj\</span>VeriSign Class 3 Public Primary Certification Authority - G5.cer</CrossCertificateFile> </pre> <br /> 어쩔 수 없습니다. 다시 경로를 재설정하든가, 아니면 SolutionDir 등의 매크로 값을 이용해 재설정해 하시면 됩니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > <CrossCertificateFile><span style='color: blue; font-weight: bold'>$(SolutionDir)</span>VeriSign Class 3 Public Primary Certification Authority - G5.cer</CrossCertificateFile> </pre> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
4894
(왼쪽의 숫자를 입력해야 합니다.)