Wednesday, October 15, 2008

Add Script Handler to IIS 7(Vista) for Ajax Control Tool Kit

If Ajax Control toolkit is not working in IIS7 or Windows Vista, Verify the Http Handler in web configuration file

"httpHandlers"
"add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/"
"/httpHandlers"

If Configuration file is fine,Add the following handler to IIS Handler Mappting
IIS 7 - > Handler Mapping -> Add Managed Handler

Request Path: ScriptResource.axd
Type: System.Web.Handlers.ScriptResourceHandler
Verbs: GET,POST,HEAD,DEBUG
Now Check AJAX is working Fine.

No comments: