wcf trying to set up tracing to debug, not writing to log file
Posted
by joey j
on Stack Overflow
See other posts from Stack Overflow
or by joey j
Published on 2010-05-17T16:02:02Z
Indexed on
2010/05/17
17:00 UTC
Read the original article
Hit count: 307
wcf
here's my web.config, running a WCF service in an application on IIS7, but nothing is being written to the specified file. permission on the file has been granted for everyone.
</listeners>
I can add a service reference just fine.
I then try to call the service from a windows app and, after a few minutes, get an error on the machine running the windows app "Client is unable to finish the security negotiation within the configured timeout (00:00:00). The current negotiation leg is 1 (00:00:00)."
but absolutely nothing is written to the trace log file specified in config.
Is there something else I need to do to enable tracing? thanks for your help
EDIT: "sources" section now matches the section recommended here: http://msdn.microsoft.com/en-us/library/aa702726.aspx
I've added the "diagnostics
and the event viewer shows: "Message Logging has been turned on. Sensitive information may be logged in the clear, even if it was encrypted on the wire: for example, message bodies. Process Name: w3wp Process ID: 1784 "
but the log file is still empty
© Stack Overflow or respective owner