SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

zzzbla
Starting Member

Israel
13 Posts

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

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
connectionString)
at ClearData.ClearTrace.SqlTrace.ProcessFiles(BackgroundWorker worker, DoWorkEventArgs eventArgs)
at ClearData.ClearTrace.ConsoleApp.Program.Main(String[] args)

Regards,
Saggi
  Previous Topic Topic Next Topic  
 New 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.42 seconds. Powered By: Snitz Forums 2000