Hello all,
I sometimes suffer from the 'Sys' is undefined error messages while developing or working on ASP.NET web sites which ASP.NET AJAX is enabled.
Recently, in an ASP.NET web site application which uses the AjaxControlToolkit I again get the above 'Sys' is undefined and 'Type' is undefined javascript runtime error messages.
After I have reconfigured and edited the web.config file httpHandlers section, I was able to correct and solve the problem.
<httpHandlers> section is under the <system.web> web.config configuration section.
Below is the <httpHandlers> section I'm using without any runtime errors.
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
</httpHandlers>