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 72:                             <li>
Line 73:                                 <%=LocalizedString("txEmail")%>:
Line 74:                                 <%# ReturnData(profile.Email, "string")%></li>
Line 75:                             <asp:Panel ID="pnlPublish" runat="server">
Line 76:                                 <li><a onclick="show_hidden( '.user_info_container li.hidden', this, '<%=LocalizedString("txHide") %>' ); return false">

Source File: e:\inetpub\wwwroot\weekoflife.com\controls\blocks\userweeks.ascx    Line: 74

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.controls_blocks_userweeks_ascx.__DataBind__control2(Object sender, EventArgs e) in e:\inetpub\wwwroot\weekoflife.com\controls\blocks\userweeks.ascx:74
   System.Web.UI.Control.OnDataBinding(EventArgs e) +97
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +173
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   MrCode.Epos.Web.Controls.Blocks.UserWeeks.Page_Load(Object sender, EventArgs e) +636
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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