Print Page | Close Window

Microsoft VBScript compilation error

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz CAPTCHA
Forum Description: Support forum for the Web Wiz CAPTCHA security image.
URL: https://forums.webwiz.net/forum_posts.asp?TID=26805
Printed Date: 29 March 2026 at 3:12am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Microsoft VBScript compilation error
Posted By: carlxyz
Subject: Microsoft VBScript compilation error
Date 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,






Replies:
Posted By: WebWiz-Bruce
Date Posted: 09 January 2009 at 8:47am
Did you also get an error code with this?

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: carlxyz
Date 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,


Posted By: WebWiz-Bruce
Date 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.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: 123Simples
Date Posted: 09 January 2009 at 4:58pm
Installing the captcha correctly - http://www.webwiz.net/webwizcaptcha/kb/captcha_basic_install.asp - an example

If you have any problems just let us know


-------------
http://www.123simples.com/" rel="nofollow - Visit 123 Simples Web Design


Posted By: carlxyz
Date 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.


Posted By: WebWiz-Bruce
Date 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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: 123Simples
Date 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


-------------
http://www.123simples.com/" rel="nofollow - Visit 123 Simples Web Design


Posted By: carlxyz
Date Posted: 10 January 2009 at 5:46am
Here is the link:
http://www.cnsa.net/2009NewTest/y-buyselltrade-input.asp - http://www.cnsa.net/2009NewTest/y-buyselltrade-input.asp

Will also check code on Saturday.


Posted By: 123Simples
Date Posted: 10 January 2009 at 11:57am
Sorry I meant put the link where you are trying to run the captcha, example:

www.cnsa.net/2009NewTest/contactform

Or wherever the page is because the link above shows nothing but the error itself


-------------
http://www.123simples.com/" rel="nofollow - Visit 123 Simples Web Design


Posted By: carlxyz
Date Posted: 10 January 2009 at 10:17pm
Have renamed http://www.cnsa.net/2009NewTest/y-buyselltrade-input.asp - http://www.cnsa.net/2009NewTest/y-buyselltrade-input.asp

to:  http://www.cnsa.net/2009NewTest/y-buyselltrade-input.asp - http://www.cnsa.net/2009NewTest/y-buyselltrade-input.txt



Posted By: carlxyz
Date Posted: 15 January 2009 at 5:41am
I hope this was the information you were asking for ??


Posted By: WebWiz-Bruce
Date Posted: 15 January 2009 at 8:09am
Nether link works. However, please refer back to my last post in response to your question as I don't need to see the page to know what the issue is as can tell from the error message you posted.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: carlxyz
Date Posted: 15 January 2009 at 6:36pm
  http://www.cnsa.net/2009NewTest/y-buyselltrade-input.asp - http://www.cnsa.net/2009NewTest/y-buyselltrade-input.txt

I am not understanding which other files you need to look at.
Smile Thanks
Smile


Posted By: WebWiz-Bruce
Date Posted: 16 January 2009 at 9:25am
Don't need to look at any of the files but please read through my post to you previously:-

Originally posted by WebWiz-Bruce WebWiz-Bruce wrote:

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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: carlxyz
Date Posted: 16 January 2009 at 11:58pm
VERY dense on my end....
Got the page to load correcting.
Have other errors now, will try to find and correct the errors before
asking more questions.

Thanks for you help.
Carl,ConfusedConfused


Posted By: patience
Date Posted: 20 January 2010 at 1:31pm
Hello

  Most of the time, the line of code in error is the SQL statement since SELECT statements can be very large. You can use one of the following to work around this problem:
  • If the SELECT goes against a single table, remove the "table." prefix in front of each column.
  • Create a variable to hold the SELECT statement, and concatenate the SQL over several lines as follows:
  • MySQL = "SELECT table.col1, table.col2 "
    MySQL = MySQL & "FROM table "
    MySQL = MySQL & "Where x = 3"
  • If the number of columns are relatively small, but the SELECT statement selects from multiple tables, create a view. Select against the view, omitting the "table." prefix in front of the columns.
  • For non-SQL lines of code that are too large.
have a good day.


-------------
http://www.nitendo-r4.com.ar" rel="nofollow - buy cartucho r4


Posted By: charchilp
Date Posted: 07 April 2010 at 6:58pm
what is it..???





Posted By: lidwish
Date Posted: 06 March 2011 at 9:01am
What do I have to do to get rid of captcha - my pages don't load anymore, (a business site) because of this error

Microsoft VBScript compilation error '800a0411'

Name redefined

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

Dim blnCAPTCHAabout

everytime I try to edit the header.htm this keeps reposting and reposting about six different times.

any straight up help?



Posted By: 123Simples
Date Posted: 06 March 2011 at 10:07am
I've found your site. As a temporary suggestion, you could try editing the CATCHA_configuration.asp line 48, and put a remark in front of that line like so:

'Initialise variables
'Dim blnCAPTCHAabout

The ' remark line will in theory prevent the line from causing the issue, until you can see what is actually wrong. Alternatively for assistance then PM me and I'll see if I can help you remotely this end


-------------
http://www.123simples.com/" rel="nofollow - Visit 123 Simples Web Design



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net