我有一个运行在本地精细的应用程序,但是当部署了我看到的错误:如何调试程序集加载 - 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)
我已经试过观看大会绑定日志通过大会绑定日志查看器,但即使打开,我没有得到比上述堆栈跟踪更多的信息,日志似乎保持空白。它所抱怨的组合是存在的,并且它的表面上有它所有的依赖组件。我还能做些什么来调试我的服务器上的错误?