Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
425
Red Cross in UltraGrid "object is currently in use elsewhere"
posted

Version: NetAdvantage Select 2010 Vol. 3 (WinForms)
Component: Infragistics Ultragrid 

Operation system with error: Windows XP Pro

---------------------------

A customer of us is experiencing the "red cross" error followed with an error messages that states:

"object is currently in use elsewhere"

System.InvalidOperationException: The object is currently in use elsewhere

by System.Drawing.Graphics.get_Transform();

by Infragistics.Win.Graphics.Transform.TransformRectangle(Graphics ... ).......

..............

 

This error throws itself when an user is (re)loading (refresh) the grid with data or using the filter fields on the grid when the data has been bound to the grid.

The application don't use multithreading. There are also no special techniques or such used. Just retrieve data from the SQL server (on the server) and databind the datatable to the grid in the client application.

We never had such experience with this component and other customers with the same application never had or having this problem (running other OS). We also can't reproduce this error on our own developer PC's and on our customer demo server.

Can someone help me in finding out why and how it's possible this customer is the only one experiencing this on all of its workstations or where I have to look for the real cause.

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    Issues like this are extremely difficult to track down - especially if you are unable to duplicate them.

    Are you absolutely certain that your application is not using any multi-threading at all?

    If so, then the best I can suggest is that you try to find out what's different on the one machine where this is occurring. Perhaps they are using different versions of the Infragistics assemblies? Or perhaps they have a different version of the DotNet framework installed? Maybe there is some other application running on the machine which is interfering with your application?

Children