Click here to Skip to main content
15,923,087 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am using VB.NET 2008 doing report. I used dataset to show the data in report. When I run the report, it processes for long time and after 60 mins
I get an error window showing:
"The CLR has been unable to transition from COM context 0x451420 to COM context 0x451590 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 unable to run and see the report.
How to rectify this error?

Thank you.
Posted
Updated 15-Feb-11 19:40pm
v2
Comments
Sandeep Mewara 16-Feb-11 1:40am    
Which report? crystal ? SSRS? normal datagrid?

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900