Here we will discuss how to resolve AjaxControlToolkit error type is undefined scriptresource axd. Also you can check my previous posts on:
- How to check the strength of the password using PasswordStrength Ajax control in asp.net?
- Call stored procedure in Asp.Net using C#.Net
- Tutorial on MVVM with WPF
Solution:
This error usually comes in Asp.Net 4.0 with IIS 7 or IIS 7.5
Add the below tag in web.config file and the error should not come.
- How to check the strength of the password using PasswordStrength Ajax control in asp.net?
- Call stored procedure in Asp.Net using C#.Net
- Tutorial on MVVM with WPF
Solution:
This error usually comes in Asp.Net 4.0 with IIS 7 or IIS 7.5
Add the below tag in web.config file and the error should not come.
<system.webServer>
<handlers>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD"path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler,
System.Web.Extensions, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" />
</handlers>
</system.webServer>