Here is my setup:
Dev: - 64-bit version of Windows Server 2008 - Visual Studio 2008 - Solution with 3 class libraries, 1 web application
Web Server: - 64-bit version of Windows Server 2008 R2 - Integrated IIS7.5 application pool with 32-bit applications enabled
In Visual Studio, I installed all 4 of my projects to compile to Any Processor, but when I run this web application on a web server with a 32-bit application pool, it shuts down and resets. When I run the application pool in 64-bit mode, it works fine. The production web server requires me to run the 32-bit application pool on a 64-bit OS, so I configured it this way on the intermediate web server.
(I was considering publishing to ServerFault, but part of the server is working fine. It is my code that doesn’t specifically work in the 32-bit application pool, so I post it here.)
Edit: Event Viewer Error
Faulting application name: w3wp.exe, version: 7.5.7600.16385, time stamp: 0x4a5bcd2b Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdbdf Exception code: 0xe053534f Fault offset: 0x0000b727 Faulting process id: 0x%9 Faulting application start time: 0x%10 Faulting application path: %11 Faulting module path: %12 Report Id: %13
source share