Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - debug captcha explore show error!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum Lockeddebug captcha explore show error!

 Post Reply Post Reply
Author
sunmuse View Drop Down
Newbie
Newbie


Joined: 11 August 2008
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote sunmuse Quote  Post ReplyReply Direct Link To This Post Topic: debug captcha explore show error!
    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
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
sunmuse View Drop Down
Newbie
Newbie


Joined: 11 August 2008
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote sunmuse Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
sunmuse View Drop Down
Newbie
Newbie


Joined: 11 August 2008
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote sunmuse Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2008 at 1:25am
now you can see my test web:
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: sunmuse@126.com
Back to Top
sunmuse View Drop Down
Newbie
Newbie


Joined: 11 August 2008
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote sunmuse Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2008 at 1:26am
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: 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
Back to Top
sunmuse View Drop Down
Newbie
Newbie


Joined: 11 August 2008
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote sunmuse Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2008 at 7:53am
thx, !!!!!! i see!
Back to Top
sunmuse View Drop Down
Newbie
Newbie


Joined: 11 August 2008
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote sunmuse Quote  Post ReplyReply Direct Link To This Post 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!!!!!
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.