Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1061807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:31:40+00:00 2026-05-16T18:31:40+00:00

I am having problem with my WCF (which has client and server certificates) Exception:

  • 0

I am having problem with my WCF (which has client and server certificates)

Exception:

System.ServiceModel.ServiceActivationException:
The requested service,
‘http://localhost/CustomerServiceSite/Customer.svc‘
could not be activated. See the
server’s diagnostic trace logs for
more information..

Error Stack trace:

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&
msgData, Int32 type)
System.ServiceModel.ICommunicationObject.Open(TimeSpan
timeout)
System.ServiceModel.ICommunicationObject.Open(TimeSpan
timeout) Open()

Dignostics settings (inside system.serviceModel)

<diagnostics>
  <messageLogging logEntireMessage="true" logMalformedMessages="true"
  logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" />
</diagnostics>

Where can I see diagnostics errors? Someone know what could be the problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T18:31:40+00:00Added an answer on May 16, 2026 at 6:31 pm

    That configuration won’t be sufficient for logging those error messages.

    What you need is two-fold – first the part inside <system.serviceModel> that you already have, to instruct WCF to do logging.

    But you also need a second part – inside <system.diagnostics> – to define where to log that information to! Something like this:

    <system.diagnostics>
        <sources>
            <source name="System.ServiceModel.MessageLogging" switchValue="Information, ActivityTracing">
               <listeners>
                 <add name="messages"
                 type="System.Diagnostics.XmlWriterTraceListener"
                 initializeData="c:\logs\messages.svclog" />
              </listeners>
            </source>
        </sources>
        <trace autoflush="true" />
    </system.diagnostics>
    

    There are a few different log listeners defined in the System.Diagnostics namespace – this one here will be logging the information to a XML-based *.svclog file, which you can then view and analyze using the Service Trace Viewer Tool.

    Read more about Configure Message Logging on MSDN.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created an application which has a client (WPF) and the Server (WCF),
We've been building an application which has 2 parts. Server Side: A WCF service,
I'm having a problem at work in that our app which uses WCF for
I'm having a problem with a WCF service trying to consume it from Java.
I am having a problem creating a WCF service instance with a parameter. The
I am having a minor problem with WCF service proxies where the message contains
I have a self-hosted WCF service and I'm having the following problem: 15 minutes
The problem I am having connecting a wcf client application to a host running
I'm having a problem with a .NET WCF client connecting to a Java web
I'm having a problem with setting up a WCF web service integration with a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.