Problem to open svcTrace file : Unexpected end of file has occurred ... RRS feed

  • Question

  • Hi

    when I start tracing of wcf service, it create an error.svclog file, but when I open it, facing this error :

    Trace Record Errors
    Unexpected end of file has occurred. Line 107, position 178383

    Where is the problem and how to solve it ?

    thanks in advance

    Thursday, July 9, 2015 1:43 AM


  • Hello Hamed_1983,

    This most likely is because the file you are opening is currently being written to and its content has partially been flushed to disk.  If you want to view files while the process is running then try putting the autoflush on to see if this helps.  Stopping the process (or restarting the app pool) will cause the flush to happen also.


    Thursday, July 9, 2015 11:29 PM