ASP.Net 2013: Error when sending email from ASP.Net Form

Hi, we have a WebForm that takes information from the current form and creates a new email form (like a contact form) and when clicking 'send', it falls down.
Can someone help? (attached is the source code of the form).


Error de servidor en la aplicación '/'.

Se detectó un posible valor Request.Form peligroso en el cliente (htx="...          <tbody><tr class="li...").

Descripción: ASP.NET ha detectado datos en la solicitud que son potencialmente peligrosos porque incluyen script o marcado HTML. Es posible que los datos representen un intento de poner en peligro la seguridad de la aplicación, como un ataque XSS. Si el tipo de entrada es apropiado en la aplicación, puede incluir código en una página web para permitirlo explícitamente. Para obtener más información, consulte http://go.microsoft.com/fwlink/?LinkID=212874.

Detalles de la excepción: System.Web.HttpRequestValidationException: Se detectó un posible valor Request.Form peligroso en el cliente (htx="...          <tbody><tr class="li...").

Error de código fuente:

[Líneas de código fuente no relevantes]

Archivo de origen: c:\Users\JaPi\AppData\Local\Temp\Temporary ASP.NET Files\root\bd4d9060\2a3e2919\App_Web_rilrwmk2.18.cs    Línea: 0

Seguimiento de la pila:

[HttpRequestValidationException (0x80004005): Se detectó un posible valor Request.Form peligroso en el cliente (htx="...          <tbody><tr class="li...").]
   System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) +9685209
   System.Web.HttpRequest.ValidateHttpValueCollection(HttpValueCollection collection, RequestValidationSource requestCollection) +184
   System.Web.HttpRequest.get_Form() +55
   System.Web.HttpRequest.get_HasForm() +9686771
   System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +95
   System.Web.UI.Page.DeterminePostBackMode() +69
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6704
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +245
   System.Web.UI.Page.ProcessRequest() +72
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +58
   ASP.views_clientcallact_aspx.ProcessRequest(HttpContext context) in c:\Users\JaPi\AppData\Local\Temp\Temporary ASP.NET Files\root\bd4d9060\2a3e2919\App_Web_rilrwmk2.18.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

Información de versión: Versión de Microsoft .NET Framework:4.0.30319; Versión ASP.NET:4.0.30319.34212
ClientCallAct.txt
LVL 2
José PerezAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
you can disable script checking for that page
https://msdn.microsoft.com/en-us/library/hh882339.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
José PerezAuthor Commented:
Ok. I'll try tomorrow.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.