Larry;
I think you're pointing me to the right direction.
However, teh instructions won't help.
I created this myProject.mda.c onfig and put in the debug folder. Still got
the same error:
<?xml version="1.0" encoding="utf-8" ?>
<mdaConfig>
<assistants>
<contextSwitchD eadlock enable="false" />
</assistants>
</mdaConfig>
Any ideas?
Thanks again
Bill
ContextSwitchDe adlock was detected
Message: The CLR has been unable to transition from COM context 0x1afa28 to
COM context 0x1afb98 for 60 seconds. The thread that owns the destination
context/apartment is most likely either doing a non pumping wait or
processing a very long running operation without pumping Windows messages.
This situation generally has a negative performance impact and may even lead
to the application becoming non responsive or memory usage accumulating
continually over time. To avoid this problem, all single threaded apartment
(STA) threads should use pumping wait primitives (such as
CoWaitForMultip leHandles) and routinely pump messages during long running
operations.
"Larry Lard" <la*******@goog lemail.comwrote in message
news:4k******** ****@individual .net...
Bill Nguyen wrote:
>below is the error message I received when about 2/3 of the process is
done.
Where in my code I sould look for?
Thanks
Bill
---------
The CLR has been unable to transition from COM context 0x1afa18 to COM
context 0x1afb88 for 60 seconds. The thread that owns the destination
context/apartment is most likely either doing a non pumping wait or
processing a very long running operation without pumping Windows
messages. This situation generally has a negative performance impact and
may even lead to the application becoming non responsive or memory usage
accumulating continually over time. To avoid this problem, all single
threaded apartment (STA) threads should use pumping wait primitives (such
as CoWaitForMultip leHandles) and routinely pump messages during long
running operations.
You might find this thread useful:
<http://groups.google.c om/group/microsoft.publi c.vsnet.debuggi ng/browse_thread/thread/1e4ac1010ae5920 d/03ca1c82ea79287 b>
--
Larry Lard
la*******@googl email.com
The address is real, but unread - please reply to the group
For VB and C# questions - tell us which version