Blog Home  Home Feed your aggregator (RSS 2.0)  
Mayur's Blog - Converting an Application from .NET 3.5 to 4.0 and ASP.NET Ajax AutoComplete is Not Working
 
# Tuesday, August 23, 2011

I converted my web application from .NET 3.5 to .NET 4.0 and ported it to IIS 7.0. All of a sudden the AutoComplete Extender stopped working.

After some research I found that my web.config file needed the followings:

<system.webServer>

<handlers>

<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<add name="ScriptResource" 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>

I added these handlers and the AutoComplete Extneder was back to work.

Hope this may help others to solve the similar problems.

Happy coding to everyone !!

Tuesday, August 23, 2011 7:00:46 AM UTC  #       | 
Copyright © 2022 Mayur Bharodia. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: