Click here to Skip to main content
14,360,932 members
Rate this:
Please Sign up or sign in to vote.
Hi ,when i run my project this error is coming
I am using Visual Studio 2017 Community
Please help me.

Error is

An Unhandled exception of type 'system.stackoverflowexception' occurred in mscorlib.dll


What I have tried:

Any project i am running it is throwing same error
Posted
Updated 30-Oct-18 5:46am
Comments
F-ES Sitecore 30-Oct-18 10:49am
   
It means your code is doing an infinite loop somewhere.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

A StackOverflowException indicates that you are running code that has a method or property call that call itself (directly or indirectly) recursively.

1) Activate Exceptions to be shown be checking all types of Common Language Runtime Exceptions at:
Debug > Exceptions

Execute in debug mode - does VS break at a relevant place?

No?

2) Use the Debug > Windows > Call Stack (at debug time) to review the calls that are leading towards the exception.


3)
Share your code if you cannot find the source of your problem since there are no mindreaders here I am afraid...
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100