ローカルでは問題なく動作するアプリケーションを持っていますが、デプロイすると次のエラーが表示されます。
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)
Assembly Binding Log Viewer を使用してアセンブリ バインディング ログを表示しようとしましたが、オンにしても、上記のスタック トレース以外の情報は得られず、ログは空のままのようです。それが不平を言っているアセンブリが存在し、その表面には、依存するすべてのアセンブリが存在します。サーバーの問題をデバッグするために他に何ができますか?