title: Getting error when I am trying to upload WCF application to the server
body: <p>I am trying to host my WCF application on a web server. I am getting this error, but it is working fine in my local system</p>
  
  <p><strong>Error</strong></p>
  
  <blockquote>
    <p>This collection already contains an address with scheme http.  There
    can be at most one address per scheme in this collection. If your
    service is being hosted in IIS you can fix the problem by setting
    'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled'
    to true or specifying
    'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.</p>
    
    <p>Parameter name: item </p>
    
    <p><strong>Description:</strong> An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more
    information about the error and where it originated in the code. </p>
    
    <p><strong>Exception Details:</strong> System.ArgumentException: This collection already contains an address with scheme http.  There can be at most
    one address per scheme in this collection. If your service is being
    hosted in IIS you can fix the problem by setting
    'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled'
    to true or specifying
    'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.
    Parameter name: item</p>
    
    <p><strong>Source Error:</strong> </p>
    
    <p>An unhandled exception was generated during the execution of the
    current web request. Information regarding the origin and location of
    the exception can be identified using the exception stack trace below.</p>
    
    <p><strong>Stack Trace:</strong> </p>
    
    <p>[ArgumentException: This collection already contains an address with
    scheme http.  There can be at most one address per scheme in this
    collection. If your service is being hosted in IIS you can fix the
    problem by setting
    'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled'
    to true or specifying
    'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.
    Parameter name: item]<br>
    System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index,
    Uri item) +12089046<br>
    System.Collections.Generic.SynchronizedCollection`1.Add(T item) +78<br>
    System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses)
    +72    System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses) +141<br>
    System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(Type
    serviceType, Uri[] baseAddresses) +30<br>
    System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String
    constructorString, Uri[] baseAddresses) +420<br>
    System.ServiceModel.HostingManager.CreateService(String
    normalizedVirtualPath) +1440<br>
    System.ServiceModel.HostingManager.ActivateService(String
    normalizedVirtualPath) +44<br>
    System.ServiceModel.HostingManager.EnsureServiceAvailable(String
    normalizedVirtualPath) +615</p>
    
    <p>[ServiceActivationException: The service '/GUIService.svc' cannot be
    activated due to an exception during compilation.  The exception
    message is: This collection already contains an address with scheme
    http.  There can be at most one address per scheme in this collection.
    If your service is being hosted in IIS you can fix the problem by
    setting
    'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled'
    to true or specifying
    'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.
    Parameter name: item.]    System.Runtime.AsyncResult.End(IAsyncResult
    result) +679246<br>
    System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult
    result) +190<br>
    System.ServiceModel.Activation.ServiceHttpModule.EndProcessRequest(IAsyncResult
    ar) +300622<br>
    System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult
    ar) +8837348</p>
  </blockquote>
  
  <p>Can any one help me to resolve this issue.</p>