Try our conversational search powered by Generative AI!

AjaxControlToolkit throws error


I have added a page into my episerver project that uses ajaxcontroltoolkit (V 1.0). I have successfully used the same toolkit in other non-cms project (Running .net framework 3.5) also, but in this case i got the following error:

Error: ASP.NET Ajax client-side framework failed to load.
Error: Sys is not defined

Any guess what is happenning ? May be I'm missing something to write in my web.config ?

Please help me !

Dec 10, 2010 10:37

ScriptResource handler is probably not registered. If you try to browse to http://<yoururl>/ScriptResource.axd you'll probably get a 404.

See Ted Nyberg's post on the problem and how to solve it:

Dec 10, 2010 11:28

Thanks Daniel. I solved it after reading the post !

Dec 10, 2010 11:37

If someone gets this error and stumbles apon this thread, when dealing with older sites (CMS 5-6), I have found a solution:

Make sure that the url provided in the Admin mode -> Config -> System settings for the site is the is the same you are using when browsing to it. If there is a mismatch between the two, wierd things happens, "Sys is not defined" among them.

Happy coding!

Feb 10, 2016 16:56
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.