473,406 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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

Hi All

Can anyone please let me know how to catch an unhandled exception like

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

I am unable to catch this using "try - catch - end try" block.

Thanks in advance

Regards
Vighneswar
NGV33010
Software Engineer
Nanna Computers ( Vizag )
Ph : 919440143530
Email : vi******@nannacomputers.com
(This electronic message contains information from Nanna Computers, which
may be privileged or confidential. The information is for the intended
individual(s) or entity named above. If you are not the intended recipient
be aware that any copying, disclosing, distribution or use of the above
email and/or its attachments is prohibited and is illegal. If you have
received this electronic message in error, please notify us by telephone or
email (to the numbers or address above) immediately. This e-mail is not
un-solicited e-mail under the relevant regulations.)
May 31 '06 #1
1 5734
You are filling the stack with objects and have run out of stack space. Most
likely, you have a lot of structs in your application, rather than objects.
Or, you are using a huge amount of recursion.

The best solution is to refactor your code so fewer values types are in
memory at any one time.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
"vighnesh" <vi******@nannacomputers.com> wrote in message
news:ej**************@TK2MSFTNGP04.phx.gbl...
Hi All

Can anyone please let me know how to catch an unhandled exception like

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

I am unable to catch this using "try - catch - end try" block.

Thanks in advance

Regards
Vighneswar
NGV33010
Software Engineer
Nanna Computers ( Vizag )
Ph : 919440143530
Email : vi******@nannacomputers.com
(This electronic message contains information from Nanna Computers, which
may be privileged or confidential. The information is for the intended
individual(s) or entity named above. If you are not the intended recipient
be aware that any copying, disclosing, distribution or use of the above
email and/or its attachments is prohibited and is illegal. If you have
received this electronic message in error, please notify us by telephone
or email (to the numbers or address above) immediately. This e-mail is not
un-solicited e-mail under the relevant regulations.)

May 31 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Lee Holsenbeck | last post by:
Hi, I get this error in a vb.net windows application in the .exe: "An unhandled exception of type 'System.argumentException' occurred in system.drawing.dll" This occurs only on 1 user's pc,...
1
by: Merlynx | last post by:
i am getting that error with the Event() method. Don't know whether if i have used the CreateEvent function well as it is the 1st time i used it moreover i am net to C#. If anyone can point me out...
0
by: Nikhil Khade | last post by:
Hello, After around 3 months, I reopened a old VB.NET solutions which used to work (and build) without any errors. Just to test it again, I build it again and it completed, without any errors,...
12
by: daz_oldham | last post by:
Hi everyone As my expedition into OOP takes another shaky step, I now am getting the error: An unhandled exception of type 'System.StackOverflowException' occurred in xxx.dll. In my...
1
by: Savas Ates | last post by:
I want to change my controls in my class I have the following code. All the code in my _default page class How can i solve it ? public class antu:_default {
1
by: bunnyjoshi | last post by:
"An unhandled exception of type 'System.StackOverflowException' occurred in asset.dll" Above error is occuring when i m debugging my code. asset.dll is file which is created by me n i m using it...
2
geo039
by: geo039 | last post by:
I am a beginner and I have a class that keeps giving me the "An unhandled exception of type 'System.StackOverflowException' occurred" error. I have looked online and do not understand how to correct...
1
by: ramya naidu | last post by:
Hi I have classes property and sketch in htis property will be linked to skecth class and foure different classes which r linked to the skecth class and two generic list one is for skecth and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.