Microsoft MVP성태의 닷넷 이야기
오류 유형: 270. "aspnet_regiis -i" 실행 시 0x00000006 오류 해결 방법 [링크 복사], [링크+제목 복사],
조회: 12688
글쓴 사람
정성태 (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)
11261정성태8/4/201713533디버깅 기술: 91. windbg - 풀 덤프 파일로부터 강력한 이름의 어셈블리 추출 후 사용하는 방법
11260정성태8/3/201711907.NET Framework: 670. C# - 실행 파일로부터 공개키를 추출하는 방법
11259정성태8/2/201711562.NET Framework: 669. 지연 서명된 어셈블리를 sn.exe -Vr 등록 없이 사용하는 방법
11258정성태8/1/201712031.NET Framework: 668. 지연 서명된 DLL과 서명된 DLL의 차이점파일 다운로드1
11257정성태7/31/201712622.NET Framework: 667. bypassTrustedAppStrongNames 옵션 설명파일 다운로드1
11256정성태7/25/201713613디버깅 기술: 90. windbg의 lm 명령으로 보이지 않는 .NET 4.0 ClassLibrary를 명시적으로 로드하는 방법 [1]
11255정성태7/18/201716130디버깅 기술: 89. Win32 Debug CRT Heap Internals의 0xBAADF00D 표시 재현 [1]파일 다운로드3
11254정성태7/17/201712843개발 환경 구성: 322. "Visual Studio Emulator for Android" 에뮬레이터를 "Android Studio"와 함께 쓰는 방법
11253정성태7/17/201712833Math: 21. "Coding the Matrix" 문제 2.5.1 풀이 [1]파일 다운로드1
11252정성태7/13/201712240오류 유형: 411. RTVS 또는 PTVS 실행 시 Could not load type 'Microsoft.VisualStudio.InteractiveWindow.Shell.IVsInteractiveWindowFactory2'
11251정성태7/13/201710829디버깅 기술: 88. windbg 분석 - webengine4.dll의 MgdExplicitFlush에서 발생한 System.AccessViolationException의 crash 문제 (2)
11250정성태7/13/201713879디버깅 기술: 87. windbg 분석 - webengine4.dll의 MgdExplicitFlush에서 발생한 System.AccessViolationException의 crash 문제 [1]
11249정성태7/12/201711874오류 유형: 410. LoadLibrary("[...].dll") failed - The specified procedure could not be found.
11248정성태7/12/201718268오류 유형: 409. pip install pefile - 'cp949' codec can't decode byte 0xe2 in position 208687: illegal multibyte sequence
11247정성태7/12/201712517오류 유형: 408. SqlConnection 객체 생성 시 무한 대기 문제파일 다운로드1
11246정성태7/11/201711622VS.NET IDE: 118. Visual Studio - 다중 폴더에 포함된 파일들에 대한 "Copy to Output Directory"를 한 번에 설정하는 방법
11245정성태7/10/201716630개발 환경 구성: 321. Visual Studio Emulator for Android 소개 [2]
11244정성태7/10/201715573오류 유형: 407. Visual Studio에서 ASP.NET Core 실행할 때 dotnet.exe 프로세스의 -532462766 오류 발생 [1]
11243정성태7/10/201712504.NET Framework: 666. dotnet.exe - 윈도우 운영체제에서의 .NET Core 버전 찾기 규칙
11242정성태7/8/201713227제니퍼 .NET: 27. 제니퍼 닷넷 적용 사례 (7) - 노후된 스토리지 장비로 인한 웹 서비스 Hang (멈춤) 현상
11241정성태7/8/201712200오류 유형: 406. Xamarin 빌드 에러 XA5209, APT0000
11240정성태7/7/201714678.NET Framework: 665. ClickOnce를 웹 브라우저를 이용하지 않고 쿼리 문자열을 전달하면서 실행하는 방법 [3]파일 다운로드1
11239정성태7/6/201716146.NET Framework: 664. Protocol Handler - 웹 브라우저에서 데스크톱 응용 프로그램을 실행하는 방법 [5]파일 다운로드1
11238정성태7/6/201714261오류 유형: 405. NT 서비스 시작 시 "Error 1067: The process terminated unexpectedly." 오류 발생 [2]
11237정성태7/5/201715103.NET Framework: 663. C# - PDB 파일 경로를 PE 파일로부터 얻는 방법파일 다운로드1
11236정성태7/4/201714758.NET Framework: 662. C# - VHD/VHDX 가상 디스크를 마운트하지 않고 파일을 복사하는 방법파일 다운로드1
... 91  92  93  94  [95]  96  97  98  99  100  101  102  103  104  105  ...