title: How to use Process Monitor to determine which DLL is causing a BadImageFormatException
body: <p>I have a large web application, which is supposed to run in a 64 bit process.  However, when I set "Enable 32-bit Applications" to False on my App Pool, I get the following error trying to run the app in IE:</p>
  
  <p><em>is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)</em></p>
  
  <p>The application name at he beginning of the error message is missing, i.e. I have not lost it during copy and paste.</p>
  
  <p>I have been advised to use Process Monitor to determine which application/DLL load is actually causing the error, but I have no idea where to start with this.  Could somebody please advise?</p>
  
  <p><strong>EDIT:</strong>  I have tried filtering Process Monitor on only w3wp.exe and only file system and process events, but simply attempting a navigate to the root URL yields 34,012 events.</p>