执行foreach时出现An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll的错误查解
2008-01-07 14:45
686 查看
执行一个Foreach循环时,系统提示:
An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll
从字面上看,是堆栈溢出错误。
进过查找,发现这是因为进入了死循环,系统给出的提示。
修改程序解决死循环后,问题解决。
An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll
从字面上看,是堆栈溢出错误。
进过查找,发现这是因为进入了死循环,系统给出的提示。
修改程序解决死循环后,问题解决。
相关文章推荐
- 使用过多的递归出现错误,“System.StackOverflowException”类型的未经处理的异常在 mscorlib.dll 中发生
- An unhandled exception of type 'System.StackOverflowException'
- An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module
- An unhandled exception of type "System.InvalidCastException" occurred
- “System.StackOverflowException”类型的未经处理的异常出现在 mscorlib.dll 中。
- 未处理的“System.StackOverflowException”类型的异常出现在 mscorlib.dll
- 未处理的“System.StackOverflowException”类型的异常出现在 mscorlib.dll(转)
- 未处理的“System.StackOverflowException”类型的异常出现在 mscorlib.dll
- 未处理的“System.StackOverflowException”类型的异常出现在 mscorlib.dll
- 未处理的“System.StackOverflowException”类型的异常出现在 mscorlib.dll
- n unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.Additional information: 未能加载文件或程序集“..
- “System.StackOverflowException”类型的未经处理的异常在 MySql.Data.dll 中发生”的错误处理
- dataType参数不能为空,未处理的“System.ArgumentNullException”类型的异常出现在 mscorlib.dll 中
- 解决 'System.StackOverflowException' 发生错误在 System.Data.dll 的问题
- An unhandled exception ('System.EntryPointNotFoundException') Occurred in MsDtsSrvr.exe
- An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more informat
- Unity dll Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the mod
- “System.StackOverflowException”类型的未经处理的异常在 mscorlib.dll 中发生
- 处理[未处理的“System.StackOverflowException”类型的异常出现在 System.Windows.Form.dll]异常
- “System.StackOverflowException”类型的未经处理的异常在 mscorlib.dll 中发生