You cannot mix the assemblies (or unmanaged modules) with different
instruction-set architectures in a single process. Check up each and every module. Normally, if you build all the assemblies as "AnyCPU", the ultimate instruction-set architectures actually used during runtime will be defined by the actual architecture of the machine.
Note that on all 64-bit systems, 32-bit process will work via WoW64:
http://en.wikipedia.org/wiki/WOW64[
^].
At the same time, different 64-bit architectures wull also conflict: x86-64 and Itanium (I-64).
I cannot imagine the situation when you might need the target instruction-set architecture other then AnyCPU in a Web application.
See also:
http://en.wikipedia.org/wiki/Instruction_set[
^].
—SA