views:

139

answers:

2

Hi!

I'm using ASP.NET MVC2 and what I did didn'T help me to get rid of this exception.

I put

[ValidateInput(false)]

before the conntroller, changed web.config but again getting this exception. What I should do?

EDIT: I'm posting HTML values.

A: 

Maybe your form contains values that look like HTML such as brackets.

Please check this link: http://stackoverflow.com/questions/81991/a-potentially-dangerous-request-form-value-was-detected-from-the-client/82170#82170

jean27
I did everything on this question but didn't help me. And yes I'm posting a values look like HTML.
Kaan
Are you using .net 4
Tassadaque
tried in 3.5 and also 4 as well.
Kaan