
I have a production application that users intermittently report getting a SYS not defined error on, and the radEditor fails to paint. I know there are various reasons for getting this error, but most of them are all setup related and would not apply for an intermittent occurrence. Any hints on how to track this down? It is not related to the user’s computer because everything is fine most of the time for the users who have reported this issue.
9 Answers, 1 is accepted
Please, see the following article, which provides suggestions on how to solve the 'Sys' is undefined error: General Troubleshooting.
Problem. 1:
Error message "Microsoft JScript runtime error: 'Sys' is undefined"
Suggested solution:
This error occurs when you have added a control from RadControls for ASP.NET AJAX but your application is not configured to use ASP.NET AJAX. To fix it you need to follow the steps described at http://ajax.asp.net/docs/ConfiguringASPNETAJAX.aspx (check the topic called Adding ASP.NET AJAX Configuration Elements to an Existing Web Site)
Another possible reason for this error (and the solution for it) is explained by the ASP.NET QA team here:
Problem 2:
Using RadControls with RadScriptManager on your login page throws one of the following errors:
- ASP.NET Ajax client-side framework failed to load
- 'Sys' is undefined
- “Telerik.Web.UI” is undefined
Cause:
As the website denies access to all pages to unauthorized users, access to the Telerik.Web.UI.WebResource.axd handler is unauthorized. This causes the handler to serve the content of the login page instead of the combined scripts, hence the error.
Suggested solution:
Add a <location> section to the application configuration file to allow access to Telerik.Web.UI.WebResource.axd to all users, like:
[web.config] Add location property | ![]() |
---|---|
<configuration>
... <location path="Telerik.Web.UI.WebResource.axd"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location> ... </configuration> |
All the best,
Rumen
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.

Thanks for the response. Unfortunately I don't think either of these situations apply. The pages that throw this error work 99 out of 100 times they are accessed so this is not a configuration related issue. This truely is an intermittent problem, all of the problems and solutions you referenced were configuration in nature thus would occur constantly.
Chris
I am afraid that without providing reliable steps to reproduce the problem, there is not much that we could do.
If you are able to isolate the problem in a sample working project, we will debug it, see what is causing the error and fix it.
In other case, unfortunately it will be very hard / impossible to be of help and provide fix or suggestions on how to fix this intermittent problem. Right now we are shooting in the dark and we are not terribly happy that this does not help you solve the problem.
Sincerely,
Rumen
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.

File name: 'Telerik.Web.UIbTelerik.Web.UI, Version=2009.2.826.35,Culture=neutral, PublicKeyToken=121fae78165ba3d4'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase,Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase,Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, EvidenceassemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, EvidenceassemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at Telerik.Web.UI.ScriptEntry.LoadAssembly()
at Telerik.Web.UI.ScriptEntry.GetResourceNameHashes(String assemblyName)
at Telerik.Web.UI.ScriptEntry.Deserialize(String serializedScriptEntries)
at Telerik.Web.UI.CombinedScriptWriter.WriteCombinedScriptFile()
at Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context)
atSystem.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&completedSynchronously)

Time of Error: 2/10/2010 2:33 PM
URL: http://admin.buildyourowncurriculum.com/ScriptResource.axd?d=lgp4cfexinmwUX7eR5PX85TsitZXksV6tWGaOplzewEhXAcG8zDE8XQuFKYKn1EwUrm('Are you sure you would like to delete this Attachment?')) { document.forms[
Server Name: admin.buildyourowncurriculum.com
URL Referrer: http://admin.buildyourowncurriculum.com/admin/Course_edit.aspx?saction=edit&id=13031
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
User IP: 209.94.182.253
User Host Name: 209.94.182.253
Platform: WinXP
Is Crawler: False
Supports JavaScript: False
Supports Cookies: True
User is Authenticated: False
User Name:
Time of Error: 2/10/2010 2:19 PM
URL: http://admin.buildyourowncurriculum.com/WebResource.axd?d=Ie1Ll[
Server Name: admin.buildyourowncurriculum.com
URL Referrer: http://admin.buildyourowncurriculum.com/public/Activity_edit2.aspx?TopicID=218028&sAdmin=True
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Tablet PC 1.7; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
User IP: 198.209.24.140
User Host Name: 198.209.24.140
Platform: WinXP
Is Crawler: False
Supports JavaScript: False
Supports Cookies: True
User is Authenticated: False
User Name:
These intermittent problems could be due to that the application is restarted or the session of the logged user is expired. This could cause for some reason the encoding problem in the Telerik.Web.UIbTelerik.Web.UI" query string.
When this problem occurs again, try to save the page and send us its HTML dump and its source code to see why it is rendered incorrectly.
Best regards,
Rumen
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.


Hello Manesh,
Could you provide more details.
- Is the problem using a client-side code in the Head element?
- Did you try wrapping it in RadCodeBlock as described in this help article?
- Does the problem stems from a specific environment changes?
- Can you provide some details how exactly is the problem reproduced?
Note that this forum thread is 4 year old and the problem described in here is not reproducible on our end. Due to that I can only make assumptions what is the exact origin for the described issue.
Regards,
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.