c# - WCF debugging not able to understand -
i trying debug custom self hosted wcf service on production server (no visual studio, nothing..) modified wcf service web.config , added tracelistener described here, getting entries this, makes no sense
<e2etraceevent xmlns="http://schemas.microsoft.com/2004/06/e2etraceevent"> <system xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"> <eventid>524324</eventid> <type>3</type> <subtype name="verbose">0</subtype> <level>16</level> <timecreated systemtime="2014-06-27t13:55:07.6585544z"/> <source name="system.servicemodel"/> <correlation activityid="{00000000-0000-0000-0000-000000000000}"/> <execution processname="w3wp" processid="4564" threadid="6"/> <channel/> <computer>server-name</computer> </system> <applicationdata> <tracedata> <dataitem> <tracerecord xmlns="http://schemas.microsoft.com/2004/10/e2etraceevent/tracerecord" severity="verbose"> <traceidentifier>http://msdn.microsoft.com/en-gb/library/system.servicemodel.getconfigurationsection.aspx</traceidentifier> <description>get configuration section.</description> <appdomain>/lm/w3svc/2/root/selfiehostie-1-1304834290733034307</appdomain> <extendeddata xmlns="http://schemas.microsoft.com/2006/08/servicemodel/stringtracerecord"> <configurationsection>system.servicemodel/servicehostingenvironment</configurationsection> </extendeddata> </tracerecord> </dataitem> </tracedata> </applicationdata> </e2etraceevent>
error getting
getting 500 , first 1024 bytes of response, possible more bytes see real error ?
or
what above verbose errors means ?
how find out why wcf service failing ?
have tried viewing trace.svclog file in microsoft service trace viewer? easier locate error way, , shows information in compact form.
if cannot use tool - try <exception>
tag in trace.
500 server error indicates error on server side, example server thrown exception.
edit: can try increase maximum logged message size:
<system.servicemodel> <diagnostics> <messagelogging logmessagesattransportlevel="true" logmessagesatservicelevel="false" logmalformedmessages="true" logentiremessage="true" maxsizeofmessagetolog="100000" maxmessagestolog="100000" /> </diagnostics>
Comments
Post a Comment