This is how to check if an app pool is running as 32bit or 64bit in IIS 7. Goto IIS manager -> Application pools -> Select the apppool you want and -> Advanced Settings. In there there's a setting called enable 32bit apps. If that's true, that means the worker process is forced to run in 32bit. If the setting is false, ...
You need the corflags.exe. It's installed with .net sdk and windows sdk so you need either the .net sdk or windows sdk installed. Here's how to use it. Open a command prompt and type corflags.exe yourassembly.dll Here's how to interpret the corflags output For AnyCPU assemblies : PE = PE32, 32BIT = 0, and ILONLY = 1 Fo ...