c# - 32bit binaries on sharepoint 64bit, An attempt was made to load a program with an incorrect format -


I have lots of SharePoint Web Parts, which are compiled for all CPUs, they work fine on 32 bit sharepages. But 64-bit servers cause the following error for 2008:

An attempt was made to load a program with a wrong format. (Exception with HRESULT: 0x8007000B)

Do all of these work properly by reading me?

  1. The 64-bit process can not load 32-bit DLLs and vice versa.
  2. IIS is a 64-bit process on 64-bit hardware
  3. It is possible to configure a personal application pool to run 32-bit, but ...
  4. SharePoint is likely to run 64-bit. Therefore, and all their dependent assemblies and DLLs will be run 64-bit.

    Note that the .NET connections that are marked as "no CPU" will be run on 64-bit hardware as 64-bit. Any native DLL, however, will need to be compiled as a relatively 64-bit.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -