使用Ajax.net后,发现好像不支持Forms验证的.只要加上
<authentication mode="Forms">
  <forms name=".ASPXFORMSAUTH" protection="All" loginUrl="loginForm.aspx" timeout="20" path="/">
  </forms>
</authentication>
<authorization>
  <allow roles="Gov"/>
  <deny users="*"/>
</authorization>
<location path="Prescription_Detail_ajax.aspx">
  <system.web>
    <httpHandlers>
      <add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2"/>
    </httpHandlers>
    <authorization>
      <allow users="*"/>
    </authorization>
  </system.web>
</location>
之后就运行不起来了 主要是<deny users="*"/>这句!
求高人指点