Microsoft MVP성태의 닷넷 이야기
오류 유형: 270. "aspnet_regiis -i" 실행 시 0x00000006 오류 해결 방법 [링크 복사], [링크+제목 복사],
조회: 12481
글쓴 사람
정성태 (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)
11509정성태4/28/201812688.NET Framework: 741. windbg로 확인하는 객체의 GC 여부
11508정성태4/23/201814152개발 환경 구성: 373. MSBuild를 이용해 프로젝트 배포 후 결과물을 zip 파일로 압축하는 방법파일 다운로드1
11507정성태4/20/201814169개발 환경 구성: 372. MSBuild - 빌드 전/후, 배포 전/후 실행하고 싶은 Task 정의
11506정성태4/20/201818062.NET Framework: 740. C#에서 enum을 boxing 없이 int로 변환하기 - 두 번째 이야기 [7]파일 다운로드1
11505정성태4/19/201811474개발 환경 구성: 371. Azure Web App 확장 예제 - Simple WebSite Extension
11504정성태4/19/201812704오류 유형: 465. Azure Web App 확장 - Extplorer File manager 적용 시 오류
11503정성태4/19/201813582오류 유형: 464. PowerShell - Start-Service 명령 오류 (Service 'xxx' cannot be started)
11502정성태4/17/201814561개발 환경 구성: 370. Azure VM/App Services(Web Apps)에 Let's Encrypt 무료 인증서 적용 방법 [3]
11501정성태4/17/201811565개발 환경 구성: 369. New-AzureRmADServicePrincipal로 생성한 계정의 clientSecret, key 값을 구하는 방법파일 다운로드1
11500정성태4/17/201812472개발 환경 구성: 368. PowerShell로 접근하는 Azure의 Access control 보안과 Azure Active Directory의 계정 관리 서비스
11499정성태4/17/201811473개발 환경 구성: 367. Azure - New-AzureRmADServicePrincipal / New-AzureRmRoleAssignment 명령어
11498정성태4/17/201811143개발 환경 구성: 366. Azure Active Directory의 사용자 유형 구분 - Guest/Member
11497정성태4/17/20189573개발 환경 구성: 365. Azure 리소스의 액세스 제어(Access control) 별로 사용자에게 권한을 할당하는 방법 [2]
11496정성태4/17/201810019개발 환경 구성: 364. Azure Portal에서 구독(Subscriptions) 메뉴가 보이지 않는 경우
11495정성태4/16/201812402개발 환경 구성: 363. Azure의 Access control 보안과 Azure Active Directory의 계정 관리 서비스
11494정성태4/16/20189734개발 환경 구성: 362. Azure Web Apps(App Services)에 사용자 DNS를 지정하는 방법
11493정성태4/16/201811283개발 환경 구성: 361. Azure Web App(App Service)의 HTTP/2 프로토콜 지원
11492정성태4/13/20189737개발 환경 구성: 360. Azure Active Directory의 사용자 도메인 지정 방법
11491정성태4/13/201812017개발 환경 구성: 359. Azure 가상 머신에 Web Application을 배포하는 방법
11490정성태4/12/201811661.NET Framework: 739. .NET Framework 4.7.1의 새 기능 - Configuration builders [1]파일 다운로드1
11489정성태4/12/20189093오류 유형: 463. 윈도우 백업 오류 - a Volume Shadow Copy Service operation failed.
11488정성태4/12/201811398오류 유형: 462. Unhandled Exception in Managed Code Snap-in - FX:{811FD892-5EB4-4E73-A147-F1E079E36C4E}
11487정성태4/12/201811053디버깅 기술: 115. windbg - 닷넷 메모리 덤프에서 정적(static) 필드 값을 조사하는 방법
11486정성태4/11/201810626오류 유형: 461. Error MSB4064 The "ComputeOutputOnly" parameter is not supported by the "VsTsc" task
11485정성태4/11/201816068.NET Framework: 738. C# - Console 프로그램이 Ctrl+C 종료 시점을 감지하는 방법파일 다운로드1
11484정성태4/11/201816536.NET Framework: 737. C# - async를 Task 타입이 아닌 사용자 정의 타입에 적용하는 방법파일 다운로드1
... 76  77  78  79  80  81  82  83  84  [85]  86  87  88  89  90  ...