Running a 32-bit application on 64-bit Windows Server
1. Change build configuration platform to x86 in Visual Studio. Its set to AnyCPU by default
2. Set the application’s pool to run in 32-bit mode i.e. Enable 32-bit Applications in Advanced settings for a specific application pool.