System.InvalidOperationException: Handle is not initialized.

  • Thread starter Thread starter Deepak Sivaraman via .NET 247
  • Start date Start date
D

Deepak Sivaraman via .NET 247

(Type your message here)

--------------------------------
From: Deepak Sivaraman

Even i am getting the same kind of error

the stack trace is as follows....

************** Exception Text **************
System.InvalidOperationException: Handle is not initialized.
at System.Runtime.InteropServices.GCHandle.Free()
at System.Windows.Forms.Timer.set_Enabled(Boolean value)
at C1.Win.C1Command.0J.GF(String 1FG)
at C1.Win.C1Command.0G.OnMouseMove(MouseEventArgs e)
at C1.Win.C1Command.C1ToolBar.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

C1Command is the third party tool and it was running without any errors with 1.0 framework.
Just now i upgraded my solution to 1.1 Framework and since then it is giving errors.

How can i solve this error??
 
Back
Top