ASP.NET Ajax client-side framework failed to load" and "Sys is undefined" on .net 4.0

摘要:ASP.NET Ajax client-side framework failed to load" and "Sys is undefined" on .net 4.0

Add the following to <system.webserver> in Web.Config:

<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true"/>
<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>