Error: If you get below error while accessing the WCF service
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 Solution: Modify the service host web.config file to following, here the important setting is
multipleSiteBindingsEnabled <system.serviceModel>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" >
</serviceHostingEnvironment>
</system.serviceModel>
Thanks
Regards,
Sheo Narayan
http://www.dotnetfunda.com