G
Guest
Hello,
I have an ajax autocomplete extented on a page and it works just fine in the
ASP .net Development Server, but after I put it on an IIS server it doesn't
work anymore. Here's the code I have:
Start.aspx:
<ajaxToolkit:AutoCompleteExtender
runat="server"
BehaviorID="AutoCompleteEx"
ID="autoComplete1"
TargetControlID="txtSearch"
ServicePath="AutoCompleteWS.asmx"
ServiceMethod="AutoCompleteExplorableObjects"
MinimumPrefixLength="2"
CompletionInterval="1000"
EnableCaching="true"
CompletionSetCount="20"
CompletionListCssClass="autocomplete_completionListElement"
CompletionListItemCssClass="autocomplete_listItem"
CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
DelimiterCharacters=";, :">
AutoCompleteWS.asmx:
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.Web.Script.Services.ScriptService]
public class AutoCompleteWS : System.Web.Services.WebService
{
[System.Web.Services.WebMethod]
[System.Web.Script.Services.ScriptMethod]
public string[] AutoCompleteExplorableObjects(string prefixText, int
count)
{
return BussinesLogic.AutoCompleteExplorableObjects(prefixText,
count);
}
}
Did anyone have this kind of problem and how can it be solved? Thanks!
I have an ajax autocomplete extented on a page and it works just fine in the
ASP .net Development Server, but after I put it on an IIS server it doesn't
work anymore. Here's the code I have:
Start.aspx:
<ajaxToolkit:AutoCompleteExtender
runat="server"
BehaviorID="AutoCompleteEx"
ID="autoComplete1"
TargetControlID="txtSearch"
ServicePath="AutoCompleteWS.asmx"
ServiceMethod="AutoCompleteExplorableObjects"
MinimumPrefixLength="2"
CompletionInterval="1000"
EnableCaching="true"
CompletionSetCount="20"
CompletionListCssClass="autocomplete_completionListElement"
CompletionListItemCssClass="autocomplete_listItem"
CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
DelimiterCharacters=";, :">
AutoCompleteWS.asmx:
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.Web.Script.Services.ScriptService]
public class AutoCompleteWS : System.Web.Services.WebService
{
[System.Web.Services.WebMethod]
[System.Web.Script.Services.ScriptMethod]
public string[] AutoCompleteExplorableObjects(string prefixText, int
count)
{
return BussinesLogic.AutoCompleteExplorableObjects(prefixText,
count);
}
}
Did anyone have this kind of problem and how can it be solved? Thanks!