Asp.Net Ajax WebService and Internal Error 500

Posted by Daok on Stack Overflow See other posts from Stack Overflow or by Daok
Published on 2010-03-24T17:21:42Z Indexed on 2010/03/24 17:23 UTC
Read the original article Hit count: 342

Filed under:
|
|
|

I can call the webservie directly to the browser with the following URL and it returns be all what I want :

http://localhost:64438/MySearchAutoComplete.asmx/GetCompletionList

When I add it to an autocompleteexetender into the Default.aspx page like that :

<cc1:AutoCompleteExtender ID="AutoCompleteExtender1" 
                  TargetControlID="TextBox1" 
                  runat="server" 
                  ServiceMethod="GetCompletionList" 
                  ServicePath="http://localhost:64438/MySearchAutoComplete.asmx" 
                  CompletionSetCount="12"
                  MinimumPrefixLength="1" />

The page load, I have a textbox but I have an error 500 every time I add a keystroke in the textbox. I see the error in the FireFox FireBug.

http://localhost:62702/   --->This is the webpage that load fine 

alt text --> This is the error

Any idea? I have noticed that I need to attach the process to debug the webservice, I might do something wrong with it too?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about webservice