Groups | Blog | Home
all groups > visual studio .net enterprise tools > march 2004 >

visual studio .net enterprise tools : EIF. Remove trace file


OleOj
3/15/2004 6:36:07 AM
After using Trace Server I can't delete the trace file immediately after the service is stopped
I have to wait
mikehayt_ NO[at]SPAM online.microsoft.com
3/15/2004 7:53:08 PM
Im not sure I understand what the "service is stopped" exactly means.

Before you can delete the file, you'll need to stop the trace session.
To do this, you'll need to have the Trace Session Manager (service) started
and alter the TraceSessions.config and disable the session.
Then you'll need to wait for the Trace Session Manager to pick up the
altered file and process it (it checks every second, so I'd wait for two).
You should then be able to delete the file.

Hope this helps

Mike

--------------------
|
| After using Trace Server I can't delete the trace file immediately after
the service is stopped.
I have to wait.
Is this expected behavior ?
|

--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
AddThis Social Bookmark Button