Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

COM+ 1.5 Hangs with windows 2003

We have a COM+ application written using .net framework 1.1 the, this application is accessed by a group of asp.net web services,
When deploying the application to win 2000 and IIS 5 the application runs smoothly (fast response and low memory usage),
and win 2003 and IIS 6 the application hangs after few minutes with no exceptions thrown, we generated a memory dump for the process after it hanged and analyzed it using Windbg, the hanging analysis gave Probably caused by: comsvcs.dll ( comsvcs!CPool::Get+bb ) probably this is caused by the COM+ pooling, also form reviewing the stack trace we saw that the OLE32 module was the last thing on the stack trace, so we tried the following but still no better results:
We tried Running IIS 6 hosting the client web services in IIS 5 isolation mode but nothing changed.
Also we uninstalled windows 2003 service pack 1 and made some tests
We tried turning on and off the ADO.net connection pooling
We installed the Hot Fix mentioned on http://support.microsoft.com/kb/897667/

Of course if any body knows a solution to this problem his help will be much appreciated, also what are the possibilities that migrating to framework 2.0 could solve this problem.

I am adding here results from Windbg:

STACK_TEXT:
0007fcd4 7c822124 77e6baa8 00000040 00000000 ntdll!KiFastSystemCallRet
0007fcd8 77e6baa8 00000040 00000000 00000000 ntdll!NtWaitForSingleObject+0xc
0007fd48 77e6ba12 00000040 ffffffff 00000000 kernel32!WaitForSingleObjectEx+0xac
0007fd5c 776cf66e 00000040 ffffffff ffffffff kernel32!WaitForSingleObject+0x12
0007fd78 776cf886 0009b8c0 0007fdb7 00000000 ole32!CSurrogateProcessActivator::WaitForSurrogateTimeout+0x51
0007fd90 0100137c 0007ff08 00000000 00000000 ole32!CoRegisterSurrogateEx+0x1a6
0007ff1c 01001646 01000000 00000000 000924b0 dllhost!WinMain+0xda
0007ffc0 77e523cd 00000000 00000000 7ffd6000 dllhost!WinMainCRTStartup+0x182
0007fff0 00000000 010014c4 00000000 78746341 kernel32!BaseProcessStart+0x23

STACK_COMMAND: ~0s; .ecxr ; kb

FOLLOWUP_IP:
dllhost!WinMain+da
0100137c ff1590100001 call dword ptr [dllhost!_imp__CoUninitialize (01001090)]

FAULTING_SOURCE_CODE:

SYMBOL_STACK_INDEX: 6

FOLLOWUP_NAME: MachineOwner

SYMBOL_NAME: dllhost!WinMain+da

MODULE_NAME: dllhost

IMAGE_NAME: dllhost.exe

DEBUG_FLR_IMAGE_TIMESTAMP: 3e7fff57

FAILURE_BUCKET_ID: 80000003_dllhost!WinMain+da

BUCKET_ID: 80000003_dllhost!WinMain+da

Followup: MachineOwner
---
[2639 byte] By [bassam] at [2007-11-11 8:01:15]