Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
jdegaetani
Starting Member
9 Posts |
Posted - 2012-01-19 : 13:20:14
|
When running CT 2008.38 for the first time on a SQL 2005 test box, and entering the server name & database name, I was asked up upgrade the database. So I did (it's just a test box). It didn't seem to affect or change anything.Now I'm trying to import a production SQL 2008 R2 trace file onto the same SQL 2005 test box & I get the (Exception has been thrown by the target of an invocation.) error.So instead I attempted to run CT 2008.38 on the SQL 2008 R2 production box. After entering the server name & database name, CT want's to upgrade the database. What exactly is it upgrading? Now I get this when upgrading...******************************************************************************ClearTrace Error******************************************************************************Version: 2008.38.0Last Exception: Invalid object name 'dbo.CTTraceSummaryView'.Last Target Site: Void PopulateResults(Int32, System.String, System.String, System.String)******************************************************************************Exception Type: System.Data.SqlClient.SqlExceptionException Message: Invalid object name 'dbo.CTTraceSummaryView'. at ClearTraceGui.MainForm.PopulateResults(Int32 rows, String groupBy, String orderBy, String keyword) at ClearTraceGui.MainForm.ResetTrace(String traceName, Boolean populateResults) at ClearTraceGui.MainForm.ddlTraceToQuery_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at ClearTraceGui.MainForm.PopulateTraces(ComboBox comboBoxToPopulate, String traceName, String connectionString) at ClearTraceGui.MainForm.optionsToolStripMenuItem_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at ClearTraceGui.Program.Main() |
|
georgeg
Starting Member
1 Post |
Posted - 2013-07-26 : 12:17:27
|
******************************************************************************ClearTrace Error******************************************************************************Version: 2008.38.0Last Exception: Object reference not set to an instance of an object.Last Target Site: Int64 GetInt64(Int32)******************************************************************************Exception Type: System.Reflection.TargetInvocationExceptionException Message: Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Delegate.DynamicInvokeImpl(Object[] args) at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbacks() at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at ClearTraceGui.Program.Main()================================Inner Exception================================Exception Type: System.Reflection.TargetInvocationExceptionException Message: An exception occurred during the operation, making the result invalid. Check InnerException for exception details. at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary() at System.ComponentModel.RunWorkerCompletedEventArgs.get_Result() at ClearTraceGui.MainForm.backgroundWorker1_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e) at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e) at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)================================Inner Exception================================Exception Type: System.NullReferenceExceptionException Message: Object reference not set to an instance of an object. at Microsoft.SqlServer.Management.Trace.TraceReader.GetInt64(Int32 ordinal) at ClearData.ClearTrace.SqlTrace.ProcessFiles(BackgroundWorker worker, DoWorkEventArgs eventArgs) at ClearTraceGui.MainForm.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) |
|
|
brif
Starting Member
1 Post |
Posted - 2013-08-06 : 03:36:15
|
Hi !I have downloaded "ClearTrace.2008.38", "ClearTrace.2012.42.beta", and "ClearTrace.2012.43.beta", and I have always the same errors.First the error decribed in the forum during DB creation, that I tried to solve with "ClearTrace.2012.43.beta", without any success, but even after this error, the DB is created and I have then the error of this post like "jdegaetani" (whatever the installation package used):******************************************************************************ClearTrace Error******************************************************************************Version: 2012.43.0Last Exception: Nom d'objet 'dbo.CTTraceSummaryView' non valide.Last Target Site: Void PopulateResults(Int32, System.String, System.String, System.String)******************************************************************************Exception Type: System.Data.SqlClient.SqlExceptionException Message: Nom d'objet 'dbo.CTTraceSummaryView' non valide. à ClearTraceGui.MainForm.PopulateResults(Int32 rows, String groupBy, String orderBy, String keyword) à ClearTraceGui.MainForm.ResetTrace(String traceName, Boolean populateResults) à ClearTraceGui.MainForm.ddlTraceToQuery_SelectedIndexChanged(Object sender, EventArgs e) à System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) à System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) à ClearTraceGui.MainForm.PopulateTraces(ComboBox comboBoxToPopulate, String traceName, String connectionString) à ClearTraceGui.MainForm.optionsToolStripMenuItem_Click(Object sender, EventArgs e) à System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) à System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) à System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) à System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) à System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) à System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) à System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) à System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) à System.Windows.Forms.Control.WndProc(Message& m) à System.Windows.Forms.ScrollableControl.WndProc(Message& m) à System.Windows.Forms.ToolStrip.WndProc(Message& m) à System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) à System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) à System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) à System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) à System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) à System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) à System.Windows.Forms.Application.Run(Form mainForm) à ClearTraceGui.Program.Main()*******************************************************************Have the support some news about this ?My config : Microsoft SQL Server Standard Edition (64-bit)10.0.2531.0Collation : SQL_Latin1_General_CP1254_CI_AS(but same pb with collation : SQL_Latin1_General_CP1_CI_AS) |
|
|
|
|
|
|
|