Asp.Net Ajax WebService und interner Fehler 500

Ich kann den Webserver mit der folgenden URL direkt im Browser aufrufen und er gibt alles zurück, was ich will:

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

Wenn ich es einem Autocompleteexetender in der Default.aspx-Seite so hinzufüge:

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

Beim Laden der Seite habe ich ein Textfeld, aber jedes Mal, wenn ich einen Tastenanschlag in das Textfeld einfüge, wird ein Fehler von 500 angezeigt. Ich sehe den Fehler im FireFox FireBug.

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

Alternativtext http://clip2net.com/clip/m12122/1269451120-clip-2kb.png -> Das ist der Fehler

Irgendeine Idee? Ich habe festgestellt, dass ich den Prozess anhängen muss, um den Webservice zu debuggen. Kann ich auch etwas falsch machen?

Bearbeiten (Ereignisanzeige)

Wenn ich zur Ereignisanzeige meines Computers gehe. Ich kann es sehen :

Exception information: 
    Exception type: InvalidOperationException 
    Exception message: Request format is unrecognized for URL unexpectedly ending in '/GetCompletionList'. 


    Thread information: 
    Thread ID: 8 
    Thread account name: MTL\daok 
    Is impersonating: False 
    Stack trace:    at     System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
   at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Ich muss auch zuerst das Webservice-Projekt starten, dann stoppe ich es und starte das Webprojekt, um beides zu haben. Der Webservice funktioniert immer noch (ich kann ihn direkt auslösenhttp: // localhost: 64438 / MySearchAutoComplete.asmx? op = GetCompletionList) aber auf der Webseite habe ich noch den Fehler 500.

Edit 2 (Web.config)

Hinzufügen zum Webservice-Projekt web.config:

  <webServices>
    <protocols>
      <add   name="HttpGet"/>
      <add   name="HttpPost"/>
    </protocols>
  </webServices>

Habe das Problem nicht gelöst.

Bearbeiten 3 (Direktanruf)

Das Aufrufen der Page Load () -Methode aus dem WebService funktioniert sehr gut:

     string[] stuffs;
     stuffs = proxy.GetCompletionList("1", 10);
     MyList.DataSource = stuffs;
     MyList.DataBind();

Aber es funktioniert nicht mit dem AutoCompleteExtender ...

Antworten auf die Frage(2)

Ihre Antwort auf die Frage