YAFLogo

joe4tech
  • joe4tech
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
Login to Forum as admin and Host Adminstration, Host Settings and just clicking on Save Settings button results in error. Trying to set Require User Login, or Server Time Zone Correction

Server Error in '/forum' Application

A potentially dangerous Request.Form value was detected from the client (forum$ctl02$HostSettingsTabs$View7$UserBox="

[HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (forum$ctl02$HostSettingsTabs$View7$UserBox="
System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) +11483972
System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, RequestValidationSource requestCollection) +82
System.Web.HttpRequest.get_Form() +212
System.Web.HttpRequest.get_HasForm() +11486708
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +141
System.Web.UI.Page.DeterminePostBackMode() +100
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11439106
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11438622
System.Web.UI.Page.ProcessRequest() +269
System.Web.UI.Page.ProcessRequest(HttpContext context) +167
ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\forum\3a20a4a6\6b382209\App_Web_xooiczrc.3.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
11 years ago
Originally Posted by: joe4tech 

Login to Forum as admin and Host Adminstration, Host Settings and just clicking on Save Settings button results in error. Trying to set Require User Login, or Server Time Zone Correction

Server Error in '/forum' Application

A potentially dangerous Request.Form value was detected from the client (forum$ctl02$HostSettingsTabs$View7$UserBox="


[HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (forum$ctl02$HostSettingsTabs$View7$UserBox="
System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) +11483972
System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, RequestValidationSource requestCollection) +82
System.Web.HttpRequest.get_Form() +212
System.Web.HttpRequest.get_HasForm() +11486708
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +141
System.Web.UI.Page.DeterminePostBackMode() +100
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11439106
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11438622
System.Web.UI.Page.ProcessRequest() +269
System.Web.UI.Page.ProcessRequest(HttpContext context) +167
ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\forum\3a20a4a6\6b382209\App_Web_xooiczrc.3.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270



Simply disable Page validation in the Web.config or Default.aspx.
joe4tech
  • joe4tech
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
default.aspx
<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" %>
joe4tech
  • joe4tech
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
forum web.config


And issue is still present.
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
11 years ago
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button