Hi,
Is it possible to get a context deadlock switching exception in a windows service?
JD.
Hi,
Is it possible to get a context deadlock switching exception in a windows service?
JD.
Check your service ported code and make sure you have removed all UI code such as calls to MessageBoxes.
According to this article ...
The most common symptom is that a call on an unmanaged COM component from managed code does not return.
Are you calling out to a COM component that takes a long time to return from an STAThread? If so, consider using a separate thread to do the call out to the COM component and then marshaling the return value across to the STAThread.