After fresh install of sharepoint server 2010 on Windows server 2008 r2 sp1 all web services doesn't work. When I try to open for example TokenService if shows me exception:
Extension: System.ServiceModel.Channels.TransportSecurityBindingElement Error: Security policy export failed. The binding contains a TransportSecurityBindingElement but no transport binding element that implements ITransportTokenAssertionProvider
After googling I found that I need to install hot fix: http://support.microsoft.com/kb/971493
But I can't install it. It shows: The update is not applicable to your computer. In event log: Windows update could not be installed because of error 2149842967
As I understand sp1 has newer version of this hot fix. After that I tried to implement my custom transport which implements ITransportTokenAssertionProvider.
(MSDN Article)
After changing transport error has gone but a new one occurs:
*The 'CustomBinding_'.'http://tempuri.org/' binding for the ''.'http://schemas.microsoft.com/sharepoint/taxonomy/soap/' contract is configured with an authentication mode that requires transport level integrity and confidentiality. However the transport cannot provide integrity and confidentiality.*
After adding enableUnsecuredResponse="true"
to web config new error:
The communication object, System.ServiceModel.ChannelFactory`1[], cannot be used for communication because it is in the Faulted state.
How can I fix that?