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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
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
This control is not tested with .NET 3.5. This could be a version incompatibility.
Have you tested with .NET framework ver. 2?
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 !