Microsoft MVP성태의 닷넷 이야기
오류 유형: 270. "aspnet_regiis -i" 실행 시 0x00000006 오류 해결 방법 [링크 복사], [링크+제목 복사],
조회: 12477
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

"aspnet_regiis -i" 실행 시 0x00000006 오류 해결 방법

지금까지, aspnet_regiis 실행시 오류가 발생한 적이 한번도 없었는데 신기한 일도 다 있군요.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i
Start installing ASP.NET (2.0.50727).
..................
Finished installing ASP.NET (2.0.50727).
Setup has detected some errors during the operation. For details, please read the setup log file C:\DOCUME~1\SEONGT~1\LOCALS~1\Temp\1\ASPNETSetup_00002.log

보는 바와 같이 오류가 발생했고 자세한 정보는 ASPNETSetup_00002.log 파일을 참조하라고 합니다. 찾아보니 내용에 Failure 부분이 눈에 띄는데요.

********************************************************************************
**** Starting ASP.NET Setup at: 2014-11-06 11:03:18
**** Registering ASP.NET isapi: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
**** Internal flags: 0x00000006
********************************************************************************

2014-11-06 11:03:18 Starting    Querying status of a service: iisadmin
2014-11-06 11:03:18     Starting    Connecting to Service Manager
2014-11-06 11:03:18     Success     Connecting to Service Manager
2014-11-06 11:03:18     Starting    Opening Service handle
2014-11-06 11:03:18     Success     Opening Service handle
2014-11-06 11:03:18     Starting    Finding out service state
....[생략]...
2014-11-06 11:03:30     Success     Setting IIS key for script files
2014-11-06 11:03:30     Starting    Creating list of client site scripts dirs
2014-11-06 11:03:30         Starting    Creating directory: D:\temp\WebApp2\aspnet_client
2014-11-06 11:03:30         Failure     Creating directory: D:\temp\WebApp2\aspnet_client: CreateDirectoryInternal failed with HRESULT 80070003: 'The system cannot find the path specified.  '
2014-11-06 11:03:30     Failure     Creating list of client site scripts dirs: CreateSiteClientScriptDir failed with HRESULT 80070003: 'The system cannot find the path specified.  '
2014-11-06 11:03:30     Starting    Creating list of client site scripts dirs
....[생략]...
2014-11-06 11:03:31     Starting    Setting IIS key for script files
2014-11-06 11:03:31     Success     Setting IIS key for script files
2014-11-06 11:03:31     Starting    Creating list of client site scripts dirs
2014-11-06 11:03:31         Starting    Creating directory: D:\test\WebApplication1\aspnet_client
2014-11-06 11:03:31         Failure     Creating directory: D:\test\WebApplication1\aspnet_client: CreateDirectoryInternal failed with HRESULT 80070003: 'The system cannot find the path specified.  '
2014-11-06 11:03:31     Failure     Creating list of client site scripts dirs: CreateSiteClientScriptDir failed with HRESULT 80070003: 'The system cannot find the path specified.  '
....[생략]...
2014-11-06 11:03:35 Success     Restarting W3SVC
2014-11-06 11:03:35 Starting    Adding protocols section to machine.config
2014-11-06 11:03:36 Success     Adding protocols section to machine.config

실패 사유는 간단합니다. IIS에 등록된 웹 사이트 중에 디렉토리가 삭제된 것들이 있었던 것입니다. 즉, aspnet_regiis는 .NET 웹 사이트의 하위에 "scripts" 폴더를 생성하려고 시도하는데, 생성될 폴더의 기준 디렉토리가 이미 삭제되어 있어 오류가 발생한 것!

해결 방법은, IIS 관리자에서 디렉토리가 삭제되어 사용하지 않는 웹 사이트를 삭제하고 iisreset후 다시 aspnet_regiis로 등록을 했습니다.




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







[최초 등록일: ]
[최종 수정일: 2/20/2015]

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

비밀번호

댓글 작성자
 




... 76  77  78  79  80  81  [82]  83  84  85  86  87  88  89  90  ...
NoWriterDateCnt.TitleFile(s)
11584정성태7/5/201811693Math: 35. GeoGebra 기하 (12) - 삼각형의 내심과 내접하는 원파일 다운로드1
11583정성태7/5/201810508.NET Framework: 785. public으로 노출되지 않은 다른 어셈블리의 delegate 인스턴스를 Reflection으로 생성하는 방법파일 다운로드1
11582정성태7/5/201816663.NET Framework: 784. C# - 제네릭 인자를 가진 타입을 생성하는 방법 [1]파일 다운로드1
11581정성태7/4/201813693Math: 34. GeoGebra 기하 (11) - 3대 작도 불능 문제의 하나인 임의 각의 3등분파일 다운로드1
11580정성태7/4/201811067Math: 33. GeoGebra 기하 (10) - 직각의 3등분파일 다운로드1
11579정성태7/4/201810596Math: 32. GeoGebra 기하 (9) - 임의의 선분을 한 변으로 갖는 정삼각형파일 다운로드1
11578정성태7/3/201810776Math: 31. GeoGebra 기하 (8) - 호(Arc)의 이등분파일 다운로드1
11577정성태7/3/201811010Math: 30. GeoGebra 기하 (7) - 각의 이등분파일 다운로드1
11576정성태7/3/201811925Math: 29. GeoGebra 기하 (6) - 대수의 4칙 연산파일 다운로드1
11575정성태7/2/201812676Math: 28. GeoGebra 기하 (5) - 선분을 n 등분하는 방법파일 다운로드1
11574정성태7/2/201811039Math: 27. GeoGebra 기하 (4) - 선분을 n 배 늘이는 방법파일 다운로드1
11573정성태7/2/201810819Math: 26. GeoGebra 기하 (3) - 평행선
11572정성태7/1/20189997.NET Framework: 783. C# 컴파일러가 허용하지 않는 (유효한) 코드를 컴파일해 테스트하는 방법
11571정성태7/1/201811388.NET Framework: 782. C# - JIRA에 등록된 Project의 Version 항목 추가하는 방법파일 다운로드1
11570정성태7/1/201811623Math: 25. GeoGebra 기하 (2) - 임의의 선분과 특정 점을 지나는 수직선파일 다운로드1
11569정성태7/1/201811111Math: 24. GeoGebra 기하 (1) - 수직 이등분선파일 다운로드1
11568정성태7/1/201822341Math: 23. GeoGebra 기하 - 컴퍼스와 자를 이용한 작도 프로그램 [1]
11567정성태6/28/201811925.NET Framework: 781. C# - OpenCvSharp 사용 시 포인터를 이용한 속도 향상파일 다운로드1
11566정성태6/28/201817528.NET Framework: 780. C# - JIRA REST API 사용 정리 (1) Basic 인증 [4]파일 다운로드1
11565정성태6/28/201814143.NET Framework: 779. C# 7.3에서 enum을 boxing 없이 int로 변환하기 - 세 번째 이야기파일 다운로드1
11564정성태6/27/201812803.NET Framework: 778. (Unity가 사용하는) 모노 런타임의 __makeref 오류
11563정성태6/27/201811941개발 환경 구성: 386. .NET Framework Native compiler 프리뷰 버전 사용법 [2]
11562정성태6/26/201811514개발 환경 구성: 385. 레지스트리에 등록된 원격지 스크립트 COM 객체 실행 방법
11561정성태6/26/201821885.NET Framework: 777. UI 요소의 접근은 반드시 그 UI를 만든 스레드에서! [8]파일 다운로드1
11560정성태6/25/201813596.NET Framework: 776. C# 7.3 - 초기화 식에서 변수 사용 가능(expression variables in initializers)파일 다운로드1
11559정성태6/25/201820024개발 환경 구성: 384. 영문 설정의 Windows 10 명령행 창(cmd.exe)의 한글 지원 [6]
... 76  77  78  79  80  81  [82]  83  84  85  86  87  88  89  90  ...