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 1752:        {
Line 1753:
Line 1754:            if (!item.Publicado)
Line 1755:            {
Line 1756:                return false;

Source File: g:\pleskvhosts\grupobiz.com.mx\fridmans.com\App_Code\BLL\Items.cs    Line: 1754

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   BLL.Items.VerificarPublicacionItem(Item item) in g:\pleskvhosts\grupobiz.com.mx\fridmans.com\App_Code\BLL\Items.cs:1754
   Controles_ucWebItemView.Page_Prerender(Object sender, EventArgs e) in g:\pleskvhosts\grupobiz.com.mx\fridmans.com\Controles\ucWebItemView.ascx.cs:42
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnPreRender(EventArgs e) +9884298
   System.Web.UI.Control.PreRenderRecursiveInternal() +90
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +906


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