如果用IIS6发布,需要在<System.Web>标签中添加下面代码,如果是在IIS7中发布网站,则需要在<System.WebServer>标签中添加
<httpHandlers>
<add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2"/>
</httpHandlers>
转载于:https://www.cnblogs.com/li12fei12/archive/2012/06/27/2566129.html