Wrox Programmer Forums
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 25th, 2007, 12:05 AM
Authorized User
 
Join Date: Jun 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default A peculiar error message

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.

 
Old July 25th, 2007, 12:07 AM
Authorized User
 
Join Date: Jun 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Further, I get a large X mark on my grid, once this error dialog appears.

 
Old August 13th, 2007, 05:57 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Can you post the line/block of code in which this happens? If you have this code in a try/catch I would not expect such an error alert as you describe.

I wish this forum supported images cause a screen shot would be very helpful.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the error message for a 500 server error? chobo2 C# 2005 1 May 4th, 2008 03:11 AM
ERROR MESSAGE underbuchha Visual C++ 2005 0 September 30th, 2006 02:50 AM
Where does the error message go? Wei Wang BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 March 13th, 2006 02:03 PM
Error Message alannoble26 Excel VBA 4 November 25th, 2005 11:20 AM
error message. Tasha Access VBA 2 August 11th, 2004 11:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.