November Happy Hour will be moved to Thursday December 5th.

AjaxControlToolkit throws error

Vote:
 

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 !

#46408
Dec 10, 2010 10:37
Vote:
 

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: http://labs.episerver.com/en/Blogs/Ted-Nyberg/Dates/112276/12/EPiServer-CMS-5-R2-gives-Sys-is-undefined-on-IIS7/

#46411
Dec 10, 2010 11:28
Vote:
 

Thanks Daniel. I solved it after reading the post !

#46412
Dec 10, 2010 11:37
Vote:
 

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!

#144299
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.