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 152:            
Line 153:            
Line 154:            litNombreSubservicio.Text = clsTraduccion._e(elSubservicio.NombreSubservicio, idioma, false);
Line 155:            litNombreSubservicioOtras.Text = clsTraduccion._e(elSubservicio.NombreSubservicio, idioma, false);
Line 156:            //litDescipcionSubservicio.Text = clsTraduccion._e(elSubservicio.SubtituloSubservicio, idioma, false);

Source File: c:\inetpub\vhosts\imqbienstar.es\app\listaOfertas.aspx.cs    Line: 154

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   es_index.CargarOfertas() in c:\inetpub\vhosts\imqbienstar.es\app\listaOfertas.aspx.cs:154
   es_index.Page_PreRender(Object sender, EventArgs e) in c:\inetpub\vhosts\imqbienstar.es\app\listaOfertas.aspx.cs:82
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnPreRender(EventArgs e) +11906435
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6874


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