Managed Debugging Assistant 'ContextSwitchDeadlock' 
  Message=Managed Debugging Assistant 'ContextSwitchDeadlock' : 'The CLR 
has been unable to transition from COM context 0xd89ba8 to COM context 
0xd89af0 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 CoWaitForMultipleHandles) and routinely pump messages during long 
running operations.'

 

 

I am getting above error at below line 
System.Collections.IList list = query.List();

 

and here IQuery is interface of NHibernate.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nhusers/2653350f-a447-4415-bc25-f6c4e3a8aef4n%40googlegroups.com.

Reply via email to