title: HTTP Error 404.0 - Not Found IIS 7.5
body: <p>I have an WCF web service that I was able to call from an Android application in Visual Studio IIS server, but now after publishing the service in my local IIS server when I try to make a call from the application I receive the following error as response:
  "HTTP Error 404.0 - The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."
  <strong>The ISAPI and CGI restrictions are all allowed</strong>
  *<em>Calling the service from the URL in browser works normally</em>*
  This is the first time that I try to make a service publication, any help will be welcome.</p>
  
  <p>My web.config file:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
    &lt;system.web&gt;
      &lt;compilation debug="true" /&gt;
    &lt;/system.web&gt;
    &lt;connectionStrings&gt;
      &lt;add name="VendasEntities" connectionString="metadata=res://*/DataModel.csdl|res://*/DataModel.ssdl|res://*/DataModel.msl;provider=MySql.Data.MySqlClient;provider connection string=&amp;quot;server=SERVER IP;User Id=user;password=pass;Persist Security Info=True;database=database&amp;quot;" providerName="System.Data.EntityClient" /&gt;
    &lt;/connectionStrings&gt;
    &lt;system.serviceModel&gt;
      &lt;behaviors&gt;
        &lt;endpointBehaviors&gt;
          &lt;behavior name="httpBehavior"&gt;
            &lt;webHttp /&gt;
          &lt;/behavior&gt;
        &lt;/endpointBehaviors&gt;
        &lt;serviceBehaviors&gt;
          &lt;behavior name=""&gt;          
            &lt;serviceMetadata httpGetEnabled="true"/&gt;          
            &lt;serviceDebug includeExceptionDetailInFaults="false"/&gt;
          &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
      &lt;/behaviors&gt;
      &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true" /&gt;
      &lt;services&gt;
        &lt;service name="FreedomVendasService.VendasService"&gt;
          &lt;endpoint address="" behaviorConfiguration="httpBehavior" binding="webHttpBinding" contract="FreedomVendasService.IVendasService" /&gt;
        &lt;/service&gt;
      &lt;/services&gt;
    &lt;/system.serviceModel&gt;
   &lt;system.webServer&gt;
      &lt;modules runAllManagedModulesForAllRequests="true"/&gt;
    &lt;/system.webServer&gt;
  
    &lt;system.diagnostics&gt;
      &lt;sources&gt;
        &lt;source name="System.ServiceModel"
                switchValue="Information, ActivityTracing"
                propagateActivity="true"&gt;
          &lt;listeners&gt;
            &lt;add name="traceListener"
                type="System.Diagnostics.XmlWriterTraceListener"
                initializeData= "c:\log\Traces.svclog" /&gt;
          &lt;/listeners&gt;
        &lt;/source&gt;
      &lt;/sources&gt;
    &lt;/system.diagnostics&gt;
    &lt;host&gt;    
      &lt;baseAddresses&gt;      
        &lt;add baseAddress = "http://localhost/VendasService" /&gt;
      &lt;/baseAddresses&gt;
    &lt;/host&gt;
  &lt;/configuration&gt;
  </code></pre>