Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 5 out of 5     Rate this Document

Error -9004: Item Cannot be Found in the Collection Corresponding to the Requested Name or Ordinal.

Primary Software: TestStand
Primary Software Version: 3.5
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I am trying to read or write data from a database and when running my application I receive an error saying: Item cannot be found in the collection corresponding to the requested name or ordinal. Why is this happening and how can I resolve it?

Solution:
The error usually occurs when you are requesting a field from a recordset that does not exist inside of the database you are connected to. It may also occur when the connection to the database has failed.

Verify that the spelling of the the field name is correct and that the field exists in the database. Also verify that the name of the database is correct in the UDL or DSN.

Related Links:

Attachments:





Report Date: 01/05/2007
Last Updated: 02/01/2007
Document ID: 454GGKTG

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit