Indexing Service and windows authentication

Vote:
 

Hi! I've installed the Indexing Service and it works in my dev environment where we have Forms Authentication. However, in our test environment where we use Windows Authentication I get the following error when browsing to the service URL:

[ServiceActivationException: The service '/IndexingService/IndexingService.svc' cannot be activated due to an exception during compilation. The exception message is: The authentication schemes configured on the host ('IntegratedWindowsAuthentication') do not allow those configured on the binding 'WebHttpBinding' ('Anonymous'). Please ensure that the SecurityMode is set to Transport or TransportCredentialOnly

If I add <security mode="Transport"> to the binding I get the following error:

[ServiceActivationException: The service '/IndexingService/IndexingService.svc' cannot be activated due to an exception during compilation. The exception message is: Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. Registered base address schemes are[http]..]

 

Is there a way to use the Indexing Service without having to enable Forms Login or https?

#83098
Mar 25, 2014 16:46
Vote:
 

If I am not mistaken, I think you need to enable basic authentication for this to work.  I remember awhile back running into an issue similar, if not the same where i had to enable basic authentication.  Give that a whirl and see if that eases the pain.

#83101
Mar 25, 2014 18:18
Vote:
 

No, I still get this after enabling Basic authentication in IIS:

Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. Registered base address schemes are [http]..
#83125
Mar 26, 2014 10:51
Vote:
 

You have to set anonymous access on that file (can be done in IIS or in web.config)
Here is a good blog post on how to set this up

http://sveinaandahl.blogspot.se/2013/06/how-to-install-episerver-search-for.html

#83127
Mar 26, 2014 11:35
Vote:
 

Thanks, that in combination with removing <security mode="Transport"> did the trick!

#83134
Mar 26, 2014 12:54
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.