I have a grid and when I fetch records into the grid, I get this peculiar dialog box that I have seen often.
It has two buttons Continue & Quit, and also a Details button. The message tells me that an unhandled exception has occurred and specifically it says: Index was outside the bounds of the array.
1. This exception was not caught by the Catch block. I can tell this because I have handled the exception and I display a Message Box. I do not get a message box, instead I get a different dialog box.
2. The error dialog further tells me, in order to start the JIT debugging I must enable JIT debugging.
3. I did a google search on the bug and I have found others who posted a similar bug. Here is one:
http://forums.devx.com/archive/index.php/t-56371.html
4. The exception does not happen always.
5. There seems to be no problem in my code.
6. The actual error message is : Index was outside the bounds of the array.
Please help me.