I\'m getting, \"Could not load file or assembly \'Bla\' or one of its dependencies. An attempt was made to load a program with an incorrect format.\"
A portion of th
Per pierce.jason's answer above, I had luck with:
Just create a new DWORD(32) under the Fusion key. Name the DWORD to LogFailures, and set it to value 1. Then restart IIS, refresh the page giving errors, and the assembly bind logs will show in the error message.
Create a new Application Pool
Go to the Advanced Settings of this application pool
Set the Enable 32-Bit Application to True
Point your web application to use this new Pool
When I had the same problem I fixed it by deleting the existing key.snk
in that project and adding a new key.