board logo
Posted by: andrewt2m - 11 August 2021 10:25:24
Has anyone got any ideas what has changed? It has been working fine up until recently. Log Name: Application Source: ASP.NET 4.0.30319.0 Date: 11/08/2021 10:11:41 Event ID: 1309 Task Category: Web Event Level: Warning Keywords: Classic User: N/A Computer: webserver.domain,suffix Description: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 11/08/2021 10:11:41 Event time (UTC): 11/08/2021 09:11:41 Event ID: 4ceefb27e91748a686af015f9a1dc669 Event sequence: 36121 Event occurrence: 3 Event detail code: 0 Application information: Application domain: /LM/W3SVC/34/ROOT-1-132731287805446849 Trust level: Full Application Virtual Path: / Application Path: E:\Websites\www\blog.domain,suffix\ Machine name: webserver Process information: Process ID: 3380 Process name: w3wp.exe Account name: IIS APPPOOL\domain.suffix Exception information: Exception type: ArgumentNullException Exception message: Value cannot be null. Parameter name: Challenge at Recaptcha.RecaptchaValidator.Validate() in C:\rtur\src\github\BlogEngine.NET\BlogEngine\BlogEngine.NET\Custom\Extensions\Recaptcha\RecaptchaValidator.cs:line 110 at App_Code.Controls.RecaptchaControl.Validate() in C:\rtur\src\github\BlogEngine.NET\BlogEngine\BlogEngine.NET\Custom\Extensions\Recaptcha\RecaptchaControl.cs:line 468 at contact.btnSend_Click(Object sender, EventArgs e) in C:\rtur\src\github\BlogEngine.NET\BlogEngine\BlogEngine.NET\contact.aspx.cs:line 78 at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Request information: Request URL: https://blog.domain,suffix:443/contact.aspx Request path: /contact.aspx User host address: x.x.x.x User: Is authenticated: False Authentication Type: BlogEngine.NET Custom Identity Thread account name: IIS APPPOOL\domain.suffix Thread information: Thread ID: 51 Thread account name: IIS APPPOOL\domain.suffix Is impersonating: False Stack trace: at Recaptcha.RecaptchaValidator.Validate() in C:\rtur\src\github\BlogEngine.NET\BlogEngine\BlogEngine.NET\Custom\Extensions\Recaptcha\RecaptchaValidator.cs:line 110 at App_Code.Controls.RecaptchaControl.Validate() in C:\rtur\src\github\BlogEngine.NET\BlogEngine\BlogEngine.NET\Custom\Extensions\Recaptcha\RecaptchaControl.cs:line 468 at contact.btnSend_Click(Object sender, EventArgs e) in C:\rtur\src\github\BlogEngine.NET\BlogEngine\BlogEngine.NET\contact.aspx.cs:line 78 at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) [img=https://www.sircles.net/downloads/bio.png]BlogEngine.IO Contact Page Error[/img] Custom event details: Event Xml: 1309 3 3 0x80000000000000 2574460 Application webserver.domain,suffix 3005 An unhandled exception has occurred. 11/08/2021 10:11:41 11/08/2021 09:11:41 4ceefb27e91748a686af015f9a1dc669 36121 3 0 /LM/W3SVC/34/ROOT-1-132731287805446849 Full / E:\Websites\www\blog.domain,suffix\ webserver 3380 w3wp.exe IIS APPPOOL\domain.suffix ArgumentNullException Value cannot be null. Parameter name: Challenge at Recaptcha.RecaptchaValidator.Validate() in C:\rtur\src\github\BlogEngine.NET\BlogEngine\BlogEngine.NET\Custom\Extensions\Recaptcha\RecaptchaValidator.cs:line 110 at App_Code.Controls.RecaptchaControl.Validate() in C:\rtur\src\github\BlogEngine.NET\BlogEngine\BlogEngine.NET\Custom\Extensions\Recaptcha\RecaptchaControl.cs:line 468 at contact.btnSend_Click(Object sender, EventArgs e) in C:\rtur\src\github\BlogEngine.NET\BlogEngine\BlogEngine.NET\contact.aspx.cs:line 78 at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) https://blog.domain,suffix:443/contact.aspx /contact.aspx x.x.x.x False BlogEngine.NET Custom Identity IIS APPPOOL\domain.suffix 51 IIS APPPOOL\domain.suffix False at Recaptcha.RecaptchaValidator.Validate() in C:\rtur\src\github\BlogEngine.NET\BlogEngine\BlogEngine.NET\Custom\Extensions\Recaptcha\RecaptchaValidator.cs:line 110 at App_Code.Controls.RecaptchaControl.Validate() in C:\rtur\src\github\BlogEngine.NET\BlogEngine\BlogEngine.NET\Custom\Extensions\Recaptcha\RecaptchaControl.cs:line 468 at contact.btnSend_Click(Object sender, EventArgs e) in C:\rtur\src\github\BlogEngine.NET\BlogEngine\BlogEngine.NET\contact.aspx.cs:line 78 at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Posted by: andrewt2m - 11 August 2021 12:33:20
We found that the recaptcha in BlogEngine.IO no longer works with the Google captcha and so we had to disable it to get the contact form working under settings>controls.