문제

ASP.NET 웹 응용 프로그램에서 Enterprise Library Exception Handling Block을 사용하고 있습니다. 나는 어제 직장 에서이 앱을 사용하고 있었고 모든 것이 잘 작동했습니다. 오늘 집에서 일하고 있으며 앱에 양식이 인증 되 자마자이 오류가 발생합니다.

오류가 발생하여 예외 처리를위한 구성 섹션 핸들러를 생성 한 오류 : 파일 또는 어셈블리 'Microsoft.practices.enterpriselibrary.ExceptionAndling, 버전 = 4.1.0.0, Culture = Neutral, PublicKeyToken = 31BF3856AD364E35'또는 해당 종속성 중 하나를로드 할 수 없습니다. 위치 어셈블리의 매니페스트 정의는 어셈블리 참조와 일치하지 않습니다. (hresult의 예외 : 0x80131040) (c : projects Thesaurussme thesaurussme web.config line 5)

이 오류가 발생합니다 C : Entlib41Src blocks common src configuration SystemConfigUrationSourceimplementation.cs,이 방법에서 :

public override ConfigurationSection GetSection(string sectionName)
{
  ConfigurationSection configurationSection = ConfigurationManager.GetSection(sectionName) as ConfigurationSection;

  SetConfigurationWatchers(sectionName, configurationSection);

  return configurationSection;
}

빈 폴더의 모든 파일을 확인했으며 모두 4.1.0.0입니다.

<configSections>
    <section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

이 섹션을 참조하는 web.config의 다른 모든 섹션에도 4.1.0.0이 표시됩니다.

도움이된다면 Innerexception/FusionLog는 다음과 같이 말합니다.

"=== 사전 결합 상태 정보 === displayName = microsoft.practices.enterPriselibrary.exceptionAdgling, 버전 = 4.1.0.0, Culture = Neutral, PublicKeyToken = 31BF3856AD364E35 n (완전히 지정된) log : appbase = 파일 : // /c :/projects/Thesaurussme/ThesaurusSme/log : 초기 개인 경로 = c : projects thesaurussme thesaurussme thesaurussme bin 콜콜 어셈블리 : (알 수 없음). === 로그 :이 바인드 로그 : 로그 : 응용 프로그램 구성 사용 응용 프로그램 구성 파일 : C : Projects ThesaurusSme ThesaurusSMe web.config 로그 : C : Windows Microsoft.net Framework v2.0.50727 config machine.config. log : Microsoft 참조 : Microsoft의 시스템 구성 파일 사용 .Practices.EnterPriselibrary.exceptionAndling, 버전 = 4.1.0.0, Culture = Neutral, PublicKeyToken = 31BF3856AD364E35 r nlog : 새로운 URL 파일 다운로드 시도 : // 사용자/heckacr1/appdata/local/temp/temp/temp/temp/temp/temp/temp/temp/temp/temp/temp/temp/temp/c :/ .NET 파일/루트/AC718580/56B7F71/Microsoft.practices.enterpriselibrary.exception Handling.dll. Log : 새 URL 파일 다운로드 시도 : // c :/us ERS/HECKACR1/APPDATA/LOCAL/TEMP/임시 ASP.NET 파일/root/AC718580/56B7F71/Microsoft.Practices.EnterPriselibrary.Exception/Microsoft.practices.enterpriselibrary.exception.dll. 로그 : 새로운 URL 파일 다운로드 : /// c : /projects/thesaurussme/thesaurussme/bin/microsoft.practices.enterpriselibrary.exceptionHandling.dll. WRN : 어셈블리 이름을 비교하면 불일치 : 공개 키 토큰 ERR : 어셈블리 설정을 완료하지 못했습니다 (HR = 0x80131040). 조사가 종료되었습니다."

내가 유선 인트라넷에서 떨어져 나가면 왜 이것이 일어날까요?

도움이 되었습니까?
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top