Welcome Guest! To enable all features please
Login or Register.
Hi, i use 126.96.36.199 rc, and if i try to change something in the host settings, i got following error :
is any way to work it out, i use the 3.5 Net build
A potentially dangerous Request.Form value was detected from the client (ctl00$PlaceHolderMain$forum$ctl03$UserBox="<yaf:avatar /><div c...").
Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. To allow pages to override application request validation settings, set the requestValidationMode attribute in the httpRuntime configuration section to requestValidationMode="2.0". Example: <httpRuntime requestValidationMode="2.0" />. After setting this value, you can then disable request validation by setting validateRequest="false" in the Page directive or in the <pages> configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case. For more information, see http://go.microsoft.com/fwlink/?LinkId=153133
Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (ctl00$PlaceHolderMain$forum$ctl03$UserBox="<yaf:avatar /><div c...")."
Your YAF is running under .NET 4.0
- you must add/modify the following lines to your web.config (inside the <system.web> section):
You should also be running the .NET v4.0 Binaries.
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend
thx for tips
i switch back to 3.5 build, and set the pool also but now i got a different error, any idea ?
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[NullReferenceException: Object reference not set to an instance of an object.]
YAF.Pages.Admin.hostsettings.Save_Click(Object sender, EventArgs e) in E:\MyProjects\websites\yaf_new_codeplex\YAF\yafsrc\YetAnotherForum.NET\pages\admin\hostsettings.ascx.cs:318
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +114
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +139
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +28
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2980
- You cannot post new topics in this forum.
- You cannot reply to topics in this forum.
- You cannot delete your posts in this forum.
- You cannot edit your posts in this forum.
- You cannot create polls in this forum.
- You cannot vote in polls in this forum.