+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Error - Add "Select shared content"

Error - Add "Select shared content"

6 posts, 0 answered
  1. Ruben Herrera
    Ruben Herrera avatar
    38 posts
    Registered:
    10 Jul 2009
    15 Apr 2010
    Link to this post
    Hello,

    I´m using 3.7 SP2.
    Release Sitefinity 3.7 SP2
    3.7.2057.2 - standard

    I get this error when I try to add shared content (in a Generic Content):

    Error de servidor en la aplicación '/axcms'.
    No se encontró ningún campo o propiedad 'Author' en el origen de datos seleccionado.
    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.Web.HttpException: No se encontró ningún campo o propiedad 'Author' en el origen de datos seleccionado.
     
    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:
     
    [HttpException (0x80004005): No se encontró ningún campo o propiedad 'Author' en el origen de datos seleccionado.]
       System.Web.UI.WebControls.BoundField.GetValue(Control controlContainer) +395
       System.Web.UI.WebControls.BoundField.OnDataBindField(Object sender, EventArgs e) +64
       System.Web.UI.Control.OnDataBinding(EventArgs e) +73
       System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +139
       System.Web.UI.Control.DataBind() +15
       System.Web.UI.Control.DataBindChildren() +205
       System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +149
       System.Web.UI.Control.DataBind() +15
       System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) +156
       System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +2432
       System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +57
       System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) +14
       System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +104
       System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +27
       System.Web.UI.WebControls.DataBoundControl.PerformSelect() +133
       System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +71
       System.Web.UI.WebControls.GridView.DataBind() +4
       Telerik.Cms.Engine.WebControls.SelectContentDialog.OnPreRender(EventArgs e) +37
       System.Web.UI.Control.PreRenderRecursiveInternal() +91
       System.Web.UI.Control.PreRenderRecursiveInternal() +180
       System.Web.UI.Control.PreRenderRecursiveInternal() +180
       System.Web.UI.Control.PreRenderRecursiveInternal() +180
       System.Web.UI.Control.PreRenderRecursiveInternal() +180
       System.Web.UI.Control.PreRenderRecursiveInternal() +180
       System.Web.UI.Control.PreRenderRecursiveInternal() +180
       System.Web.UI.Control.PreRenderRecursiveInternal() +180
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3871
     
     
    Información de versión: Versión de Microsoft .NET Framework:2.0.50727.3603; Versión ASP.NET:2.0.50727.3082


    Regards
    Rubén
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    15 Apr 2010
    Link to this post
    Hello Ruben Herrera,

    You have a bound field/you are using Eval that does not exist in the datasource to which the control - GridView is bound.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Ruben Herrera
    Ruben Herrera avatar
    38 posts
    Registered:
    10 Jul 2009
    15 Apr 2010
    Link to this post
    Hi, Ivan Dimitrov

    I´m using defaults sitefinity controls. When I create a new item in Generic Content Module "author" field is not mandatory and nothing happends if I write or not this field. When I try to select this in a page I get error.

    Steps:
    -Modules->Generic Content -> Create new item
    -Pages ->Sitemap-> TestPage-> Edit-> AddControl-> Generic Content ->Edit(generic content) -> Select Share Content -> Error!

    What I´m doing wrong?

    Thanks
    Rubén

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    15 Apr 2010
    Link to this post
    Hi Ruben Herrera,

    I am not able to reproduce this problem locally. If you have made any upgrades recently make sure that you have not missed something to merge or add. Also make sure that the website has not been precompiled against .NET Framework version that is different from 2.0 or 3.5.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. Ruben Herrera
    Ruben Herrera avatar
    38 posts
    Registered:
    10 Jul 2009
    16 Apr 2010
    Link to this post
    Hi Ivan Dimitro

    I´ll check it but it´s weird, I have followed same steps but crash. I have made only one upgrade 3.6 to 3.7 but all is working well for months.

    Regards
    Rubén
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    16 Apr 2010
    Link to this post
    Hello Ruben Herrera,

    Unfortunately we are not able to reproduce this error. Please check the project build version. Try using an old backup of your database with a test project to see whether the problem will persist.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Register for webinar
6 posts, 0 answered