I have a lot of sharepoint web parts etc all of which are compiled for any cpu, they run fine on 32bit sharepoint but moving to server 2008 in 64bit causes the following error:
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
From my reading they should all work fine?
Therefore, your assemblies and all of their dependent assemblies and DLLs will have to run 64-bit.
Note that .NET assemblies that are marked as "Any CPU" will run as 64-bit on 64-bit hardware. Any native DLLs, however, will need to be compiled natively as 64-bit.
You can't mix 32bit and 64bit assemblies. Your only option is to rebuild your binaries to x64.
You can run 32bit binaries/libraries on 64bit OS, but again you cannot mix them together.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With