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
390
Red "X" of Death
posted

Hello all,

Pardon the topic name, but this error has been giving us a lot of trouble and after weeks of investigating we still have no idea how, when, or why it happens.

We use background workers but the grid that's getting this error is independent of the BG.

If someone can please tell us when the error happens so we can trap it, that would be great.

 Attached is the error message we're getting when the "Red X" happens.

 Thank you very much. 

Parents
  • 390
    Verified Answer
    posted

    I had a similar problem (different exception, but same red X) in my application.  We had multiple threads updating the datasource on a different thread than the main UI thread that the grid was on.  We fixed the problem by moving all datasource updates to the same thread as the grid (as Mike S. suggested) using Invoke().

Reply Children