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

  • Home
  • SEARCH
  • 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 3984604
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:47:24+00:00 2026-05-20T05:47:24+00:00

Anyone know a good tool to view the size of data being returned by

  • 0

Anyone know a good tool to view the size of data being returned by a WCF service? I tried using Redgates profiler but I can’t see where you can view the information about the payloads being sent back…

Thanks

Err – adding comments is a pain so I will just edit this question…

Essentially yes – I ended up adding tracing. Here is what I added to my .config file.

 <system.diagnostics>
<sources>
  <source name="System.ServiceModel" propagateActivity="true">
    <listeners>
      <add name="traceListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData= "{LogFile_BasePath}{LogFile_FileName}.svclog" />
    </listeners>
  </source>
  <source name="System.ServiceModel.MessageLogging">
    <listeners>
      <add name="messages" type="System.Diagnostics.XmlWriterTraceListener" initializeData="{LogFile_BasePath}{LogFile_FileName}.messages.svclog" />
    </listeners>
  </source>

</sources>

So – With that said it is really nice, I can see the unencrypted SOAP messages which is sweet but whenever I get one that is like + 22k I get this message

The trace record is not correct and cannot be loaded. This might be caused by one of the following reasons:
1. The source file has been changed, which affected the location of the loading trace.
2. There is no valid ending tag in the trace record.
3. The trace file goes wrong.

Trace record file offset: 3081471
Error trace record:

Hmm… It looks like number two is the problem? I am guessing? I am not sure – I know that everything is working I just want to figure out how I am why I am getting this? Is it something in the way I coded the method? I would fins that hard to believe, I would think it wouldn’t work at all, I am stuck on this one.

  • 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-20T05:47:25+00:00Added an answer on May 20, 2026 at 5:47 am

    Use built-in WCF Tracing: http://msdn.microsoft.com/en-us/library/ms733025.aspx.

    You can turn on tracing using the following configuration:

    <configuration>
       <system.diagnostics>
          <sources>
                <source name="System.ServiceModel" 
                        switchValue="Information, ActivityTracing"
                        propagateActivity="true">
                <listeners>
                   <add name="traceListener" 
                       type="System.Diagnostics.XmlWriterTraceListener" 
                       initializeData= "c:\log\Traces.svclog" />
                </listeners>
             </source>
          </sources>
       </system.diagnostics>
    </configuration>
    

    Specify the file to output in place of c:\log\Traces.svclog. Then you should be able to double-click the log file to open with SvcTraceViewer and easily see all of the requests and the payload contents and sizes.

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

Sidebar

Related Questions

Anyone know a good code analysis service or tool for vb.net? Like the one
Does anyone know any good tool that I can use to perform stress tests
Does anyone know a good tool that can be run on a page (for
Does anyone know of a good tool or plugin that enables Microsoft Word or
Does anyone know of a good tool to test load and stress on webservices?
Does anyone know of a good tool for laying out class diagrams and the
Does anyone know a good (preferably open source and cross platform) tool to allow
Does anyone know good example of using CSS to create rounded corner box where:
Does anyone know of a good tool for refactoring resources in a visual studio
Does anyone know of a good tool for cleaning up/formatting PHP files? I'd need

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.