Error de servidor en la aplicación '/'.

Unknown column 'producto.titulo' in 'field list' => select oferta.*, (case when fechaini is null and fechafin is null then 1 when now()>=fechaini and now()<=(fechafin+1) then 1 else 0 end) as activa, producto.titulo as protitulo from web_ofertas as oferta inner join gco_productos as producto on oferta.idproducto = producto.id where oferta.idproducto = @idproducto and oferta.tipooferta = @tipooferta and (case when fechaini is null and fechafin is null then 1 when now()>=fechaini and now()<=(fechafin+1) then 1 else 0 end) = @activa ///// @IdProducto = 4721; @TipoOferta = 1; @Activa = 1;

Descripción: Excepción no controlada al ejecutar la solicitud Web actual. Revise el seguimiento de la pila para obtener más información acerca del error y dónde se originó en el código.

Detalles de la excepción: System.Exception: Unknown column 'producto.titulo' in 'field list' => select oferta.*, (case when fechaini is null and fechafin is null then 1 when now()>=fechaini and now()<=(fechafin+1) then 1 else 0 end) as activa, producto.titulo as protitulo from web_ofertas as oferta inner join gco_productos as producto on oferta.idproducto = producto.id where oferta.idproducto = @idproducto and oferta.tipooferta = @tipooferta and (case when fechaini is null and fechafin is null then 1 when now()>=fechaini and now()<=(fechafin+1) then 1 else 0 end) = @activa ///// @IdProducto = 4721; @TipoOferta = 1; @Activa = 1;

Error de código fuente:

Se ha generado una excepción no controlada durante la ejecución de la solicitud Web actual. La información sobre el origen y la ubicación de la excepción pueden identificarse utilizando la excepción del seguimiento de la pila siguiente.

Seguimiento de la pila:


[Exception: Unknown column 'producto.titulo' in 'field list' => select oferta.*, (case when fechaini is null and fechafin is null then 1 when now()>=fechaini and now()<=(fechafin+1) then 1 else 0 end) as activa, producto.titulo as protitulo from web_ofertas as oferta inner join gco_productos as producto on oferta.idproducto = producto.id where oferta.idproducto = @idproducto and oferta.tipooferta = @tipooferta and (case when fechaini is null and fechafin is null then 1 when now()>=fechaini and now()<=(fechafin+1) then 1 else 0 end) = @activa ///// @IdProducto = 4721; @TipoOferta = 1; @Activa = 1; ]
   ECC.BaseDeDatosGlobal.AbrirConsultaDT(String pSQL, List`1 pParametros, Int32 iStartRecord, Int32 iMaxRecords) +695
   ECC.Negocio.WebComics.BDOferta.GetListadoCompleto(FiltroOferta pFiltro, String pOrden, Int32 pStartRecord, Int32 pMaxRecords) +902
   ECC.Negocio.WebComics.ListadoOfertas.GetListadoCompleto() +116
   ECC.Negocio.Distribucion.Producto.GetOfertaDescuentoActiva() +269
   _Default.CogerProducto() +132
   _Default.OnInit(EventArgs e) +85
   System.Web.UI.Control.InitRecursive(Control namingContainer) +166
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1598


Información de versión: Versión de Microsoft .NET Framework:4.0.30319; Versión ASP.NET:4.7.3770.0