Ir ao conteúdo
  • Cadastre-se

server error


Carrasca

Posts recomendados

não consigo navegar no site da C&A, me dá uma mensagem de erro, e no site www.escoladna.com.br, que fica carregando por horas e simplesmente não abre, não sei se existe algum tipo de bloqueio pois eu navegava normalmente por esses sites semana passada, talvez estejam bloqueados e peço a ajudas de vocês. Obrigada.

Server Error in '/' 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:

Line 69: //Pega Indice no Array

Line 70: Collection<Product> produto = (Collection<Product>)Session["prd"];

Line 71: Product prod = produto[int.Parse(lbIdArray.Text) + 1];

Line 72: imgVitrine.ImageUrl = prod.imgUrlPath;

Line 73:

Source File: d:\Inetpub\wwwroot\vitrine\Default.aspx.cs Line: 71

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]

vitrine_Default.imbProximo_Click(Object sender, EventArgs e) in d:\Inetpub\wwwroot\vitrine\Default.aspx.cs:71

System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +105

System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +115

System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11

System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

:help::help::help::help:

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

Link para o comentário
Compartilhar em outros sites

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Sobre o Clube do Hardware

No ar desde 1996, o Clube do Hardware é uma das maiores, mais antigas e mais respeitadas comunidades sobre tecnologia do Brasil. Leia mais

Direitos autorais

Não permitimos a cópia ou reprodução do conteúdo do nosso site, fórum, newsletters e redes sociais, mesmo citando-se a fonte. Leia mais

×
×
  • Criar novo...