최근 Azure에서 호스팅하는 Windows Server 2012 VM에 Umbraco 7.1.9 응용 프로그램을 배포했습니다. ' Windows Server 2012 (Azure)의 Umbraco 7.1.9
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Reflection.ReflectionTypeLoadException: Could not load types from assembly umbraco, Version=1.0.5443.21812, Culture=neutral, PublicKeyToken=null, errors:
Exception: System.TypeLoadException: Declaration referenced in a method implementation cannot be a final method. Type: 'Umbraco.Web.Editors.ContentPostValidateAttribute'. Assembly: 'umbraco, Version=1.0.5443.21812, Culture=neutral, PublicKeyToken=null'.
Exception: System.TypeLoadException: Could not load type 'System.Web.Http.Controllers.IControllerConfiguration' from assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Exception: System.TypeLoadException: Could not load type 'System.Web.Http.Controllers.IControllerConfiguration' from assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Exception: System.TypeLoadException: Could not load type 'System.Web.Http.Controllers.IControllerConfiguration' from assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Exception: System.TypeLoadException: Declaration referenced in a method implementation cannot be a final method. Type: 'Umbraco.Web.WebApi.Filters.EnsureUserPermissionForContentAttribute'. Assembly: 'umbraco, Version=1.0.5443.21812, Culture=neutral, PublicKeyToken=null'.
Exception: System.TypeLoadException: Declaration referenced in a method implementation cannot be a final method. Type: 'Umbraco.Web.WebApi.Filters.EnsureUserPermissionForMediaAttribute'. Assembly: 'umbraco, Version=1.0.5443.21812, Culture=neutral, PublicKeyToken=null'.
Exception: System.TypeLoadException: Declaration referenced in a method implementation cannot be a final method. Type: 'Umbraco.Web.WebApi.Filters.FileUploadCleanupFilterAttribute'. Assembly: 'umbraco, Version=1.0.5443.21812, Culture=neutral, PublicKeyToken=null'.
Exception: System.TypeLoadException: Declaration referenced in a method implementation cannot be a final method. Type: 'Umbraco.Web.WebApi.Filters.FilterAllowedOutgoingMediaAttribute'. Assembly: 'umbraco, Version=1.0.5443.21812, Culture=neutral, PublicKeyToken=null'.
Exception: System.TypeLoadException: Declaration referenced in a method implementation cannot be a final method. Type: 'Umbraco.Web.WebApi.Filters.FilterAllowedOutgoingMediaAttribute'. Assembly: 'umbraco, Version=1.0.5443.21812, Culture=neutral, PublicKeyToken=null'.
Exception: System.TypeLoadException: Could not load type 'System.Web.Http.Controllers.IControllerConfiguration' from assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Exception: System.TypeLoadException: Could not load type 'System.Web.Http.Dispatcher.DefaultHttpControllerSelector' from assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
우리는 .NET 프레임 워크의 최신 버전, 서버의 모든 업데이트를 설치하고 우리가 할 수있는 : 응용 프로그램은 우리의 개발자 시스템에 로컬로 # 1을 작동하지만 우리는 VM에 웹 사이트를 배포 할 때 우리는이 오류가 그것을 작동시키지 마십시오.
누구든지 비슷한 문제가 있습니까?
감사하지만 차이는 없습니다. 사실'System.Web.Http'는 정의되지 않았지만 문제를 해결하지 못했습니다. 또한 5.2.2.0으로 시도했지만 Umbraco는 4.0.0.0 버전을 사용하고 있으므로 5.2.2.0 버전을 지정하면 예외가 발생합니다 : '파일 또는 어셈블리를로드 할 수 없습니다'System.Web.Http, Version = 5.2.2.0, 문화 = 중립, PublicKeyToken = 31bf3856ad364e35 '또는 그것의 의존성 중 하나. 위치한 어셈블리의 매니페스트 정의가 어셈블리 참조와 일치하지 않습니다. ' –
또한, 7.2.0-RC로 업데이트하려고했지만 심지어 같은 문제가 발생했습니다. –
Bummer. Windows Server 2012 R2 내부 업그레이드가 순조롭게 진행되었습니다. /bin/System.Web.Http.dll은 7.1.4 : 4.0.20710.0과 동일한 버전입니다. /bin/umbraco.dll은 이제 오류 메시지와 같은 1.0.5443.21812입니다. 아마도' '? 나는 지금 빨대를 쥐고 있음을 압니다. Azure 웹 사이트에 배포하는 데 문제가 있음을 알면 알려 드리겠습니다 (미안하지만). –
twamley