Non pumping wait or processing a very long running operation in .net 2.0
I have a .net app that keeps getting this error. I am using a for/loop and that I know should run for about 1 min. It works somtimes and other times I get this error. This is a console application. On a form I have used application.doevent() to fix this. Any way I can fix this?