I have an intermittent stack overflow error popping up on an application I am developing. The app uses several radgrids with one level of hierarchy, ajaxified using radajaxmanager. The .NET version is 2.0 and the radgrid version is Q2 2008.
The error seems to be triggered by expanding the hierarchy. Mostly it displays as stack overflow at line: 117 however I have seen other line numbers as well.
I have seen some mention of stack overflows in this forum and I have set EnableEmbeddedScripts="false" and EnableViewState="false" however nothing has worked yet.
Any help or advice would be very much appreciated.
5 Answers, 1 is accepted
Can you post the complete stack trace?
the Telerik team
It happens intermittently on some machines when the hierarchy is being expanded or contracted.
Also can you guide me as to how I attach screen shots etc to a post like this. I tried Paste From Word but that did not seem to insert the image.
In order to provide up-to-the-point answer for your case, I suggest you prepare a stripped working version of your project, illustrating the abnormality, and send it enclosed to a regular support ticket. We will familiarize with your complete code logic and will advice you further.
the Telerik team
Is it possible that the error could be caused by not having the necessary files deployed? I recently had a look at the article
Up till this point I have deployed only the Telerik.Web.UI.dll file to the customers server and (aside from the intermittent stack overflow) this has been working fine.
While the project is not using RadEditor, RadSpell or RadWindow I did set EnableEmbeddedScripts="false" in my search for a solution. The app still seems to work. The article suggests it should not work unless I also deploy the script files for the controls to the server. Please advise.
Providing the stripped down version could be challenging/non-productive because...
1. My application calls a webservice provided by the customer which I do not have access to outside their network.
2. I have not been able to duplicate the stack overflow on my system - possibly because I have to use a test setup to mimick the customer's webservice.
However I will get something together and send it in - if nothing else there may be something glaring in the way the RadGrids have been implemented or the AJAX useage.
The customer has provided some information regarding the source of the stack overflow. They have told me that problem lies within MicrosoftAjaxWebForms.js at line 599 - not sure how they determined this or if it is helpful. I could not see anything in the file that suggested this was the true source of the problem.
Any help would be much appreciated.
You may agree with me that without a test project which replicates the issue after performing a certain set of steps it would be very hard to pinpoint the exact cause of the random error in order to eliminate it accordingly. Additionally, you mentioned that the exception originates from the MicrosoftAjaxWebForms.js file which makes it even odder because this is the part of the ASP.NET AJAX framework code logic.
Therefore, the best means to progress in our investigation it to assemble a working subset of your project, exhibiting the issue when following explicitly specified steps, and send it attached to a regular support ticket. Thus we will do everything possible to locate the reason for the error and eliminate it.
Also verify that you are using the latest release 2008.2.1001 (Q2 2008 SP2) of RadControls for ASP.NET AJAX.
the Telerik team