Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
This error is reported here:
http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=21491
I also get this error when using Doc2Form and a fix was recommended by Casey to add this code:
((umbraco.UmbracoDefault)this.Page).ValidateRequest = false;
to the init block of the User Control of Doc2Form. See this thread for details.
Now, I am using AutoForm, and facing the same error if the submitted fields have HTML in them.
How I can solve this problem with AutoForm ? As per codeplex issue status, this was resovled in changeset "47824".
I am using Umbraco 4.0.3.
Appreciate your help.
Tarek.
Ops ! I found the solution by Google Search !
Just add this code:
<umbraco:DisableRequestValidation runat="server"/>
to the master template.
It worked for me.
I hope this could be added to the WiKi or someplace to make is available. Also, add this "how to" to the codePlex Issue.
nice one,.. thx solved my problem.
If that doesnt solve the problem like it didnt for me, try this:
<pages validateRequest="false" />
I'm still getting the error and have tried both...does this need to be added to my own master pages or the Umbraco backend master pages?
S
Add in ur webconfig under <system.web> section <httpRuntime requestValidationMode="4.5" />
requestValidationMode based on your VS version if vs 2012 requestValidationMode="4.5"
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
A potentially dangerous Request.Form value was detected from the client.
This error is reported here:
http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=21491
I also get this error when using Doc2Form and a fix was recommended by Casey to add this code:
to the init block of the User Control of Doc2Form. See this thread for details.
Now, I am using AutoForm, and facing the same error if the submitted fields have HTML in them.
How I can solve this problem with AutoForm ? As per codeplex issue status, this was resovled in changeset "47824".
I am using Umbraco 4.0.3.
Appreciate your help.
Tarek.
Ops ! I found the solution by Google Search !
Just add this code:
to the master template.
It worked for me.
I hope this could be added to the WiKi or someplace to make is available. Also, add this "how to" to the codePlex Issue.
Tarek.
nice one,.. thx solved my problem.
If that doesnt solve the problem like it didnt for me, try this:
I'm still getting the error and have tried both...does this need to be added to my own master pages or the Umbraco backend master pages?
S
Add in ur webconfig under <system.web> section <httpRuntime requestValidationMode="4.5" />
requestValidationMode based on your VS version if vs 2012 requestValidationMode="4.5"
is working on a reply...