I have a 32 bit ISAPI DLL (native code), currently running on Windows Server 2003 (32 bit) and IIS 6.0. I need to run the same ISAPI DLL on Windows Server 2008 R2 (64 bit) and IIS 7.5. I am following the below steps for the same:
- Created an Application Pool with Enable 32 bit Applications = True and Pipe Line Mode =Classic (.net 2.0). Web Site and Virtual directory hosting the ISAPI DLL is configured to use this application pool
- Allowed the ISAPI DLL by adding it under ISAPI and CGI Restrictions
- Allowed ISAPI DLLs to execute within the Application by allowing Execute Permissions for Handler Mappings
But the request from client is failing with Internal Server Error, Status Code 500 . When I tried using ProcessExplorer, it looks like ISAPI DLL is not getting loaded (not sure) as it does not show under w3wp process.
I enabled the failed request tracing for the web site and below are more error details
<EventData> <Data Name="ContextId">{00000000-0000-0000-2100-0080000000F5}</Data> <Data Name="ModuleName">IsapiModule</Data> <Data Name="Notification">128</Data> <Data Name="HttpStatus">500</Data> <Data Name="HttpReason">Internal Server Error</Data> <Data Name="HttpSubStatus">0</Data> <Data Name="ErrorCode">2147500037</Data> <Data Name="ConfigExceptionInfo"></Data> </EventData> <RenderingInfo Culture="en-US"> <Opcode>MODULE_SET_RESPONSE_ERROR_STATUS</Opcode> <Keywords> <Keyword>RequestNotifications</Keyword> </Keywords> <freb:Description Data="Notification">EXECUTE_REQUEST_HANDLER</freb:Description> <freb:Description Data="ErrorCode">Unspecified error (0x80004005)</freb:Description> </RenderingInfo>
please help in resolving the error.