I'm using the AutocompleteExtender of AjaxControlToolkit.
locally it works (localhost) but in production It doesn't.
I receive HTTP/1.1 500 Internal Server Error and jsonError=true
The following is the webservice method signature:
Expand|Select|Wrap|Line Numbers
- [WebMethod]
- [ScriptMethod]
- public string[] GetSitesIdNameByPartialName(string prefixText, int count)
Expand|Select|Wrap|Line Numbers
- <asp:AutoCompleteExtender ID="txtNames"
- runat="server"
- TargetControlID="txtNames_input"
- ServicePath="~/Services/ws.asmx"
- ServiceMethod="GetSitesIdNameByPartialName"
- CompletionSetCount="100"
- MinimumPrefixLength="2"
- CompletionInterval="200"
- EnableCaching="true"
- ShowOnlyCurrentWordInCompletionListItem="true"
- OnClientItemSelected="autoCompleteItemSelected"
- CompletionListCssClass="completeListStyle"
- CompletionListItemCssClass="completeListItemStyle"
- >
What is the problem ?
Thanks,
Yair