打开AjaxControlToolkit.sln中的webconfig.xml对比下发现少了下面的代码
加上就好了.
 
<httpHandlers>
   <remove verb="*" path="*.asmx"/>
   <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
   <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
   <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
  </httpHandlers>
  <httpModules>
   <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  </httpModules>

在Webconfig里面加上就好了.

相关文章:

  • 2021-12-31
  • 2022-02-19
  • 2021-10-30
  • 2021-12-11
  • 2021-08-19
  • 2021-06-13
  • 2022-02-12
猜你喜欢
  • 2021-05-30
  • 2021-12-26
  • 2021-11-26
  • 2022-12-23
  • 2021-11-16
  • 2021-09-19
  • 2021-07-19
相关资源
相似解决方案