Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/08/2004, 12:55
VAMP_01
 
Fecha de Ingreso: marzo-2002
Mensajes: 99
Antigüedad: 22 años, 2 meses
Puntos: 0
Me ayudan co este error...gracias

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

Referencia a objeto no establecida como instancia de un objeto.
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.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.

Error de código fuente:


Línea 118: Dim objConn As New OleDbConnection (ConfigurationSettings.appSettings("NRC"))
Línea 119: Dim sSQL, Resul as string
Línea 120:sSQL = "insert into CABE_DCTO (SEQ_CBDC,IATA,RAZON_SOCIAL,NUM_DCTO,FCH_EMISION,F CH_RECEPCION,TIPO_SOL,MOTIVO,PER_LIQ,NUM_TKT,FCH_T KT,OBS,USR,SOC_RECEPCION,NMBR_PAX,OTRO) VALUES (cbdc.nextval,'"& iata.text &"','"& nmbr_iata.text &"','"& num_dcto.text &"',to_date("& fch_emision.text &",'dd-mm-yyyy'),to_date("& fch_recepcion.text &",'dd-mm-yyyy'),"& tp_sol.selecteditem.value &","& motivo.selecteditem.value &",'"& per_liq.text &"','"& num_tkt.text &"',to_date("& fch_tkt.text &",'dd-mm-yyyy'),'"& obs.text &"','" & Request.Cookies("usuario")("usuario") & "','"& soc_rec.selecteditem.value &"','"& nmbr_pax.text &"','"& otros.text &"')"
Línea 121: response.Write(ssql)
Línea 122:' Dim objCmd As New OleDbCommand (sSQL, objConn)


Archivo de origen: c:\inetpub\wwwroot\nrc\RECEPCION_dcto.aspx Línea: 120

Seguimiento de la pila:


[NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.]
ASP.recepcion_dcto_aspx.adddcto_click(Object obj, EventArgs e) in c:\inetpub\wwwroot\nrc\RECEPCION_dcto.aspx:120
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +58
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1277