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

La cadena de entrada no tiene el formato correcto.

Descripción: Excepción no controlada al ejecutar la solicitud Web actual. Revise el seguimiento de la pila para obtener más información acerca del error y dónde se originó en el código.

Detalles de la excepción: System.FormatException: La cadena de entrada no tiene el formato correcto.

Error de código fuente:


Línea 14:             imgwebvisible = False
Línea 15:             decode_imagenweb = ""
Línea 16:         ElseIf web = 1 Then
Línea 17:             decode_imagenweb = "../imagenes/alhambraorg.png"
Línea 18:         ElseIf web = 2 Then

Archivo de origen: C:\web\securebook\App_Code\byt.vb    Línea: 16

Seguimiento de la pila:


[FormatException: La cadena de entrada no tiene el formato correcto.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) +213
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) +81

[InvalidCastException: La conversión de la cadena "16etls=3" en el tipo 'Double' no es válida.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) +198
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value) +11
   byt.decode_imagenweb(String web, Boolean& imgwebvisible) in C:\web\securebook\App_Code\byt.vb:16
   formulariosM_formulario_alhambra_regular.Page_load(Object sender, EventArgs e) in C:\web\securebook\formularios\formulario_alhambra_regular.aspx.vb:368
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


Información de versión: Versión de Microsoft .NET Framework:4.0.30319; Versión ASP.NET:4.7.4069.0