I'm trying to troubleshoot why the search functionality of my site is not working. So I went to the application log and found this:
WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/50846296 Exception: System.ServiceModel.ServiceActivationException: The service '/IndexingService/IndexingService.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. Parameter name: item. ---> System.ArgumentException: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection.
Not sure if it's related to my search issue but thought to fix this issue first. I have several of these when my site is running.
Do you have multiple bindings in IIS for this application? Try to remove all but one and see if it helps. If you absolutely must have multiple bindings, maybe this could work:
I've been trying to make the multiple bindings work since yesterday.
Removing all bindings but one did the trick. I'll just worry about multiple bindings some other time.