web analytics

How to validate ReCAPTCHA.

You may also like...

7 Responses

  1. dp says:

    Where do I put the code to validate the re-captcha? I already have a form that submits a new account but I am not sure where or how to add the second part labeled “code:”

  2. Nauman says:

    Add that validation code, in code behind of the page in submission logic of webpage.

  3. dp says:

    Just copy/paste that code into my form? Can we take this offline maybe? I can email you my code if you are willing to help.


  4. Nauman says:

    hmm.. can you elaborate what type of exception/issue you are getting…

    have you included Recaptcha reference in your code ?

  5. dp says:


    Basically I have a registration form that when I include the first part of the code and hit ‘join’ I get an error, it seems as though the reCAPTCHA is interferring with another module which emails me when a new account is created.

    This is the message I get:
    User Agent:
    Path: as HTTP
    Message: Error occurred while running background task PokeSite
    System.Exception: No CSContext exists in the Current Application. AutoCreate fails since HttpContext.Current is not accessible.
    at CommunityServer.Components.CSContext.get_Current()
    at JeffDavis.CS.Modules.PokeSite.Execute(XmlNode prefNode)
    at Telligent.Tasks.Task.ExecuteTask()

  6. dp says:

    I turned that off and I still get an error message. It appears that the page wont allow you to click ‘join’ without entering the recaptcha, and when you do it redirects me to a default error page (basic communityserver message) but nothing showing in the logs as to what the problem is.

    I am stuck.

    This is what I have far as reCAPTCHA in my form (wont post the entire thing, way too long):

    That’s it.

  7. dp says:

    I copy/pasted my code into the last post but its not displaying. Either way you can grab see a copy of the code here:


Leave a Reply

%d bloggers like this: