﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Administering / SQL Server 2005  / Create trace problem / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 20 Jun 2013 06:25:24 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Create trace problem</title><link>http://www.sqlservercentral.com/Forums/Topic1034476-146-1.aspx</link><description>You can try stopping and closing the trace. Then try again. I am not sure what your whole trace setup looks like, but you need to add events, columns, filters, etc. Here is an article that goes into the basics of tracing with SQL commands:[url=http://www.sqloptimizationsschool.com/Pages/Tracking%20Performance/Performance%20Tracing.aspx]SQL Performance Trace[/url]Microsoft's articles are really good as well.</description><pubDate>Wed, 20 Jul 2011 15:37:36 GMT</pubDate><dc:creator>jasonwi1202</dc:creator></item><item><title>RE: Create trace problem</title><link>http://www.sqlservercentral.com/Forums/Topic1034476-146-1.aspx</link><description>Can you please post the script I want to see a sample so I can modify the file size</description><pubDate>Wed, 20 Jul 2011 14:16:29 GMT</pubDate><dc:creator>allamiro</dc:creator></item><item><title>RE: Create trace problem</title><link>http://www.sqlservercentral.com/Forums/Topic1034476-146-1.aspx</link><description>Thanks.</description><pubDate>Fri, 17 Dec 2010 08:03:27 GMT</pubDate><dc:creator>ramadesai108</dc:creator></item><item><title>RE: Create trace problem</title><link>http://www.sqlservercentral.com/Forums/Topic1034476-146-1.aspx</link><description>I'm not familiar with that tool. I use SQL profiler to open the .trc file</description><pubDate>Wed, 15 Dec 2010 09:28:03 GMT</pubDate><dc:creator>homebrew01</dc:creator></item><item><title>RE: Create trace problem</title><link>http://www.sqlservercentral.com/Forums/Topic1034476-146-1.aspx</link><description>It is working and it is now creating the files. I have not made any changes since yesterday and this morning it is working and i have no clue why. But now when I try to open the trace file it gives me a message "There was a problem sending the command to the program". It is trying to open the file thru ATL/MFC Trace Tool. Any ideas?Thanks for your time.</description><pubDate>Wed, 15 Dec 2010 05:32:17 GMT</pubDate><dc:creator>ramadesai108</dc:creator></item><item><title>RE: Create trace problem</title><link>http://www.sqlservercentral.com/Forums/Topic1034476-146-1.aspx</link><description>When you run this: select * from sys.tracesWhat is in "path" ?</description><pubDate>Tue, 14 Dec 2010 13:42:26 GMT</pubDate><dc:creator>homebrew01</dc:creator></item><item><title>RE: Create trace problem</title><link>http://www.sqlservercentral.com/Forums/Topic1034476-146-1.aspx</link><description>The trace is running but it does not create the file.</description><pubDate>Tue, 14 Dec 2010 13:14:23 GMT</pubDate><dc:creator>ramadesai108</dc:creator></item><item><title>RE: Create trace problem</title><link>http://www.sqlservercentral.com/Forums/Topic1034476-146-1.aspx</link><description>Did you remember to turn the trace on?  sp_trace_setstatus needs to be run to turn it on.  Till you do that, it won't create any files.</description><pubDate>Tue, 14 Dec 2010 10:09:29 GMT</pubDate><dc:creator>GSquared</dc:creator></item><item><title>RE: Create trace problem</title><link>http://www.sqlservercentral.com/Forums/Topic1034476-146-1.aspx</link><description>Sounds like you already have a trace running that's outputting to your desired filename.What are the results of:  select * from sys.traces</description><pubDate>Tue, 14 Dec 2010 09:55:07 GMT</pubDate><dc:creator>homebrew01</dc:creator></item><item><title>Create trace problem</title><link>http://www.sqlservercentral.com/Forums/Topic1034476-146-1.aspx</link><description>I am trying to create a trace using the following where @outputfilename is "\\mycomputer\mysharedfolder\tracefilename"exec @rc = sp_trace_create @TraceID output, 0, @OutputFileName, @MaxFileSize, @EndTimeThe problem is that it does not create the file in that location and yet the trace is running on the serveI have given full permission to "everyone" on that folder.If I create a file named "tracefilename.trc" manually and then run the trace, it gives me a message that the file already exists.Any ideas???Thanks.</description><pubDate>Tue, 14 Dec 2010 08:34:03 GMT</pubDate><dc:creator>ramadesai108</dc:creator></item></channel></rss>