Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Poll Creation Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Poll Creation Problem

 Post Reply Post Reply
Author
SSRR View Drop Down
Newbie
Newbie


Joined: 19 August 2006
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote SSRR Quote  Post ReplyReply Direct Link To This Post Topic: Poll Creation Problem
    Posted: 01 December 2007 at 11:32am
Hi folks,

When I try to view or create a poll in the forum I get the following error:

Microsoft VBScript runtime error '800a005e'

Invalid use of Null: 'CLng'

/forum/includes/poll_display_inc.asp, line 93


I'm not the technical person who setup the forum, but I can forward any advice to our developer if it's a complex solution.


Thanks


Back to Top
Jono View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 18 September 2006
Location: United Kingdom
Status: Offline
Points: 100
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jono Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2007 at 12:07pm
Error '800a005e' is "invalid use of null". It looks like the SQL query has returned NULL for the field "Poll_question" from the tblPoll table.
boRg may be able to offer better assistance, however, we could do with knowing what version of WWF you're running and on which database type.
Have you had polls before or is this the first time you've tried?
Back to Top
SSRR View Drop Down
Newbie
Newbie


Joined: 19 August 2006
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote SSRR Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2007 at 12:39pm
Oops, just spotted it's 8.05a, so I'm technically in the wrong forum. I think the backend is SQL Server.

I believe we migrated from Access to SQL Server, and from that point onwards polls were broken.
Back to Top
Jono View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 18 September 2006
Location: United Kingdom
Status: Offline
Points: 100
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jono Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2007 at 2:04pm
If you're running 8.05 then it's probably a different field that's returned (probably some form of ID as it is a CLng error).
Upgrades from Access to SQl can be awkward. You'll need to find out what the field types and constraints should be and then ensure you live database is configured the same (you could do this by creating a blank database and running the forum setup script - your SQL guru may need to do this).
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.