Consider a table which has 5 columns: Invalid Descriptor Index State: Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of service , privacy policy and cookie policy , and that your continued use of the website is subject to these policies. Shashika Fernando 66 5. QuinStreet does not include all companies or all types of products available in the marketplace. Email Required, but never shown. Consider a table which has 5 columns:.

Uploader: Goltitaxe
Date Added: 3 December 2014
File Size: 33.43 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 66125
Price: Free* [*Free Regsitration Required]

You may have to register or Login before you can post: Remco 5 Insert a button, for example, Button, in the dialog box. Sign up or log in Sign up using Google.

Using the class wizard, insert an event handler, for example, OnButton1, to handle pressing of the Button1. Reading columns out of sequence. This compensation may impact how and where products appear on this site including, for example, the order in which they appear.


Hink 1 8 You can find the line number in the 1st line of the stacktrace. But the exception handling is very poor.

Invalid Descriptor Index State: Stack Overflow works best with JavaScript enabled. Gowtham 48 2 2 7. All times are GMT Afterwards I am trying to retrieve the Field values using GetFieldValue member function invalir passing index 0, 1, 2. But the code snippet in your question doesn’t give that away. This really fixed it for us, thought to share it with you guys.

Windows 8 for Developers Slow Chat: Close ; Insert a breakpoint on line 4.

Similar Threads

This way you get the full stacktrace and you can learn about the line number where this problem occurred. I think you can send a bill to Microsoft for finding a bug.

Results 1 to 3 of 3. The solution I have found is: Consider a table which has 5 columns:. The complete error message printed in the Debug window of output is as follows: I have my reasons to state desscriptor.

‘Invalid Descriptor Index¬í

The simple resolution is to either fix the query to return the needed column, or fix your code to not read the absent column. Some of the products that appear on this site are from companies from which QuinStreet receives compensation.


I’m afraid, some JDBC drivers will require you to read columns in order, starting at the first column. I doubt the exception is thrown by one of the lines in the posted code.

Q The information in this article applies to: Post as a guest Name. At what line exactly is it been thrown? Join Date Mar Posts 7. A SQLException with the message “Invalid descriptor index” is usually obtained when you read the result set incorrectly. There are various ways in which this scenario can manifest: