나는 산발적으로 다음과 같은 오류가 발생합니다 웹 사이트있어 : 이제DLL 버전 오류
Server Error in '/' Application.
Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.85.3.365, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
내가이 DLL에 대한 종속성을 할 것을 알고,하지만 난 내 시스템에 버전 0.85.5이 . 내가 이전 버전의 DLL을 서버에서 체계적으로 삭제하고 모든 것을 다시 컴파일 한 후 다시 게시했습니다. 그러나 내가하는 일과 상관없이 누군가가 사이트를 방문한 첫 번째 또는 두 번이나 다시 게시 할 때마다이 오류가 발생하는 것으로 보입니다. 그런 다음 한 두 번 새로 고침 후 오류가 사라지고 사이트가 정상적으로 작동합니다.
무엇을 만들어 그것을 더 이상 내가 오류가 발생합니다 코드 줄을 보면 다음과 같습니다URLRewriter.ProcessRewritingResult(status, excludedEnum, siteName, viewMode, relativePath);
URLRewriter
는 제 3 자 패키지에서 클래스 (Kentico CMS - CMS.URLRewritingEngine.dll) . 그 DLL에 Dependency Walker를 실행 시켰고 ICSharpCode.SharpZipLib에 어떤 의존성도 발견하지 못했습니다.
이 문제를 해결하는 방법에 대한 아이디어가 있으십니까?
편집 : @ JeremyThompson의 제안에 따라 프로세스 모니터를 실행하여 오류를 잡았습니다. 여기에는 화면 덤프가 있으며, 관련 부분이 강조 표시되어 있습니다 (개인 정보 보호를 이유로 한 폴더 이름이 가려져 있음). 여기에 오류에서로드 추적 : 당신은
편집
=== Pre-bind state information ===
LOG: User = MY-SERVER-12\Administrator
LOG: DisplayName = ICSharpCode.SharpZipLib, Version=0.85.3.365, Culture=neutral, PublicKeyToken=1b03e6acf1164f73 (Fully-specified)
LOG: Appbase = file:///C:/inetpub/wwwroot/MySite/
LOG: Initial PrivatePath = C:\inetpub\wwwroot\MySite\bin
Calling assembly : CMS.WebAnalytics, Version=6.0.4377.2467, Culture=neutral, PublicKeyToken=834b12a258f213f9.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\inetpub\wwwroot\MySite\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: ICSharpCode.SharpZipLib, Version=0.85.3.365, Culture=neutral, PublicKeyToken=1b03e6acf1164f73
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/9760eb69/275bb3db/ICSharpCode.SharpZipLib.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/9760eb69/275bb3db/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.DLL.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/MySite/bin/ICSharpCode.SharpZipLib.DLL.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/MySite/bin/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/9760eb69/275bb3db/ICSharpCode.SharpZipLib.EXE.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/9760eb69/275bb3db/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.EXE.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/MySite/bin/ICSharpCode.SharpZipLib.EXE.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/MySite/bin/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.EXE.
안녕 Shual
이 그냥 Kentico 팀 핑, 내가 과거에 그들과 함께 처리 한 그들은 최고 인디언이다. 나는 그들이 공공 포럼에서 지금 이것을 볼 것임을 확신한다. 이 사람 : @ PetrPalas (http://stackoverflow.com/users/1430236/petr-palas), 그는 정말 좋다. –