0

I have an MVC application that receives error reports from my app, however when the app sends sql errors I get an error from my mvc application saying that its dangerous code, is there any way to overcome this and get it to insert the text into the field in the database?

error below:

A potentially dangerous Request.Form value was detected from the client (exStackTrace="...teProgram.(SQLiteProgram...").

Soner Gönül
  • 97,193
  • 102
  • 206
  • 364
user2029541
  • 666
  • 3
  • 12
  • 22
  • have you tried to catch the exception, and insert the e.message into the database? – U. Busto Mar 13 '15 at 11:38
  • possible duplicate of [A potentially dangerous Request.Form value was detected from the client](http://stackoverflow.com/questions/81991/a-potentially-dangerous-request-form-value-was-detected-from-the-client) – Kritner Mar 13 '15 at 11:49

0 Answers0