austgl / recaptcha

Automatically exported from code.google.com/p/recaptcha
0 stars 0 forks source link

Error #147

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
<recaptcha:RecaptchaControl    ID="recaptcha"   lang = 'en'  runat="server"    
PublicKey="6LdQ7dMSAAAAANYc1BBfoYZIYriOMk-3Vtx3llrF" 
PrivateKey="6LdQ7dMSAAAAAMW4I7RZBqzcvuqMd1KBZKePejbd" 
  ErrorMessage="test" IsValid="True" meta:resourcekey="recaptchaResource1" />

get me an error 

Description: An unhandled exception occurred during the execution of the 
current web request. Please review the stack trace for more information about 
the error and where it originated in the code. 

Exception Details: System.NotImplementedException: This setter is not 
implemented.

Stack Trace: 

[NotImplementedException: This setter is not implemented.]
   Recaptcha.RecaptchaControl.set_ErrorMessage(String value) +72
   ASP.contact_us_aspx.__BuildControlrecaptcha() in e:\Projects\CanShop\NewResto\contact_us.aspx:275
   ASP.contact_us_aspx.__BuildControlContent2(Control __ctrl) in e:\Projects\CanShop\NewResto\contact_us.aspx:73
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12
   System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template) +87
   ASP.masterpage_master.__BuildControlMainContent() in e:\Projects\CanShop\NewResto\MasterPage.master:239
   ASP.masterpage_master.__BuildControlForm1() in e:\Projects\CanShop\NewResto\MasterPage.master:99
   ASP.masterpage_master.__BuildControlTree(masterpage_master __ctrl) in e:\Projects\CanShop\NewResto\MasterPage.master:1
   ASP.masterpage_master.FrameworkInitialize() in e:\Projects\CanShop\NewResto\MasterPage.master.cs:912308
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +35
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +8832342
   System.Web.UI.Page.get_Master() +54
   System.Web.UI.Page.ApplyMasterPage() +15
   System.Web.UI.Page.PerformPreInit() +45
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +328

Original issue reported on code.google.com by msm2...@gmail.com on 30 Jul 2012 at 12:35

GoogleCodeExporter commented 9 years ago
Just remove the ErrorMessage="test" directive. This field is not used for 
anything.

Original comment by adrian.g...@gmail.com on 31 Jul 2012 at 5:28