title: WCF service could not be activated
body: <p>I am having problem with my WCF (which has client and server certificates)</p>
  
  <p><strong>Exception:</strong></p>
  
  <blockquote>
    <p>System.ServiceModel.ServiceActivationException:
    The requested service,
    '<a href="http://localhost/CustomerServiceSite/Customer.svc" rel="nofollow noreferrer">http://localhost/CustomerServiceSite/Customer.svc</a>'
    could not be activated. See the
    server's diagnostic trace logs for
    more information..</p>
  </blockquote>
  
  <p><strong>Error Stack trace:</strong></p>
  
  <blockquote>
    <p>DoNegotiation(TimeSpan timeout)
    System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan
    timeout)
    System.ServiceModel.Security.TlsnegoTokenProvider.OnOpen(TimeSpan
    timeout)
    System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan
    timeout)
    System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout)
    System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeSpan
    timeout)
    System.ServiceModel.Security.SecurityUtils.OpenTokenProviderIfRequired(SecurityTokenProvider
    tokenProvider, TimeSpan timeout)
    System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan
    timeout)
    System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan
    timeout)
    System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout) OnOpen(TimeSpan timeout)
    System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout)
    System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation
    operation, EndpointAddress target, Uri
    via, SecurityToken currentToken,
    TimeSpan timeout)
    System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan
    timeout)
    System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan
    timeout)
    ClientSecuritySessionChannel.OnOpen(TimeSpan
    timeout)
    System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout)
    System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan
    timeout)
    System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout)
    System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
    reqMsg, IMessage retMsg)
    System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;
    msgData, Int32 type)
    System.ServiceModel.ICommunicationObject.Open(TimeSpan
    timeout)
    System.ServiceModel.ICommunicationObject.Open(TimeSpan
    timeout) Open()</p>
  </blockquote>
  
  <p><strong>Dignostics settings</strong> (inside system.serviceModel)</p>
  
  <pre><code>&lt;diagnostics&gt;
    &lt;messageLogging logEntireMessage="true" logMalformedMessages="true"
    logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" /&gt;
  &lt;/diagnostics&gt;
  </code></pre>
  
  <p>Where can I see diagnostics errors? Someone know what could be the problem?</p>