Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ADODB.Recordset error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ADODB.Recordset error

 Post Reply Post Reply
Author
wgbeatty View Drop Down
Newbie
Newbie


Joined: 21 April 2003
Location: United States
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote wgbeatty Quote  Post ReplyReply Direct Link To This Post Topic: ADODB.Recordset error
    Posted: 13 January 2004 at 6:15pm

Hey all,

Just encountered this error while trying to view a forum with posts:

ADODB.Recordset error '800a0cc1'

Item cannot be found in the collection corresponding to the requested name or ordinal.

/forum/forum_topics.asp, line 424

This is the code around that line number:

'Read in the subject and author and number of replies from the record set
   strTopicStartUsername = rsTopic("Username")
   strFirstPostMsg = Mid(rsTopic("Message"), 1, 275)
   lngTopicStartUserID = CLng(rsTopic("Author_ID"))
   lngNumberOfReplies = CLng((rsTopic.RecordCount) - 1)
   dtmFirstEntryDate = CDate(rsTopic("Message_date"))

Apparently, it's this line:
strFirstPostMsg = Mid(rsTopic("Message"), 1, 275)

Any ideas? I just did a fresh install of 7.7 today for SQL Server and hadn't noticed any other problems until I posted in a forum, then tried viewing that forum to see the post.

Warren



Edited by wgbeatty
Back to Top
wgbeatty View Drop Down
Newbie
Newbie


Joined: 21 April 2003
Location: United States
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote wgbeatty Quote  Post ReplyReply Direct Link To This Post Posted: 13 January 2004 at 9:35pm

Hmm.

Removed the offending line for kicks, and somehow it worked. I was able to view posts in all forums. Strange - strange to me cause I'm not exactly sure what's going on. I do alot of guess work, and pretty much have a basic knowledge at that of VB/ASP/SQL etc.

If anyone has any ideas I'm all ears (or eyes).

Regards,

Warren

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2004 at 6:01am
This is a problem with the stored procedures not returning all the correct fields.

If you are updating from a previous version check old upgrade posts for the correct stored procedure.

If this is a clean install, start again and delete the database and stored procedures and run the setup file.
Back to Top
wgbeatty View Drop Down
Newbie
Newbie


Joined: 21 April 2003
Location: United States
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote wgbeatty Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2004 at 10:15am

Thanks for that. I must be having upload problems from here, cause I did wipe everything out and then run the setup file. I'll investigate today and see if all the correct SP's are there.

Warren

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.