Tôi đã có một ứng dụng chạy tốt tại địa phương, nhưng khi triển khai tôi nhìn thấy các lỗi:Làm thế nào để gỡ lỗi hội Load - ConfigurationErrorsException
Exception information:
Exception type: ConfigurationErrorsException
Exception message: Could not load file or assembly 'FluentMigrator.Runner' or one of its dependencies. An attempt was made to load a program with an incorrect format.
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
at System.Web.Configuration.AssemblyInfo.get_AssemblyInternal()
at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
at System.Web.Compilation.BuildManager.CallPreStartInitMethods()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
Tôi đã thử xem các ràng buộc lắp ráp đăng nhập thông qua các hội Trình xem nhật ký ràng buộc, nhưng ngay cả khi đã bật tôi không nhận được nhiều thông tin hơn so với dấu vết ngăn xếp ở trên, nhật ký dường như vẫn trống. Hội đồng mà nó phàn nàn về là hiện tại và trên mặt của nó có tất cả các hội đồng phụ thuộc của nó hiện diện. Tôi có thể làm gì khác để gỡ lỗi những gì sai trên máy chủ của tôi?