Hi,
On a user machine (multi-core, 3-monitors, various app + our custom app), I frequently got the following error wit stack trace indicating Infragistic "UltraToolbarsDockAreaget" involved:
Error Message: Object is currently in use elsewhere.
Stack Trace: at System.Drawing.Image.get_RawFormat() at System.Drawing.Graphics.IgnoreMetafileErrors(Image image, Int32& errorStatus) at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y) at System.Drawing.Graphics.DrawImageUnscaled(Image image, Point point) at Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnPaint(PaintEventArgs pe) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Does this looks like a threading bug ? If yes, where do I start in my code to lock thread or Infragistic need to fix code tor UltraToolbar for multi-core ?Any other suggestion would be appreciated as well.
Thanks
James
Hi
We faced the exact same problem. And found following post - it saves our time.
http://stackoverflow.com/questions/7772832/invalidoperationexception-object-is-currently-in-use-elsewhere-during-innocuo/17548599#17548599
It was reproduced like in description:
- open secured pdf document by FileOpen
- red x appears on ribbon in application.
- Fixed after restart of pc or restarting FileOpenManager service
Thank you
Hello,
Thank you for posting the additional details as they may help if anyone is using FileOpen Adobe plugin.