This is a migrated thread and some comments may be shown as answers.

RadGrid stack overflow

5 Answers 162 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 27 Oct 2008, 06:12 AM
Hi,

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.

Thanks
Steve

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 27 Oct 2008, 07:39 AM
Hi Stephen,

Can you post the complete stack trace?

Greetings,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Stephen
Top achievements
Rank 1
answered on 28 Oct 2008, 06:49 AM
Hi there,

The error seems to be a javascript error - the message box reads Stack overflow error at line: 117 or whatever line number. That's all. Re getting a stack trace can you suggest how I can do this for this sort of error.

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.

Thanks
Steve 
0
Sebastian
Telerik team
answered on 30 Oct 2008, 11:47 AM
Hi Stephen,

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.

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Stephen
Top achievements
Rank 1
answered on 31 Oct 2008, 06:26 AM
Hi,

Is it possible that the error could be caused by not having the necessary files deployed? I recently had a look at the article 
http://www.telerik.com/support/kb/article/b454K-gag-b454T-bah.aspx

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.

Regards
Steve


0
Sebastian
Telerik team
answered on 31 Oct 2008, 08:22 AM

Hello Stephen,

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.

Kind regards,

Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Stephen
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Stephen
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or