Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Microsoft VBScript compilation  error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedMicrosoft VBScript compilation error

 Post Reply Post Reply Page  123>
Author
carlxyz View Drop Down
Newbie
Newbie


Joined: 24 October 2008
Location: California
Status: Offline
Points: 12
Direct Link To This Post Topic: Microsoft VBScript compilation error
    Posted: 09 January 2009 at 12:31am
Getting the following:
Microsoft VBScript compilation error;  in reference to:  CAPTCHA_configuration.asp

This is for:
'Initialise variables
Dim blnCAPTCHAabout
Dim strDisplayLicense
Dim strLicense
Dim strCanvasColour, strBorderColour, strCharacterColour
Dim blnRandomLinePlacement, blnSkewing
Dim intNoiseLevel1, strNoiseColour1, intNoiseLevel2, strNoiseColour2
Dim intNoiseLines1, strNoiseLinesColour1, intNoiseLines2, strNoiseLinesColour2

So what am I do wrong ?
TIA.
Carl,



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
Direct Link To This Post Posted: 09 January 2009 at 8:47am
Did you also get an error code with this?
Back to Top
carlxyz View Drop Down
Newbie
Newbie


Joined: 24 October 2008
Location: California
Status: Offline
Points: 12
Direct Link To This Post Posted: 09 January 2009 at 4:30pm
The following is what I got from my ISP..

Microsoft VBScript compilation error '800a0411'

Name redefined

/2009NewTest/CAPTCHA/CAPTCHA_configuration.asp, line 48

Dim blnCAPTCHAabout
----^

Carl,
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
Direct Link To This Post Posted: 09 January 2009 at 4:38pm
Looks like you are not following the install instructions correctly and are including the same include file mutile times in the same file.
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Direct Link To This Post Posted: 09 January 2009 at 4:58pm
Installing the captcha correctly - an example

If you have any problems just let us know
Back to Top
carlxyz View Drop Down
Newbie
Newbie


Joined: 24 October 2008
Location: California
Status: Offline
Points: 12
Direct Link To This Post Posted: 09 January 2009 at 4:59pm
HMMMMMMMMM

Just followed:  http://www.webwiz.net/webwizcaptcha/kb/captcha_basic_install.asp
and made no changes to the downloaded files.
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
Direct Link To This Post Posted: 09 January 2009 at 5:55pm
It's not changes to the files which is the problem.

The problem is that to get this error you have copied and pasted the same data from the instructions twice to the same file. When this is done it tries to load the same CAPTCHA files more than once thus getting the error that you have.

I am guessing that you are submitting the page back to itself so you have included the following twice in your file:-

<!-- Include file for CAPTCHA configuration -->
<!-- #include file="CAPTCHA/CAPTCHA_configuration.asp" -->

This only needs to be placed in your file once at the top of the file as the configuration data for the Web Wiz CAPTCHA only needs to be loaded once for the file.
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Direct Link To This Post Posted: 09 January 2009 at 6:22pm
Originally posted by carlxyz carlxyz wrote:

HMMMMMMMMM

Just followed:  http://www.webwiz.net/webwizcaptcha/kb/captcha_basic_install.asp
and made no changes to the downloaded files.


If perhaps you gave us a link to your website page then it would be a lot easier to help you with the problem perhaps. I know I struggled a bit when I first used Captcha but its amazing how easy it is to make a simple mistake

The files themselves (provided you downloaded them from here) are sound, so the error must be a configuration problem on your page as Bruce suggests
Back to Top
 Post Reply Post Reply Page  123>

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.