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 86:                                 <div class="art-top">
Line 87:                                     <div class="cate-art-image">
Line 88:                                         <a href="<%#Eval("linktome") %>">
Line 89:                                             <img src="/Upload/image/<%#Eval("Thumbnail") %>" onerror="$(this).closest('.cate-art-image').hide().parent().find('.cate-art-right').width('100%')"/>
Line 90:                                         </a>

Source File: c:\inetpub\vhosts\tieuhocthinhquang.edu.vn\httpdocs\Detail.aspx    Line: 88

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   cboCMS.Core.Common.WebControl.ToFriendlyString(String strInput) +65
   cboCMS.Core.Entities.ArticleEnt.get_LinktoMe() +355

[TargetInvocationException: Property accessor 'LinktoMe' on object 'cboCMS.Core.Entities.ArticleEnt' threw the following exception:'Object reference not set to an instance of an object.']
   System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component) +390
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +84
   System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) +92
   System.Web.UI.DataBinder.Eval(Object container, String expression) +106
   System.Web.UI.TemplateControl.Eval(String expression) +40
   ASP.detail_aspx.__DataBind__control23(Object sender, EventArgs e) in c:\inetpub\vhosts\tieuhocthinhquang.edu.vn\httpdocs\Detail.aspx:88
   System.Web.UI.Control.OnDataBinding(EventArgs e) +99
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +92
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +211
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +124
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +443
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +51
   System.Web.UI.WebControls.Repeater.DataBind() +75
   cboCMS.Web.CWeb.View.Bind() +1424
   cboCMS.Web.CWeb.View.Page_Load(Object sender, EventArgs e) +3151
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5491