Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > A potentially dangerous Request. Form value was detected from the client View modes: 
User avatar
Member
Member
Anth12-hotmail.co - 12/22/2012 5:39:25 AM
   
A potentially dangerous Request. Form value was detected from the client
Hi, i have a fresh install of v6 with a hosting service. I setup a new site within Kentico and am getting a error "A potentially dangerous Request.Form value was detected from the client" when attempting to remove webparts from the default templates.

I found a couple threads relating to the same issue and have tried adding:
<pages validateRequest="false"/>
<httpRuntime requestValidationMode="2.0" .../>

To the <system.web> area in the web.config but this did not stop the error.

All source files are completely standard as it is a new install, the only thing changed in the entire solution is the web.config (all that is changed is the above).

I am able to use the rest of the site as normal, create edit & remove documents... the error only seems to appear when attempting to remove webparts from a page.

IIS7
ASP.NET v4

Please could someone advice how to resolve the issue, Thanks a lot, Anthony.

User avatar
Member
Member
Anth12-hotmail.co - 12/22/2012 7:07:40 AM
   
RE:A potentially dangerous Request. Form value was detected from the client
Sorted**

"<httpRuntime/>" appeared twice in the config.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 12/22/2012 7:35:06 AM
   
RE:A potentially dangerous Request. Form value was detected from the client
Hi Anthony,

I'm glad to hear that you've already fixed this issue by yourself. Anyway, it's good to know the reason. Thank you for letting us know!

Best regards,
Martin Danko