title: WCF Service ajax method call returns 404
body: <p>I have deployed a WCF service to SharePoint and on my own machine everything works fine. Navigating to the .svc works and, as expected, navigating to <code>service.svc/Operation</code> generates a <em>"method not allowed message"</em>. Posting to the service using jQuery also works perfectly on my own machine.</p>
  
  <p>However, when my colleague gets the latest version from source control and deploys the feature, he can navigate to the .svc allright, but navigating to <code>service.svc/Operation</code> generates a 404, and off course posting wiht jQuery doesn't work either.</p>
  
  <p>I am thinking this has to do with something I <em>did</em> configure on my machine (and forgot afterwards :-S) and my colleague <em>did not</em> configure yet. We did run <code>ServiceModelReg -i</code> on his machine.</p>
  
  <p>The .svc file looks like this:</p>
  
  <pre><code>&lt;%@ ServiceHost Language="C#" Debug="true" Service="NameSpace.ServiceName" Factory="System.ServiceModel.Activation.WebScriptServiceHostFactory" %&gt;
  </code></pre>
  
  <p>The service's assembly is loaded in the web.config's assemblies section and is loaded (break points are red when debugging).</p>
  
  <p><strong>Edit: Anyone?</strong></p>