Server Error in '/' Application.

A referência de objecto não foi definida como uma instância de um objecto.

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: A referência de objecto não foi definida como uma instância de um objecto.

Source Error:


Line 86:     public string GetEntidadeLogo()
Line 87:     {
Line 88:         if (entidadeItem.Logo != null)
Line 89:             return entidadeItem.Logo;
Line 90:         else

Source File: c:\inetpub\wwwroot\IAPMEIwebsite\CMS\CMSTemplates\Iapmei\ENTIDADES\Detail.aspx.cs    Line: 88

Stack Trace:


[NullReferenceException: A referência de objecto não foi definida como uma instância de um objecto.]
   CMSTemplates_Iapmei_ENTIDADES_Detail.GetEntidadeLogo() in c:\inetpub\wwwroot\IAPMEIwebsite\CMS\CMSTemplates\Iapmei\ENTIDADES\Detail.aspx.cs:88
   CMSTemplates_Iapmei_ENTIDADES_Detail.LoadEntidadeLogo() in c:\inetpub\wwwroot\IAPMEIwebsite\CMS\CMSTemplates\Iapmei\ENTIDADES\Detail.aspx.cs:43
   CMSTemplates_Iapmei_ENTIDADES_Detail.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\IAPMEIwebsite\CMS\CMSTemplates\Iapmei\ENTIDADES\Detail.aspx.cs:33
   System.Web.UI.Control.OnLoad(EventArgs e) +105
   CMS.UIControls.ContentPage.OnLoad(EventArgs e) +48
   System.Web.UI.Control.LoadRecursive() +67
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3784


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