Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

윈도우 8 Store App - APPX1204 SignTool Error: An unexpected internal error has occurred

윈도우 8 앱을 개발하고 스토어에 등록하기 위해 Visual Studio에서 .appxupload 파일을 만들기 위해 다음과 같이 "Create App Packages..." 메뉴를 선택할 수 있습니다.

storeapp_sign_error_1.png

대개의 경우 .appxupload 파일이 잘 만들어지겠지만, 어찌된 일인지 제 컴퓨터에서는 다음과 같이 SignTool에서 APPX1204 오류가 발생했습니다.

1>------ Build started: Project: BBS, Configuration: Release Any CPU ------
1>  BBS -> D:\StoreApp\BBS\BBS\bin\Release\BBS.exe
1>  BBS -> D:\StoreApp\BBS\BBS\AppPackages\BBS_1.1.0.0_AnyCPU_Test\BBS_1.1.0.0_AnyCPU.appx
1>  BBS -> D:\StoreApp\BBS\BBS\AppPackages\BBS_1.1.0.0_AnyCPU_Test\BBS_1.1.0.0_AnyCPU.appxsym
1>C:\...\Microsoft.AppXPackage.Targets(1538,9): error APPX1204: Failed to sign 'D:\StoreApp\BBS\BBS\AppPackages\BBS_1.1.0.0_AnyCPU_Test\BBS_1.1.0.0_AnyCPU.appx'. SignTool Error: An unexpected internal error has occurred.
1>C:\...\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(1538,9): error APPX1204: 
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Package: 0 succeeded, 1 failed ===========

웹을 검색해 보면 다행히 문제에 대한 힌트를 얻을 수 있습니다.

SignTool Error: An unexpected internal error has occurred.
; http://social.msdn.microsoft.com/Forums/windowsapps/en-US/f25939fb-c48c-4bd0-938e-6a0afbd2dca0/signtool-error-an-unexpected-internal-error-has-occurred?forum=toolsforwinapps

위의 가장 마지막 덧글을 보면 "this problem occured multibyte name my microsoft id."라고 나오는데요. 이로써 문제에 대한 원인은 파악되었지만 해결책이 없다는 점이 아쉽습니다. 뒤늦게 "https://account.live.com" 사이트를 방문해서 한글 이름을 영문으로 바꿔보았지만 소용이 없더군요. ^^

그래도 방법은 있습니다. Junction을 이용해 한글 폴더를 영문 폴더로 중복시켜주면 됩니다. (그렇습니다. 아래의 글은 이 때문에 쓰여진 것입니다. ^^)

한글이 포함된 사용자 프로파일 경로 변경
; https://www.sysnet.pe.kr/2/0/1642

레지스트리까지 적절하게 변경해 주고 재시작을 한 다음 Visual Studio 2013에서 다시 "Create App Packages..." 메뉴를 실행했더니 이제는 ^^ 잘 되었습니다.

1>------ Build started: Project: BBS, Configuration: Release Any CPU ------
1>  BBS -> c:\users\SeongTae\SkyDrive\Project\StoreApp\BBS\BBS\bin\Release\BBS.exe
1>  BBS -> c:\users\SeongTae\SkyDrive\Project\StoreApp\BBS\BBS\AppPackages\BBS_1.1.0.20_AnyCPU.appxupload
1>  Your package has been successfully created.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
A package has been successfully built for Release (Any CPU).
========== Package: 1 succeeded, 0 failed ===========

요즘 들어 드는 생각인데... 저도 참 ... 한 잔머리 하는 것 같습니다. ^^




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







[최초 등록일: ]
[최종 수정일: 2/26/2014]

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

비밀번호

댓글 작성자
 



2015-01-24 12시33분
[정한솔] 저는 이 방법으로 해결이 안됬고, 대신 영문으로만 이루어진 로컬 관리자 계정을 새로 만들어 프로젝트를 옮긴 뒤 거기서 패키징을 했더니 성공했습니다. 혹시 이 오류로 헤매고 있는 분이 계시다면 참고 바랍니다.
[guest]

[1]  2  3  4  5  6  7  8  9  10  11  12  13  14  15  ...
NoWriterDateCnt.TitleFile(s)
14027정성태10/15/2025805닷넷: 2371. C# - CRC64 (System.IO.Hashing의 약식 버전)파일 다운로드1
14026정성태10/15/2025848닷넷: 2370. 닷넷 지원 정보의 "package-provided" 의미
14025정성태10/14/2025901Linux: 126. eBPF (bpf2go) - tcp_sendmsg 예제
14024정성태10/14/2025952오류 유형: 984. Whisper.net - System.Exception: 'Cannot dispose while processing, please use DisposeAsync instead.'
14023정성태10/12/20251531닷넷: 2369. C# / Whisper 모델 - 동영상의 음성을 인식해 자동으로 SRT 자막 파일을 생성 [1]파일 다운로드1
14022정성태10/10/20252289닷넷: 2368. C# / NAudio - (AI 학습을 위해) 무음 구간을 반영한 오디오 파일 분할파일 다운로드1
14021정성태10/6/20252738닷넷: 2367. C# - Youtube 동영상 다운로드 (YoutubeExplode 패키지) [1]파일 다운로드1
14020정성태10/2/20252356Linux: 125. eBPF - __attribute__((preserve_access_index)) 활용 사례
14019정성태10/1/20252486Linux: 124. eBPF - __sk_buff / sk_buff 구조체
14018정성태9/30/20251830닷넷: 2366. C# - UIAutomationClient를 이용해 시스템 트레이의 아이콘을 열거하는 방법파일 다운로드1
14017정성태9/29/20252275Linux: 123. eBPF (bpf2go) - BPF_PROG_TYPE_SOCKET_FILTER 예제 - SEC("socket")
14016정성태9/28/20252573Linux: 122. eBPF - __attribute__((preserve_access_index)) 사용법
14015정성태9/22/20252003닷넷: 2365. C# - FFMpegCore를 이용한 MP4 동영상으로부터 MP3 음원 추출 예제파일 다운로드1
14014정성태9/17/20251986닷넷: 2364. C# - stun.l.google.com을 사용해 공용 IP 주소와 포트를 알아내는 방법파일 다운로드1
14013정성태9/14/20252675닷넷: 2363. C# - Whisper.NET Library를 이용해 음성을 텍스트로 변환 및 번역하는 예제파일 다운로드1
14012정성태9/9/20252891닷넷: 2362. C# - Windows.Media.Ocr: 윈도우 운영체제에 포함된 OCR(Optical Character Recognition)파일 다운로드1
14011정성태9/7/20253515닷넷: 2361. C# - Linux 환경의 readlink 호출
14010정성태9/1/20253327오류 유형: 983. apt update 시 "The repository 'http://deb.debian.org/debian buster Release' does not have a Release file." 오류
14009정성태8/28/20253791닷넷: 2360. C# 14 - (11) Expression Tree에 선택적 인수와 명명된 인수 허용파일 다운로드1
14008정성태8/26/20254375닷넷: 2359. C# 14 - (10) 복합 대입 연산자의 오버로드 지원파일 다운로드1
14007정성태8/25/20254782닷넷: 2358. C# - 현재 빌드에 적용 중인 컴파일러 버전 확인 방법 (#error version)
14006정성태8/23/20255065Linux: 121. Linux - snap 패키지 관리자로 설치한 소프트웨어의 디렉터리 접근 제한
14005정성태8/21/20254049오류 유형: 982. sudo: unable to load /usr/libexec/sudo/sudoers.so: libssl.so.3: cannot open shared object file: No such file or directory
14004정성태8/21/20254638오류 유형: 981. dotnet 실행 시 No usable version of the libssl was found
14003정성태8/21/20254901닷넷: 2357. C# 14 - (9) 새로운 지시자 추가 (Ignored directives)
[1]  2  3  4  5  6  7  8  9  10  11  12  13  14  15  ...