Foros del Web » Programación para mayores de 30 ;) » .NET »

Error de ajax con asp.net 2.0

Estas en el tema de Error de ajax con asp.net 2.0 en el foro de .NET en Foros del Web. Server Error in '/tecnarrhh' Application. Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the ...
  #1 (permalink)  
Antiguo 19/03/2007, 13:17
 
Fecha de Ingreso: marzo-2007
Mensajes: 1
Antigüedad: 17 años, 1 mes
Puntos: 0
Error de ajax con asp.net 2.0

Server Error in '/tecnarrhh' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
System.Web.Script.Services.WebServiceData.GetWebSe rviceData(HttpContext context, String virtualPath, Boolean failIfNoData, Boolean pageMethods) +378
System.Web.Script.Services.PageClientProxyGenerato r.GetClientProxyScript(HttpContext context, IPage page, Boolean debug) +45
System.Web.UI.ScriptManager.RegisterServices() +728
System.Web.UI.ScriptManager.OnPagePreRenderComplet e(Object sender, EventArgs e) +244
System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +2012708
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1566

alguno sabe como resolver este problema???
  #2 (permalink)  
Antiguo 19/03/2007, 13:25
Avatar de JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 2 meses
Puntos: 772
Re: Error de ajax con asp.net 2.0

Hola leonel_gc2002. Bienvenido al foro.

Para preguntas concretas es preferible utilizar el foro que mejor se adapte a tu duda, así podrán ayudarte más usuarios.

Muevo tu mensaje al foro de .NET desde Bienvenida a Foros del Web.

Saludos,
  #3 (permalink)  
Antiguo 19/03/2007, 16:57
Avatar de HiTek  
Fecha de Ingreso: noviembre-2003
Ubicación: LF, Santiago.Chile
Mensajes: 217
Antigüedad: 20 años, 5 meses
Puntos: 0
Re: Error de ajax con asp.net 2.0

La única forma de resolver eso es depurando tu código... instrucción a instrucción y revisando los valores de variables e instancias de objetos... no hay otra forma... salu2

PD: haz esto, si tiene problemas con alguna línea de tu código en particular coloca un trozo de código y alguien te podrá ayudar...
  #4 (permalink)  
Antiguo 20/03/2007, 11:08
Avatar de RootK
Moderador
 
Fecha de Ingreso: febrero-2002
Ubicación: México D.F
Mensajes: 8.004
Antigüedad: 22 años, 2 meses
Puntos: 50
Re: Error de ajax con asp.net 2.0

hola y bienvenido leonel_gc2002

el error de "Object reference not set to an instance of an object." por lo regular es porque no se ha instanciado algún objeto y se está tratando de utilizar, revisa que tengas instanciado el método que llama a GetWebServiceData(...

Salu2
__________________
Nadie roba nada ya que en la vida todo se paga . . .

Exentrit - Soluciones SharePoint & Net
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 11:11.