Viewing post 1 (of 1 total)
When you create the trace, don't add ".trc' to the end of the name as sp_trace_create will also add it.
exec sp_trace_create @traceid = @traceid OUTPUT,
@options = 0,
@tracefile = 'C:\Temp\myTraceFile', --...
January 25, 2010 at 1:14 pm
#1108358