Hi
I was getting stack overflow at line 0 on my asp.net page. Generally this error will come if we will keep
<pages smartNavigation="true" maintainScrollPositionOnPostBack="true" />
in web config or asp.net page header part.
You can also disable that error by “Disable Script Debugging” option inside of Internet Explorer. If you know any other root cause of this issue then let me know.