service IndexingService.svc cannot be activated

Vote:
 

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.

#52586
Aug 04, 2011 1:17
Vote:
 

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:

http://blogs.msdn.com/b/rampo/archive/2008/02/11/how-can-wcf-support-multiple-iis-binding-specified-per-site.aspx

#52587
Aug 04, 2011 7:40
Vote:
 

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.

Thanks!

#52608
Aug 05, 2011 3:26
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.