title: webservice returns HTTP error 500 after deployment
body: <p>I have a webservice (ASMX) which I have tested locally using built-in VS web server. It works fine in the Dev environment, and there was no configuration of anything in IIS for this kind of webservice to work. </p>
  
  <p>Today when I deployed my site on the live server, I got a 500 error when the webservice is being called. The website doesn't work, and unfortunately the client did not test this on staging (same server) </p>
  
  <p>Here's the sample call to my service.</p>
  
  <pre><code>         $.ajax({
             type: "POST",
             url: 'http://www.mydomain.com/services/someservice.asmx/MyMethod',
             data: "someid=564",   
             dataType: "xml",            
             success: function(msg){
  
           }
  </code></pre>
  
  <p>In Firebug, <a href="http://www.mydomain.com/services/someservice.asmx/MyMethod" rel="nofollow">http://www.mydomain.com/services/someservice.asmx/MyMethod</a> returns <code>error 500 internal server</code>.</p>
  
  <p>I called the service using jQuery AJAX, the live server is Windows Server 2008 Standard.</p>
  
  <p>Could someone point out what the problem might be, more troubleshooting points, and how to remedy this?</p>