Title

Kodyaz Development Resources

Development resources, articles, tutorials, samples, codes and tools for .Net, SQL Server, Vista, etc.
Welcome to Kodyaz Development Resources Sign in | Join | Help
in Search

Eralper's Blog on Software Development



'Sys' is undefined. and 'Type' is undefined. Javascript error messages with ASP.NET AjaxControlToolkit

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>
Published Thursday, January 03, 2008 11:22 AM by eralper
Filed Under: , ,

Comments

 

Eralper's Blog on Software Development said:

Hello all,

Recently, I had created an .aspx page and added the ASP.NET Ajax Tab control from the Ajax...
June 9, 2008 7:38 AM
Anonymous comments are disabled
Copyright © 2004 - 2008 Eralper Yilmaz. All rights reserved.
Powered by Community Server, by Telligent Systems