Click here to Skip to main content
15,889,931 members
Please Sign up or sign in to vote.
1.00/5 (1 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 4:46am
Comments
F-ES Sitecore 30-Oct-18 10:49am    
It means your code is doing an infinite loop somewhere.

1 solution

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...
 
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