Stack Overflow from Repeater control [Urgent]

D

duncan.welch

I have some code that's been running happily for nearly a year. In my
last compile and upload, it's stopped working properly.

I have a strongly-typed dataset that returns ~12 datatables, and an
ASP.NET page with a repeater for each control. For some reason, about
half the items in the database now work perfectly, the other half give
a "stack overflow" error with no line number, and I'm completely at a
loss as to why.

Has anyone come across this before? How do I fix or even debug this?

Thanks in advance,

Duncan

---/ snip /---

System.Web.HttpUnhandledException: Exception of type
System.Web.HttpUnhandledException was thrown. --->
System.StackOverflowException: Exception of type
System.StackOverflowException was thrown.
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)


Stack trace:

at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)
 
I

Ignacio Machin \( .NET/ C# MVP \)

hi

no really, are you formatting any of these values? , I mean calling a method
when you bind it.?

That maybe the only explanation, also check if you have configure the IDE
to stop the execution at exception point.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top