Server Error in '/' Application.

DataBinding: 'ORM.Article' does not contain a property with the name 'Rating'.

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.Web.HttpException: DataBinding: 'ORM.Article' does not contain a property with the name 'Rating'.

Source Error:


Line 12:     </div>
Line 13:     <div class="rating">
Line 14:         <div title="<%# Eval("ID") %>" id='<%# "StarCRate_"+ Eval("ID") %>' data-score="<%# Eval("Rating") %>" class="StarHolder <%# "StarCRate_"+ Eval("ID") %>" style="margin: auto; padding-bottom: 4px;"></div>
Line 15:         <p>
Line 16:             <span class="vote-num hidden">(

Source File: c:\inetpub\vhosts\golbaft.com\httpdocs\UCP\UCVoucherItem.ascx    Line: 14

Stack Trace:


[HttpException (0x80004005): DataBinding: 'ORM.Article' does not contain a property with the name 'Rating'.]
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +3950406
   System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) +95
   ASP.ucp_ucvoucheritem_ascx.__DataBind__control3(Object sender, EventArgs e) in c:\inetpub\vhosts\golbaft.com\httpdocs\UCP\UCVoucherItem.ascx:14
   System.Web.UI.Control.OnDataBinding(EventArgs e) +100
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +178
   System.Web.UI.Control.DataBindChildren() +248
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +195
   System.Web.UI.Control.DataBindChildren() +248
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +195
   System.Web.UI.WebControls.ListView.CreateItemsWithoutGroups(ListViewPagedDataSource dataSource, Boolean dataBinding, InsertItemPosition insertPosition, ArrayList keyArray) +1199
   System.Web.UI.WebControls.ListView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +1275
   System.Web.UI.WebControls.ListView.PerformDataBinding(IEnumerable data) +53
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +208
   System.Web.UI.WebControls.ListView.PerformSelect() +126
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +134
   System.Web.UI.WebControls.ListView.CreateChildControls() +81
   System.Web.UI.Control.EnsureChildControls() +107
   System.Web.UI.Control.PreRenderRecursiveInternal() +58
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3671


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