title: Avoid This collection already contains an address with scheme http
body: <p>I have this issue:</p>
  
  <p>I have WebSite with asp.net pages.</p>
  
  <p><code>http://desiis:90/WebSite1</code></p>
  
  <p>In this webSite, I have a Service WCF (service1.svc).</p>
  
  <p><code>http://desiis:90/WebSite1/services/Service1.svc</code></p>
  
  <p>When I call to the service, I get this error: </p>
  
  <p><code>This collection already contains an address with scheme http</code></p>
  
  <p>In my localhost all is OK.</p>
  
  <p>any solution, please ??</p>
  
  <p>note: aspx page and WCF service is in the same web application is required</p>
  
  <p>My current scenario is that the ASPX web page use forms authentication and it will call a WCF service, and you want to let the forms authenticated identity be transfered to WCF service.</p>
  
  <p>1) if aspx page and WCF service is in the same web application, you can turn on AspNetCompatiblity mode for WCF so that the HttpContext will be available to WCF service operation code.</p>
  
  <p>thanks in advance, greetings</p>