Autocompleteextender - HTTP 403.9 - 访问被禁止:连接的用户过多 Internet 信息服务
我在一个页面中有两个文本框,每个文本框都使用 ASP.Net Ajax Autocompleteextender 控件。
asp:TextBox ID="txtLastName" runat="服务器" CssClass="PlainText" MaxLength =“50”
Ajax:autocompleteextender id =“aceLastName”runat =“服务器”targetcontrolid =“txtLastName” servicepath =“~/AjaxService/Predictive.svc”servicemethod =“GetLastName”minimumprefixlength =“1” completioninterval=“100”completionsetcount=“8”EnableCaching=“False”
asp:TextBox ID=“txtFirstName”runat=“服务器”CssClass=“PlainText” 最大长度=“50” Ajax:autocompleteextender id =“aceFirstName”runat =“服务器”targetcontrolid =“txtFirstName” servicepath =“~/AjaxService/Predictive.svc”servicemethod =“GetFirstName”minimumprefixlength =“1” completioninterval=“100”completionsetcount=“8”EnableCaching=“False”
但是,在突然输入某些字符后,Autocompleteextender 停止工作。刷新页面后,我收到 HTTP 403.9 - 访问被禁止:连接的用户太多 Internet 信息服务
I have two textbox in a page each uses ASP.Net Ajax Autocompleteextender control.
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"
However after typing certain characters all of a sudden Autocompleteextender stops working. Upon refresing the page i get HTTP 403.9 - Access Forbidden: Too many users are connected Internet Information Services
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
发现我没有关闭与网络服务的连接,因此每次按下按键都会打开一个新连接。
Found that I was not closing connection to webservice, so with each key press it was opening a new connection.