I faced this problem when i accidentally call a method inside nearly same method. Let me explain:
I have a datagrid and i am using its databinding event in code behind. But i mistakenly called databind method inside databinding method, so it generated this error.
bunnyjoshi
0 Points
1 Post
"An unhandled exception of type 'System.StackOverflowException' occurred in system.data.dll"
Feb 08, 2007 04:43 AM|LINK
An error "An unhandled exception of type 'System.StackOverflowException' occurred in system.data.dll" is occuring when i debug my project.
Initially it was working fine but from last 2 days its giving me this error.
asset.dll is dll created by me which i m using here.
this dll is already added in the reference.
If any solution reply..:)
Shrikaant
Member
173 Points
155 Posts
Re: "An unhandled exception of type 'System.StackOverflowException' occurred in system.data.dll"
Feb 08, 2007 06:46 AM|LINK
Hi, If possible then send the code where this exception is encountered.You can check for recursion in the code , try the link below too.
http://support.microsoft.com/kb/317161
thakur_amit
Participant
1136 Points
283 Posts
Re: "An unhandled exception of type 'System.StackOverflowException' occurred in system.data.dll"
Feb 08, 2007 06:48 AM|LINK
can you give more details or screen shot
Amit
Amit
kliahut
Member
2 Points
1 Post
Re: "An unhandled exception of type 'System.StackOverflowException' occurred in system.data.dll"
Sep 11, 2007 02:29 PM|LINK
Hi:
Did you find the solution for this issue? because I have the same problem:
"An unhandled exception of type 'System.StackOverflowException' occurred in system.data.dll"
I hope you request my question.
Best regards
vardars
Member
4 Points
2 Posts
Re: "An unhandled exception of type 'System.StackOverflowException' occurred in system.data.dll"
Aug 25, 2008 11:22 AM|LINK
I faced this problem when i accidentally call a method inside nearly same method. Let me explain:
I have a datagrid and i am using its databinding event in code behind. But i mistakenly called databind method inside databinding method, so it generated this error.
It is like an infinite loop.
I hope it helps.
Best regards