Print Page | Close Window

debug captcha explore show 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=26095
Printed Date: 28 March 2026 at 9:37am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: debug captcha explore show error!
Posted By: sunmuse
Subject: debug captcha explore show error!
Date Posted: 11 August 2008 at 6:30pm
because my ie dont show the encurtity code,so i debug the CAPTCHA_image.asp,then ie show me the follow error,why?
i need your help!thx

B
Vbscript Runtime
error 'ASP 0185 : 13'

Type mismatch

/forum/CAPTCHA/CAPTCHA_image.asp,line 865

Private Sub writeBinary(strHex)

    Dim lngHexLoop
    Dim strwrite
    
    'Remove any spaces (Error handling (there should not be any spaces anyway))
    strHex = Replace(strHex, " ", "")

    'Loop through the in steps of 2 for each 2 character hex
    For lngHexLoop = 1 to Len(strHex) step 2
        'Write the binary output
 865       strwrite=ChrB(CByte("&H" & Mid(strHex, lngHexLoop, 2)))
        Response.BinaryWrite strwrite
    Next
End Sub



Replies:
Posted By: 123Simples
Date Posted: 11 August 2008 at 7:15pm
Hiya sunmuse

It would be helpful if you let peeps know your forum address? That way they can see what you see

I cannot see why you would have issues with 9.50 version, unless of course you may have changed somethings already. It pretty much works right out of the box


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


Posted By: sunmuse
Date Posted: 11 August 2008 at 7:43pm
in fact when i down  the   CAPTCHA source ,then i put it in my apache_root directory,then i explore the  /CAPTCHA/CAPTCHA_image.asp, then the explore show me the error message,
B
Vbscript Runtime
error 'ASP 0185 : 13'

Type mismatch

/forum/CAPTCHA/CAPTCHA_image.asp,line 864
my enviroment is apache+iasp


Posted By: sunmuse
Date Posted: 12 August 2008 at 1:25am
now you can see my test web:
http://sunmuse.gicp.net/test/CAPTCHA/CAPTCHA_image.asp,my - http://sunmuse.gicp.net/test/CAPTCHA/CAPTCHA_image.asp,my example files is under the test directory.
B
Vbscript Runtime
error 'ASP 0185 : 13'

Type mismatch

/test/CAPTCHA/CAPTCHA_image.asp,line 864

the 864th line code is:
   Response.BinaryWrite ChrB(CByte("&H" & Mid(strHex, lngHexLoop, 2)))
in fact the loop only execute once,then out "B",then the code stop,and show the error!
mailtome: mailto:sunmuse@126.com - sunmuse@126.com


Posted By: sunmuse
Date Posted: 12 August 2008 at 1:26am
oh my test web is http://sunmuse.gicp.net/test/CAPTCHA/CAPTCHA_image.asp - http://sunmuse.gicp.net/test/CAPTCHA/CAPTCHA_image.asp


Posted By: WebWiz-Bruce
Date Posted: 12 August 2008 at 7:19am
Web Wiz CAPTCHA requires a Windows IIS web server.

It will not run on Apache as the 3rd party ASP software available for Apache do not support the BinaryWrite method to be able to send the binary image created on the fly to the web browser.

For a list of supported servers please see the following page:-

http://www.webwiz.net/webwizcaptcha/kb/requirments.asp - http://www.webwiz.net/webwizcaptcha/kb/requirments.asp


-------------
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: sunmuse
Date Posted: 12 August 2008 at 7:53am
thx, !!!!!! i see!


Posted By: sunmuse
Date Posted: 12 August 2008 at 6:03pm

now  i  have resolve the problem, i  chang my webserver from APACHE+IASP  into IIS.,they the error doesn't show!

thankS!!!!!



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