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 !
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/
Thanks Daniel. I solved it after reading the post !
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.