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

Unhandled exception in Telerik.Web.UI.WebResource.axd? (IE11)

1 Answer 187 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Application
Top achievements
Rank 1
Application asked on 06 Jul 2017, 11:06 AM

I'm working on an asp.net project where i have a master page and content pages. Im getting an exception message when i place a timer on one of the content page which is ticking at a certain interval and rebinding the grid using rebind method. I have got  a RadScripManager placed on my master page. Im also using radajaxmanager for the timer.

Im using latest 2017 telerik controls and browser is IE version 11. i have tested my code with chrome and Firefox and no exception is occurring with the browsers,.

When i get an exception my page is zoom in automatically. Can you please guide me. Details of an exception is below

 

Unhandled exception at line 17198, column 28 in http://localhost:60682/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:b59ca51d-6c90-4be1-88fb-6dda83097045:ea597d4b:b25378d2:76254418;Telerik.Web.UI,+Version=2016.2.607.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:fb63f838-b932-4810-8e72-f1ca43eff960:16e4e7cd:f7645509:33715776:7c926187:8674cba1:88144a7a:b7778d6c:c08e9f8a:59462f1:a51ee93e:58366029:24ee1bba:f46195d3:ed16cbdc

0x80070057 - JavaScript runtime error: Invalid argument.

 

The line where im getting an exception 

Telerik.Web.UI.RadAjaxControl.prototype.updateHeadStyles [Telerik.Web.UI.WebResource.axd] Line 17198 Script

and exception line is 

}if(e[c].indexOf("{")!=-1){f.insertRule(e[c]+"}",f.cssRules.length);

 

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 07 Jul 2017, 03:12 PM
Hello,

Please, make sure that the IE11 browser is not running in Compatibility mode as it is not supported and may lead to such issues:
http://www.telerik.com/aspnet-ajax/tech-sheets/browser-support

Also, you stated that you are using the latest version of the controls (2017.2.621), but the thrown error indicates a reference to version 2016.2.607.45. Can you please, make sure that there are not any remaining references in you project pointing to this version? I would also advise that you also check the *.proj file of the application by opening it in a text redactor (i.e., NotePad++) and search for any remaining references to the 2016 version of the controls there.

The following blog posts provides detailed steps on how to successfully upgrade a project, you may find it useful:
http://www.telerik.com/blogs/upgrade-the-version-of-your-telerik-asp.net-controls-in-6-easy-steps

If non of the above helps, please, send us a runnable simple project where the problem can be replicated, so we can examine the cause for it further at our end.

Kind regards,
Vessy
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ScriptManager and StyleSheetManager
Asked by
Application
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or