andrewt2m
  • andrewt2m
  • 100% (Exalted)
  • Advanced Member Topic Starter
2 years ago
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:
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)

UserPostedImage

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)


Sponsor

Want to thank us? Use: Patreon or PayPal or Bitcoins: bc1q4whppe29dw77rm4kv4pln0gqae4yjnxly0dny0hky6yhnafukzjsyrsqhk

All opinions expressed within these pages are sent in by members of the public or by our staff in their spare time, and as such do not represent any opinion held by sircles.net Ltd or their partners.


andrewt2m
  • andrewt2m
  • 100% (Exalted)
  • Advanced Member Topic Starter
2 years ago
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.