Server Error in '/' Application.

Input string was not in a correct format.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error:


Line 553:                name: 'DOMINANDO ÉTICA',
Line 554:                id: "<%= CursoID_ALLIN.Text %>",
Line 555:                price: "<%= (float.Parse(ltOpcao1ValorOpcao.Text))*(float.Parse(ltOpcao1Parcela.Text)) %>",
Line 556:                email:'<%= Session["usuarioEmail"] %>'
Line 557:           }];

Source File: w:\C_\inetpub\cursoexamedaordem.com.br\Web\Curso-Comentario-Questoes-preparatorio-1a-fase-exame-da-ordem-oab-porto-alegre-ead.aspx    Line: 555

Stack Trace:


[FormatException: Input string was not in a correct format.]
   System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt) +459
   System.Single.Parse(String s) +31
   ASP.curso_comentario_questoes_preparatorio_1a_fase_exame_da_ordem_oab_porto_alegre_ead_aspx.__RenderContent2(HtmlTextWriter __w, Control parameterContainer) in w:\C_\inetpub\cursoexamedaordem.com.br\Web\Curso-Comentario-Questoes-preparatorio-1a-fase-exame-da-ordem-oab-porto-alegre-ead.aspx:555
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +169
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +11662239
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +47
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +53
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +169
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +169
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0