Menu

Can't make Captcha.Net run

Help
Ziros
2008-04-09
2013-03-25
  • Ziros

    Ziros - 2008-04-09

    Hello,
    I'm running the Captcha.net Control along with a test webpage. [xp vs2008 framework 3.5]

    while running the page I get this error:

    config.HttpHandlers[type].Path' threw an exception of type 'System.Configuration.ConfigurationErrorsException
    {"An error occurred creating the configuration section handler for system.web (C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\Config\\machine.config line 52)"}

    the error occures in Control.cs at this section in the "return config.HttpHandlers[type].Path;"

    try {
                 return config.HttpHandlers[type].Path;
                } catch (NullReferenceException) {
                    throw new ConfigurationErrorsException(type.ToString() +
                        " is not defined in configuration settings. To have the control set its settings automatically, " +
                        "remove all defined settings.");
               }

    Thanks for help

     
    • Farshid Hosseini

      This control is not tested with .NET 3.5. This could be a version incompatibility.

      Have you tested with .NET framework ver. 2?

       
      • Ziros

        Ziros - 2008-04-28

        Hello Farshid.

        control is working with 3.5 framework where im testing it (IIS 6)
        I guess there will be issue with IIS 7, because handlers must reside within system.webServer and not in system.web in the web.config.

        I do have some speech problem if you can help here:

        https://sourceforge.net/forum/forum.php?thread_id=2007283&forum_id=796294

        Thank you very much !

         

Log in to post a comment.