Server Error in '/' Application.

Nullable object must have a value.

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.InvalidOperationException: Nullable object must have a value.

Source Error:


Line 65:   Accepted: &nbsp;<%:System.Globalization. CultureInfo.CurrentCulture.DateTimeFormat.GetMonthName(Model.acceptedDate.Value.Month)  %>&nbsp;<%:Model.acceptedDate.Value.Day  %>, <%:Model.acceptedDate.Value.Year  %>
Line 66:   <br />
Line 67:   ePublished: &nbsp;<%:System.Globalization. CultureInfo.CurrentCulture.DateTimeFormat.GetMonthName(Model.ePublishedDate.Value.Month) %>&nbsp;<%:Model.ePublishedDate.Value.Day  %>, <%:Model.ePublishedDate.Value.Year  %>
Line 68: 
Line 69:     </div>

Source File: c:\inetpub\vhosts\afarandjournals.ir\httpdocs\Views\Article\BriefText.aspx    Line: 67

Stack Trace:


[InvalidOperationException: Nullable object must have a value.]
   System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) +60
   System.Nullable`1.get_Value() +24
   ASP.views_article_brieftext_aspx.__RenderContent2(HtmlTextWriter __w, Control parameterContainer) in c:\inetpub\vhosts\afarandjournals.ir\httpdocs\Views\Article\BriefText.aspx:67
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +169
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +169
   System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer) +75
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


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