Saturday, September 24, 2011

The number of WaitHandles must be less than or equal to 64


I am working with an Azure project that has contributed a few posts in the past too. Today, I ran into this error where my application would not run locally. Before I push it to cloud I always run my application locally to make sure everything is fine and especially to ensure that no silly mistake will make me push the application to cloud again. 

Everytime I try to run the application it would throw this error "The number of WaitHandles must be less than or equal to 64". I tried to remove parallelism where I used waitAll from my code. Tried setting hard coded values rather then reading properties and stuff but to no avail.