|
|
Rank: Guest Groups: Guest
Joined: 11/18/2007 Posts: 15
|
When i try my example with your autosuggest like this: http://localhost/myProject/default.aspx it works and returns suggestions. But when i try this: http://MYPCNAME/myProject/default.aspx it won't return suggestions, i think it won't even call a webservice. Any idea how to fix this?
This example doesn't work on IIS on windows server 2003. It also doesn't work on IIS on XP when i call it from different computer.
|
|
Rank: Administration Groups: Administration
Joined: 11/18/2007 Posts: 23
|
Hi I think it happens because the GET and POST are disabled by default when acessing a webservice not from local. to fix this you need to add this in you web.config file: in web.config file find the <system.web> section and add <webServices> <protocols> <add name="HttpSoap"/> <add name="HttpPost"/> <add name="HttpGet"/> <add name="Documentation"/> <add name="HttpPostLocalhost"/> </protocols> </webServices>
under it for example check the demo application web.config.
Thanks
|
|
Rank: Guest Groups: Guest
Joined: 11/18/2007 Posts: 15
|
This solved the problem. THANKS A LOT!!!! :). Keep up the good work.
|
|
Rank: Guest Groups: Guest
Joined: 11/18/2007 Posts: 15
|
colorado daily news yahoo,
|
|
Rank: Guest Groups: Guest
Joined: 11/18/2007 Posts: 15
|
I put some logic in to handle the onFailure event and found my issue, I had a letter with the wrong case in the Url. I however am now working on a new issue, IE is throwing a System.InvalidOperationException: Missing parameter: value .....
|
|
Rank: Administration Groups: Administration
Joined: 11/18/2007 Posts: 23
|
Hi FYI You can put a debug console on your page. Just add this code on the page where the autocomplete control is Quote:<textarea id='debugConsole' cols='100' rows='30' ></textarea> as for System.InvalidOperationException I guess that something wrong with your serverside code. Can you post your code here? Thanks
|
|
|
|
|
Guest |