title: Server Error in '/' Application - Could not load file or assembly
body: <p>Can any body please tell me what might be wrong here and how I may go about fixing it?
  Thanks</p>
  <blockquote>
  <p>Could not load file or assembly 'FrameProcessor_dll' or one of its
  dependencies. An attempt was made to load a program with an incorrect
  format.</p>
  <p>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.</p>
  <p>Exception Details: System.BadImageFormatException: Could not load file
  or assembly 'FrameProcessor_dll' or one of its dependencies. An
  attempt was made to load a program with an incorrect format.</p>
  <p>Source Error:</p>
  <p>An unhandled exception was generated during the execution of the
  current web request. Information regarding the origin and location of
  the exception can be identified using the exception stack trace below.</p>
  <p>Assembly Load Trace: The following information can be helpful to
  determine why the assembly 'FrameProcessor_dll' could not be loaded.</p>
  <p>=== Pre-bind state information === LOG: DisplayName = FrameProcessor_dll  (Partial) WRN: Partial binding information was
  supplied for an assembly: WRN: Assembly Name: FrameProcessor_dll |
  Domain ID: 2 WRN: A partial bind occurs when only part of the assembly
  display name is provided. WRN: This might result in the binder loading
  an incorrect assembly. WRN: It is recommended to provide a fully
  specified textual identity for the assembly, WRN: that consists of the
  simple name, version, culture, and public key token. WRN: See
  whitepaper <a href="http://go.microsoft.com/fwlink/?LinkId=109270" rel="nofollow noreferrer">http://go.microsoft.com/fwlink/?LinkId=109270</a> for more
  information and common solutions to this issue. LOG: Appbase =
  file:///C:/Users/Administrator/Downloads/Syncre/Syncre/SyncreWebServices/Syncre_LayerAB_WebService/
  LOG: Initial PrivatePath =
  C:\Users\Administrator\Downloads\Syncre\Syncre\SyncreWebServices\Syncre_LayerAB_WebService\bin
  Calling assembly : (Unknown).
  === LOG: This bind starts in default load context. LOG: Using application configuration file:
  C:\Users\Administrator\Downloads\Syncre\Syncre\SyncreWebServices\Syncre_LayerAB_WebService\web.config
  LOG: Using host configuration file:
  C:\Users\Administrator\Documents\IISExpress\config\aspnet.config LOG:
  Using machine configuration file from
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
  LOG: Policy not being applied to reference at this time (private,
  custom, partial, or location-based assembly bind). LOG: Attempting
  download of new URL
  file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary
  ASP.NET Files/root/90b7448e/a25f12e1/FrameProcessor_dll.DLL. LOG:
  Attempting download of new URL
  file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary
  ASP.NET
  Files/root/90b7448e/a25f12e1/FrameProcessor_dll/FrameProcessor_dll.DLL.
  LOG: Attempting download of new URL
  file:///C:/Users/Administrator/Downloads/Syncre/Syncre/SyncreWebServices/Syncre_LayerAB_WebService/bin/FrameProcessor_dll.DLL.
  ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing
  terminated.</p>
  <p>Stack Trace:</p>
  <p>[BadImageFormatException: Could not load file or assembly
  'FrameProcessor_dll' or one of its dependencies. An attempt was made
  to load a program with an incorrect format.]<br />
  System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String
  codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint,
  StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean
  throwOnFileNotFound, Boolean forIntrospection, Boolean
  suppressSecurityChecks) +0<br />
  System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String
  codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint,
  StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean
  throwOnFileNotFound, Boolean forIntrospection, Boolean
  suppressSecurityChecks) +34<br />
  System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName
  assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly,
  StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean
  throwOnFileNotFound, Boolean forIntrospection, Boolean
  suppressSecurityChecks) +152<br />
  System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString,
  Evidence assemblySecurity, StackCrawlMark&amp; stackMark, IntPtr
  pPrivHostBinder, Boolean forIntrospection) +77<br />
  System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString,
  Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean
  forIntrospection) +16    System.Reflection.Assembly.Load(String
  assemblyString) +28<br />
  System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String
  assemblyName, Boolean starDirective) +38</p>
  <p>[ConfigurationErrorsException: Could not load file or assembly
  'FrameProcessor_dll' or one of its dependencies. An attempt was made
  to load a program with an incorrect format.]<br />
  System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String
  assemblyName, Boolean starDirective) +736<br />
  System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
  +217    System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo
  ai) +130<br />
  System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection
  compConfig) +170<br />
  System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()
  +91    System.Web.Compilation.BuildManager.CallPreStartInitMethods(String
  preStartInitListPath, Boolean&amp; isRefAssemblyLoaded) +284<br />
  System.Web.Compilation.BuildManager.ExecutePreAppStart() +153<br />
  System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager
  appManager, IApplicationHost appHost, IConfigMapPathFactory
  configMapPathFactory, HostingEnvironmentParameters hostingParameters,
  PolicyLevel policyLevel, Exception appDomainCreationException) +521</p>
  <p>[HttpException (0x80004005): Could not load file or assembly
  'FrameProcessor_dll' or one of its dependencies. An attempt was made
  to load a program with an incorrect format.]<br />
  System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9955652
  System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
  +101    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest
  wr, HttpContext context) +254</p>
  </blockquote>
  <p><img src="https://i.stack.imgur.com/LDCyo.jpg" alt="Dependency Walker reveals that DLLs are intact." /></p>
  <p>Dependency Walker reveals that DLLS are intact.</p>