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

[Solved] Javascript error Sys.InvalidOperationException

2 Answers 255 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rodrigo Proenca
Top achievements
Rank 1
Rodrigo Proenca asked on 08 Oct 2009, 01:53 PM
Hi all.

I'm using RadGrid (Telerik.Web.UI version 2008.3.1314.35) and getting the following error intermittently:

Line: 2315
Error: Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.


Then I click OK and this error is shown:

Line: 1266
Error: Sys.ScriptLoadFailedException: The script '/ScriptResource.axd?d=DRRRF0lfdGPBZtsSbajt39Af5wonTAgGeuf84mye7dW8eEGeKInK_beJOvDZmok9d9bDEO8Est-jZldOVJwBA4mHHe-xjid1-5haZivH3EM1&t=ffffffffcec42054' failed to load. Check for:

 Inaccessible path.

 Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings.

 Missing call to Sys.Application.notifyScriptLoaded().



I can't figure out what is happing. All I know is that this error only occurs after I stop to use the application for a while. For example: I click a button that populates the RadGrid. Then I wait for ~ 10 min. I click the button again and the error above is shown.

(We are using Load Balancing in servers)

Any ideias?

Thank you in advance



2 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 13 Oct 2009, 03:12 PM
Hello Rodrigo,

Unfortunately from the provided details I am not able to determine the exact cause of the issue you are currently facing. To progress in our investigation, is it possible for you to prepare a simple working version of your project, exhibiting it, and send it enclosed to a regular support ticket? I will examine it thoroughly and will get back to you with my findings.

Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Rodrigo Proenca
Top achievements
Rank 1
answered on 14 Oct 2009, 12:43 PM
Hi Sebastian.

Thank you very much for your response.

We resolved the bug changing the MS ScriptManager control by RadScriptManager control.

We are not sure why this fixed the Javascript error but it's working now. Do you have any idea?

Thank you again.

Rodrigo.
Tags
Grid
Asked by
Rodrigo Proenca
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Rodrigo Proenca
Top achievements
Rank 1
Share this question
or