Click here to Skip to main content
15,891,691 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all ,


I have some problem regarding ajax in asp.net.Actually my server was upgraded from

iis6 to iis7.And after that my ajax controls is not working after the installation of

win7.So please anyone to suggest me.
Posted

Have a look at below similar Question-Answer thread.

ASP.NET Ajax not running with IIS 7
 
Share this answer
 
Comments
satishjha 24-Oct-11 7:15am    
Hi ,

I have added this tag into config ,but not resolved problem ...
 
Share this answer
 
Comments
satishjha 24-Oct-11 7:17am    
Hi , I have added this tag into config ,but not working yet ...
If you are using MVC, it will require adding the MVC entries to the web.config. If you install MVC in your development environment and create the project as an MVC project, the file should already contain them:

XML
<system.web>
    <compilation debug="true" targetFramework="4.0">
        <assemblies>
            <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </assemblies>
    </compilation>
    <pages>
        <namespaces>
            <add namespace="System.Web.Mvc" />
            <add namespace="System.Web.Mvc.Ajax" />
....


If you are developing on this box and it was upgraded from something with IIS 6 (Server 2000/2003?) to Win 7 and IIS 7 (which seems like a downgrade, except for the IIS version, to me), then you'd need to re-install MVC on this dev box. If this is the final server, all you should need is to publish the web.config, DLL file in the bin directory, and the views, any scripts, and CSS.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900