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

Exceptions thrown by RadGrid

1 Answer 93 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 06 Aug 2010, 07:25 PM
Hello,

I work for an ISV that offers several web based solutions which take heavy advantage of the Telerik ASP.NET Rad Controls. One of our customers recently has come across an issue with accessing pages in one of our offerings that use the RadGrid. The first time the page is accessed in a session it is displayed correctly. The second time the page is accessed though, it throws the following exceptions:

Message: 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.


Message: Sys.ScriptLoadFailedException: The script '/M5CustPortalDev/ScriptResource.axd?d=rC5OL_rz0gI_AXBStw2V_Mdbl_b7pDB3E2hG8K4wUsE8afjNKUqccQwc1t_PgEN60&t=ffffffffcba31db9' 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().

This customer uses our application as in a intranet scenario and is very security conscious, meaning that they've locked down the IE browsers for their users. We've reviewed their group policy settings for the browsers, but nothing lept out.

Any help would be appreciated!

Andrew Lichey

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 11 Aug 2010, 01:04 PM
Hello Andrew,

The exception could be thrown because 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. In IE 6, change the <asp:ScriptManager in your master page to <telerik:RadScriptManager

Also please check out the following forum threads which elaborates on the same matter:
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/script-controls-must-be-registered-using-registerscriptcontrol.aspx
http://www.telerik.com/community/forums/aspnet-ajax/mvc/lerik-web-ui-orientation-has-already-been-registered.aspx
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/jserrror-sys-invalidoperationexception.aspx
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/sys-invalidoperationexception-type-telerik-web-boxside-has-already-been-registered.aspx

Kind regards,
Radoslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Andrew
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or