Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 Other Forums
 ClearTrace Support Forum
 Exception in ClearTraceCmd
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

13 Posts

Posted - 04/09/2012 :  00:39:41  Show Profile  Reply with Quote

I'm trying to execute cleartracecmd with a wildcard in the /F option - all traces are created using the same script and don't seem to be broken in any way (i.e. they open in profiler and show nicely). It seems like when Cleartrace starts analyzing the 2nd file which could be any file, it fails. It doesn't fail with the first file it touches.

Any idea?

The exception is:

Unhandled Exception: Microsoft.SqlServer.Management.Trace.SqlTraceException: Failed to find column ordinal.
at Microsoft.SqlServer.Management.Trace.TraceReader.GetOrdinal(String name)
at ClearData.ClearTrace.TraceDimension.GetIndex(IDataReader traceFile, String
at ClearData.ClearTrace.SqlTrace.ProcessFiles(BackgroundWorker worker, DoWorkEventArgs eventArgs)
at ClearData.ClearTrace.ConsoleApp.Program.Main(String[] args)

  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000