It might occur that you have developed a WCF service, which works perfectly on your development environment, but gives the following error when it is deployed on your hosting environment:
"This collection already contains an address with scheme http. There can be at most one address per scheme in this collection."
A workaround for this problem has been described in this MSDN forum topic (in the second to last post). By modifying specific values for the serviceHostingEnvironment node, as presented in the code example below, the WCF service should also run on your development environment :
<system.serviceModel>
<serviceHostingEnvironment>
<baseAddressPrefixFilters>
<add prefix="http://www.example.com"/>
</baseAddressPrefixFilters>
</serviceHostingEnvironment>
</system.serviceModel>
Regards, Wez.
b847ecc8-fc8a-4cc4-9d55-c14df1ad6aa7|1|5.0