Click here to Skip to main content
15,937,198 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll occurred for the above line.. Please help me...

1 solution

Your function is probably calling itself recursively an infinite number of times. Check your code and see if there is too much nested loops or even endless/dead loops.

Good luck,
Share this answer
Amir Mahfoozi 14-Dec-11 3:00am    
+5 you are right but most of the time only the programmer himself knows what was the last change that caused this error :)
Orcun Iyigun 14-Dec-11 3:08am    
Thanks :) so true.

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