J
Jim
We are experiencing a problem with component services in .Net and IIS. We
use component services to handle transactions against SQL Server. At some
point of usage, IIS will hang up and the lowest level in the stack trace is
at System.EnterpriseServices.Thunk.Proxy.CoCreateObject and also sometimes
at System.EnterpriseServices.Thunk.Proxy.RevokeObject. Each thread that
comes in after this gets stuck in the same spot and IIS is hung at that
point and requires us to restart IIS. No exceptions are thrown; the threads
are simply hung up. Looking at SQL Server Enterprise Manager, it does not
look like there is a deadlock in SQL Server so that can be ruled out. Its
almost like COM+ is getting hung up when the objects need created or
remoting communications are blocked.
Here is a partial call stack displaying when it wa stuck at
System.EnterpriseServices.Thunk.Proxy.RevokeObject:
system.enterpriseservices.thunk.dll!System.EnterpriseServices.Thunk.Proxy.Re
vokeObject(int cookie) + 0x80 bytes
system.enterpriseservices.dll!System.EnterpriseServices.ServicedComponentPro
xy.CleanupQueues(bool bGit) + 0x5f bytes
system.enterpriseservices.dll!System.EnterpriseServices.ServicedComponentPro
xyAttribute.CreateInstance(System.Type serverType) + 0x3b bytes
mscorlib.dll!System.Runtime.Remoting.Activation.ActivationServices.IsCurrent
ContextOK(System.Type serverType, System.Object[] props, bool bNewObj) +
0x4b bytes
When this happens the CPU is not at 100% so this is like a wait state thats
blocking the execution of Component Services methods.
Anyone have any ideas of what's going on?
Thanks,
-Jim
use component services to handle transactions against SQL Server. At some
point of usage, IIS will hang up and the lowest level in the stack trace is
at System.EnterpriseServices.Thunk.Proxy.CoCreateObject and also sometimes
at System.EnterpriseServices.Thunk.Proxy.RevokeObject. Each thread that
comes in after this gets stuck in the same spot and IIS is hung at that
point and requires us to restart IIS. No exceptions are thrown; the threads
are simply hung up. Looking at SQL Server Enterprise Manager, it does not
look like there is a deadlock in SQL Server so that can be ruled out. Its
almost like COM+ is getting hung up when the objects need created or
remoting communications are blocked.
Here is a partial call stack displaying when it wa stuck at
System.EnterpriseServices.Thunk.Proxy.RevokeObject:
system.enterpriseservices.thunk.dll!System.EnterpriseServices.Thunk.Proxy.Re
vokeObject(int cookie) + 0x80 bytes
system.enterpriseservices.dll!System.EnterpriseServices.ServicedComponentPro
xy.CleanupQueues(bool bGit) + 0x5f bytes
system.enterpriseservices.dll!System.EnterpriseServices.ServicedComponentPro
xyAttribute.CreateInstance(System.Type serverType) + 0x3b bytes
mscorlib.dll!System.Runtime.Remoting.Activation.ActivationServices.IsCurrent
ContextOK(System.Type serverType, System.Object[] props, bool bNewObj) +
0x4b bytes
When this happens the CPU is not at 100% so this is like a wait state thats
blocking the execution of Component Services methods.
Anyone have any ideas of what's going on?
Thanks,
-Jim