July 7, 2004 at 1:51 pm
I have created a trace template in SQL Profiler and saved it as viewConnect.tdf. Now I would like to open it and run it. But when I click on open, it takes me to the trace template properties General tab. The only option available to me here is "save as". None of the 4 tabs has a run option. In fact I can't even open/run the built in trace templates.
I know their is a simple explanation, but any help would be greatly appreciated. Thanks in advance!
July 7, 2004 at 11:20 pm
Profiler Trace Templates contain the information you would like Profiler to trace, but they do not include login credentials or server names. That way, trace templates can be used on any SQL Server.
In order to run a trace template you've created, you have two options:
1- You can manually run Profiler, log into the server, and then select the template from the "Template Name" drop-down list.
2- You can create a shortcut to Profiler that launches the trace template. Profiler supports command-line parameters similar to that found in ISQL.EXE.
To launch the trace template, create a new shortcut to Profiler with the following Target:
Profiler.exe /Smyserver /E /Tc:\path\tracefile.tdf
Now when you right-click a TDF file, you'll see "Start Trace" as a new option. Select it and you're on your way.
David Gugick
Imceda Software
--
David Gugick
Dir. Architecture & Design, Quest Software
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply