469,290 Members | 1,913 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,290 developers. It's quick & easy.

Unwarranted Error?

Hi everyone,
I'm getting the following error:

ADODB.Recordset (0x800A0CC1)
Item cannot be found in the collection corresponding to the requested
name or ordinal.

Now we all know that it means I'm trying to refer to a column that does
not exist in the DB (SQL Server), yet it definitely, absolutely
exists....

The recordset is created by a stored procedure... this column is even
used on other pages in the same application, yet doesn't work on this
particular page?

This site doesn't get this error in the development environment at all,
just when I've pushed it to live.

Even when I view the results of executing this stored procedure in query
analyser, it returns the column and a value!!!

Could there be another cause of this???

Thanks for any suggestions....
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #1
1 983
Put SET NOCOUNT ON at the beginning of the stored procedure.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"fruddy" <fr*****@hotmail.com> wrote in message
news:OB**************@TK2MSFTNGP09.phx.gbl...
Hi everyone,
I'm getting the following error:

ADODB.Recordset (0x800A0CC1)
Item cannot be found in the collection corresponding to the requested
name or ordinal.

Now we all know that it means I'm trying to refer to a column that does
not exist in the DB (SQL Server), yet it definitely, absolutely
exists....

The recordset is created by a stored procedure... this column is even
used on other pages in the same application, yet doesn't work on this
particular page?

This site doesn't get this error in the development environment at all,
just when I've pushed it to live.

Even when I view the results of executing this stored procedure in query
analyser, it returns the column and a value!!!

Could there be another cause of this???

Thanks for any suggestions....
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Tony Wright | last post: by
1 post views Thread by Aravind | last post: by
1 post views Thread by yanwan | last post: by
5 posts views Thread by Enos Meroka | last post: by
7 posts views Thread by p | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.