Microsoft MVP성태의 닷넷 이야기
.NET Framework: 49. ASP.NET 오류 유형 : 액세스가 거부되었습니다. [링크 복사], [링크+제목 복사],
조회: 27652
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

Indexing Service가 실행되어 있는 경우, ASP.NET Web 프로젝트를 컴파일 하다 보면 가끔씩 다음과 같은 오류가 나옵니다.

'/TestWeb' 응용 프로그램에 서버 오류가 있습니다.

구성 오류

설명: 이 요청을 제공하는 데 필요한 구성 파일을 처리하는 동안 오류가 발생했습니다. 아래의 오류 정보를 확인한 다음 구성 파일을 적절하게 수정하십시오.

파서 오류 메시지: 액세스가 거부되었습니다. 'My.Strings'

소스 오류:

줄 206:        <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
줄 207:        <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
줄 208:        <add assembly="*" />
줄 209:      </assemblies>
줄 210:    </compilation>

소스 파일: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config  줄: 208

어셈블리 로드 추적: 다음 정보는 'My.Strings' 어셈블리를 로드할 수 없는 이유를 알아내는 데 도움이 됩니다.

=== Pre-bind state information ===
LOG: DisplayName = My.Strings
 (Partial)
LOG: Appbase = file:///XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: My.Strings
LOG: Attempting download of new URL file:///XXXXXXXXXXXX/Testweb/60f6e452/ef7252c5/My.Strings.DLL.
LOG: Attempting download of new URL file:///XXXXXXXXXXXX/Testweb/60f6e452/ef7252c5/My.Strings/My.Strings.DLL.
LOG: Attempting download of new URL file:///XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx/TestWeb/bin/My.Strings.DLL.
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: My.Strings, Version=1.0.0.1, Culture=neutral, PublicKeyToken=a5c6fd7ef16dac7a


버전 정보:Microsoft .NET Framework 버전:1.1.4322.2300; ASP.NET 버전:1.1.4322.2300







[최초 등록일: ]
[최종 수정일: 6/11/2021]

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

비밀번호

댓글 작성자
 



2008-09-20 03시00분
[저예요~] 정책임님... 이건 어떻게 아신거예요? 햐~~
[guest]
2008-09-20 07시40분
어떻게 알긴요.... 삽질끝에 알았죠. ^^;
kevin25

1  2  3  4  5  6  7  8  9  10  11  [12]  13  14  15  ...
NoWriterDateCnt.TitleFile(s)
13708정성태8/7/202410213개발 환경 구성: 719. ffmpeg / YoutubeExplode - mp4 동영상 파일로부터 Audio 파일 추출
13707정성태8/6/20249830닷넷: 2292. C# - 자식 프로세스의 출력이 4,096보다 많은 경우 Process.WaitForExit 호출 시 hang 현상파일 다운로드1
13706정성태8/5/20249356개발 환경 구성: 718. Hyper-V - 리눅스 VM에 새로운 디스크 추가
13705정성태8/4/20249610닷넷: 2291. C# 13 - (5) params 인자 타입으로 컬렉션 허용 [2]파일 다운로드1
13704정성태8/2/202410983닷넷: 2290. C# - 간이 dotnet-dump 프로그램 만들기파일 다운로드1
13703정성태8/1/20248924닷넷: 2289. "dotnet-dump ps" 명령어가 닷넷 프로세스를 찾는 방법
13702정성태7/31/202410185닷넷: 2288. Collection 식을 지원하는 사용자 정의 타입을 CollectionBuilder 특성으로 성능 보완파일 다운로드1
13701정성태7/30/202410691닷넷: 2287. C# 13 - (4) Indexer를 이용한 개체 초기화 구문에서 System.Index 연산자 허용파일 다운로드1
13700정성태7/29/202410854디버깅 기술: 200. DLL Export/Import의 Hint 의미
13699정성태7/27/202410674닷넷: 2286. C# 13 - (3) Monitor를 대체할 Lock 타입파일 다운로드1
13698정성태7/27/202410345닷넷: 2285. C# - async 메서드에서의 System.Threading.Lock 잠금 처리파일 다운로드1
13697정성태7/26/20249278닷넷: 2284. C# - async 메서드에서의 lock/Monitor.Enter/Exit 잠금 처리파일 다운로드1
13696정성태7/26/20249354오류 유형: 920. dotnet publish - error NETSDK1047: Assets file '...\obj\project.assets.json' doesn't have a target for '...'
13695정성태7/25/20249634닷넷: 2283. C# - Lock / Wait 상태에서도 STA COM 메서드 호출 처리파일 다운로드1
13694정성태7/25/20249677닷넷: 2282. C# - ASP.NET Core Web App의 Request 용량 상한값 (Kestrel, IIS)
13693정성태7/24/20248855개발 환경 구성: 717. Visual Studio - C# 프로젝트에서 레지스트리에 등록하지 않은 COM 개체 참조 및 사용 방법파일 다운로드1
13692정성태7/24/202410306디버깅 기술: 199. Windbg - 리눅스에서 뜬 닷넷 응용 프로그램 덤프 파일에 포함된 DLL의 Export Directory 탐색
13691정성태7/23/20249067디버깅 기술: 198. Windbg - 스레드의 Win32 Message Queue 정보 조회
13690정성태7/23/20248373오류 유형: 919. Visual C++ 리눅스 프로젝트 - error : ‘u8’ was not declared in this scope
13689정성태7/22/202411358디버깅 기술: 197. Windbg - PE 포맷의 Export Directory 탐색
13688정성태7/21/20249285닷넷: 2281. C# - Lock / Wait 상태에서도 일부 Win32 메시지 처리파일 다운로드1
13687정성태7/19/202410536닷넷: 2280. C# - PostThreadMessage로 보낸 메시지를 Windows Forms에서 수신하는 방법파일 다운로드1
13686정성태7/19/20249949오류 유형: 918. Visual Studio - ATL Simple Object 추가 시 error C2065: 'IDR_...': undeclared identifier
13685정성태7/19/20249594스크립트: 66. Windows 디렉터리 경로를 WSL의 /mnt 포맷으로 구하는 방법 - 두 번째 이야기
13684정성태7/19/202410568닷넷: 2279. C# - 문자열 보간식 사례 (예: 조건 연산자 사용)
13683정성태7/18/20249266오류 유형: 917. ClrMD - Linux 환경의 .NET 5 덤프 분석 시 hang 현상
1  2  3  4  5  6  7  8  9  10  11  [12]  13  14  15  ...