Microsoft MVP성태의 닷넷 이야기
오류 유형: 270. "aspnet_regiis -i" 실행 시 0x00000006 오류 해결 방법 [링크 복사], [링크+제목 복사],
조회: 12484
글쓴 사람
정성태 (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)
11534정성태6/6/201820739.NET Framework: 758. C# 7.2 - Span<T> [6]
11533정성태6/5/201823237.NET Framework: 757. 포인터 형 매개 변수를 갖는 C++ DLL의 함수를 C#에서 호출하는 방법파일 다운로드1
11532정성태6/5/201814430.NET Framework: 756. JSON의 escape sequence 문자 처리 방식
11531정성태6/4/201818378오류 유형: 468. JSON.parse가 허용하지 않는 문자 [9]
11530정성태5/31/201817862.NET Framework: 755. C# 7.2 - 스택에만 생성할 수 있는 값 타입 지원 - "ref struct" [2]파일 다운로드1
11529정성태5/23/201815149.NET Framework: 754. 닷넷의 관리 포인터(Managed Pointer)와 System.TypedReference [6]파일 다운로드1
11528정성태5/17/201815120.NET Framework: 753. C# 7.2 - 3항 연산자에 ref 지원(conditional ref operator) [1]
11527정성태5/17/201813182오류 유형: 467. RDP 로그인 에러 - This could be due to CredSSP encryption oracle remediation.
11526정성태5/16/201813433.NET Framework: 752. C# 7.2 - 메서드의 반환값 및 로컬 변수에 ref readonly 기능 추가파일 다운로드1
11525정성태5/16/201816500.NET Framework: 751. C# 7.2 - 메서드의 매개 변수에 in 변경자 추가 [3]파일 다운로드1
11524정성태5/15/201815756.NET Framework: 750. C# 7.2 - readonly 구조체 [5]파일 다운로드1
11523정성태5/15/201814446.NET Framework: 749. C# - 값 형식의 readonly 인스턴스에 대한 메서드 호출 시 defensive copy 발생 [1]파일 다운로드1
11522정성태5/15/201812022개발 환경 구성: 378. Azure - VM 진단 설정 화면의 "This subscription is not registered with the Microsoft.Insights resource provider."
11521정성태5/15/201811412개발 환경 구성: 377. Azure - 원하는 성능 데이터로 모니터링 대시보드 구성
11520정성태5/12/201812238.NET Framework: 748. C# 7.1 - 참조 어셈블리(Ref Assemblies)
11519정성태5/12/201813609개발 환경 구성: 376. ASP.NET Web Application 프로젝트의 FileSystem 배포(Publish) 시 Before/After Task 설정 방법 [1]
11518정성태5/10/201811867.NET Framework: 747. C# 7.0에서도 부분적으로 가능해진 "타입 추론을 통한 튜플의 변수명 자동 지정"
11517정성태5/10/201812288.NET Framework: 746. Azure runbook 예제 - 6시간 동안 수행 중인 VM을 중지 [1]파일 다운로드1
11516정성태5/9/201812019.NET Framework: 745. Azure runbook을 PowerShell 또는 C# 코드로 실행하는 방법파일 다운로드1
11515정성태5/9/201813905.NET Framework: 744. C# 6 - Expression bodied function [1]
11514정성태5/3/201812951오류 유형: 466. Bitvise - Error in component session/transport/kexHandler [2]
11513정성태5/3/201818328.NET Framework: 743. C# 언어의 공변성과 반공변성 [9]파일 다운로드2
11512정성태5/2/201811723개발 환경 구성: 375. Azure runbook 실행 시 "Errors", "All Logs"에 오류 메시지가 출력되는 경우
11511정성태5/2/201813640개발 환경 구성: 374. Azure - Runbook 기능 소개
11510정성태4/30/201815107.NET Framework: 742. windbg로 확인하는 Finalizer를 가진 객체의 GC 과정파일 다운로드1
11509정성태4/28/201812688.NET Framework: 741. windbg로 확인하는 객체의 GC 여부
... 76  77  78  79  80  81  82  83  [84]  85  86  87  88  89  90  ...