Microsoft MVP성태의 닷넷 이야기
오류 유형: 270. "aspnet_regiis -i" 실행 시 0x00000006 오류 해결 방법 [링크 복사], [링크+제목 복사],
조회: 12689
글쓴 사람
정성태 (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

비밀번호

댓글 작성자
 




... 91  92  93  94  95  96  97  98  99  100  101  102  103  [104]  105  ...
NoWriterDateCnt.TitleFile(s)
11036정성태8/29/201617368개발 환경 구성: 297. 소스 코드가 없는 닷넷 어셈블리를 디버깅할 때 지역 변숫값을 확인하는 방법
11035정성태8/29/201613426오류 유형: 354. .NET Reflector - PDB 생성 화면에서 "Clear Store"를 하면 "Index and length must refer to a location within the string" 예외 발생
11034정성태8/25/201617033개발 환경 구성: 296. .NET Core 프로젝트를 NuGet Gallery에 배포하는 방법 [2]
11033정성태8/24/201614979오류 유형: 353. coreclr 빌드 시 error C3249: illegal statement or sub-expression for 'constexpr' function
11032정성태8/23/201614383개발 환경 구성: 295. 최신의 Visual C++ 컴파일러 도구를 사용하는 방법 [1]
11031정성태8/23/201611530오류 유형: 352. Error encountered while pushing to the remote repository: Response status code does not indicate success: 403 (Forbidden).
11030정성태8/23/201613282VS.NET IDE: 111. Team Explorer - 추가한 Git Remote 저장소가 Branch에 보이지 않는 경우
11029정성태8/18/201619733.NET Framework: 602. Process.Start의 cmd.exe에서 stdin만 redirect 하는 방법 [1]파일 다운로드1
11028정성태8/15/201614719오류 유형: 351. Octave 설치 시 JRE 경로 문제
11027정성태8/15/201615621.NET Framework: 601. ElementHost 컨트롤의 메모리 누수 현상
11026정성태8/13/201616173Math: 19. 행렬 연산으로 본 해밍코드
11025정성태8/12/201614769개발 환경 구성: 294. .NET Core 프로젝트에서 "Copy to Output Directory" 처리 [1]
11024정성태8/12/201615191오류 유형: 350. "nProtect GameMon" 실행 중에는 Visual Studio 디버깅이 안됩니다! [1]
11023정성태8/10/201615974개발 환경 구성: 293. Azure 구독 후 PaaS 서비스 만들어 보기
11022정성태8/10/201616359개발 환경 구성: 292. Azure Cloud Service 배포시 사용자 정의 작업을 추가하는 방법
11021정성태8/10/201614064오류 유형: 349. System.Runtime.Remoting.RemotingException - Type '..., ..., Version=..., Culture=neutral, PublicKeyToken=null' is not registered for activation [2]
11020정성태8/10/201615845VC++: 98. 원본과 대상 버퍼가 같은 경우 memcpy, wmemcpy 주의점
11019정성태8/10/201630724기타: 60. 도서: 시작하세요! C# 6.0 프로그래밍: 기본 문법부터 실전 예제까지 (2쇄 정오표)
11018정성태8/9/201616541.NET Framework: 600. 단일 메서드 내에서의 할당으로 알아보는 자바와 닷넷의 GC 차이점 [1]
11017정성태8/9/201619634웹: 33. HTTP 쿠키에 한글 값을 설정하는 방법
11016정성태8/7/201616581개발 환경 구성: 291. Windows Server Containers 소개
11015정성태8/7/201614915오류 유형: 348. Windows Server 2016 TP5에서 Windows Containers의 docker run 실행 시 encountered an error during Start failed in Win32
11014정성태8/6/201615854오류 유형: 347. Hyper-V Virtual Machine Management service Account does not have permission to open attachment
11013정성태8/6/201626298개발 환경 구성: 290. Windows 10에서 경험해 보는 Windows Containers와 docker [4]
11012정성태8/6/201616516오류 유형: 346. Windows 10에서 Windows Containers의 docker run 실행 시 encountered an error during CreateContainer failed in Win32 발생
11011정성태8/6/201618414기타: 59. outlook.live.com 메일 서비스의 아웃룩 POP3 설정하는 방법
... 91  92  93  94  95  96  97  98  99  100  101  102  103  [104]  105  ...