我在页面中有两个文本框,每个文本框都使用ASP.Net Ajax Autocompleteextender控件。
asp:TextBox ID =“txtLastName”runat =“server”CssClass =“PlainText” MaxLength =“50”
Ajax:autocompleteextender id =“aceLastName”runat =“server”targetcontrolid =“txtLastName” servicepath =“〜/ AjaxService / Predictive.svc”servicemethod =“GetLastName”minimumprefixlength =“1” completioninterval =“100”completionsetcount =“8”EnableCaching =“False”
asp:TextBox ID =“txtFirstName”runat =“server”CssClass =“PlainText” 的MaxLength = “50” Ajax:autocompleteextender id =“aceFirstName”runat =“server”targetcontrolid =“txtFirstName” servicepath =“〜/ AjaxService / Predictive.svc”servicemethod =“GetFirstName”minimumprefixlength =“1” completioninterval =“100”completionsetcount =“8”EnableCaching =“False”
然而,在突然输入某些字符后,Autocompleteextender会停止工作。刷新页面后,我得到HTTP 403.9 - 禁止访问:连接的用户太多Internet信息服务
答案 0 :(得分:0)
发现我没有关闭与Web服务的连接,每次按键都会打开一个新的连接。