2012-06-12 2 views
0

xxx.svc와 같은 WCF 서비스 엔드 포인트를 방문하려고합니다. 그리고이 오류가있어 :예외 메시지 : 파일 또는 어셈블리 'App_Code'또는 해당 종속성 중 하나를로드 할 수 없습니다. 지정한 파일을 찾을 수 없습니다.

The exception message is: Could not load file or assembly 'App_Code' or one of its dependencies. The system cannot find the file specified 

내가 융합 로그에 설정을이 가지고 :

=== Pre-bind state information === 
LOG: User = xxx\xxx 
LOG: DisplayName = App_Code 
(Partial) 
LOG: Appbase = file:///D:/myService/ 
LOG: Initial PrivatePath = D:\myService\bin 
Calling assembly : (Unknown). 
=== 
LOG: This bind starts in default load context. 
LOG: Using application configuration file: D:\myService\web.config 
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Aspnet.config 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config. 
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). 
LOG: The same bind was seen before, and was failed with hr = 0x80070002. 

내 웹 응용 프로그램에서 App_Code 폴더를 필요는 없습니다. 왜 App_Code를 찾습니까?

감사합니다.

답변

1

나는 잘 자고 난 후에 그것을 알아 낸다. precompiledApp.config 파일을 잊어 버렸습니다.

0

아마 잘못된 참조를 사용하거나 사용하려는 것을 참조하지 않았을 것입니다. 해결책은 web.config 및 모든 참조를 검토하여 필요하지만 누락 된 참조 또는 잘못된 참조를 검색하는 것입니다.

+0

답장을 보내 주셔서 감사합니다. 나는 좋은 밤 잠 후 그것을 알아 낸다. precompiledApp.config 파일을 잊어 버렸습니다. ... 나는 가짜 두뇌를 제거하고 싶다. – smwikipedia

관련 문제