Home » Questions

Question: Potentially dangerous Request

13. September 2009 by thebeebs 0 Comments

I just had someone ask me a question and I thought rather than just answering them back i’d put my response on my blog. I’ll do it for all future questions I get, in the hope that it will help some poor sole with the same problem:



Any ideas/pointers for this one?... A potentially dangerous Request.Form value was detected from the client (ctl00$main$txtComments="... (12.14%) ").



Asp.net is busting because it’s detected something in one of the forms that could be code to perform an SQL injection hack.

You can switch the validation check off in a page at the top of a document by changing EnableEventValidation to false:



Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Add comment

(Will show your Gravatar icon)  

  Country flag

  • Comment
  • Preview