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 301:                Master.Page.MetaDescription = Common.GetAuction_MetaDescription(auction.title, auction.description);
Line 302:
Line 303:				expiration_check = DateTime.Parse(auction.end_date.Value.ToString("MM/dd/yyyy 23:59:59.999"));
Line 304:				if (expiration_check < DateTime.Now)
Line 305:				{

Source File: \\fs2-n02\stor2wc2dfw1\428388\www.murphyauction.com\web\content\Auction\Details.aspx.cs    Line: 303

Stack Trace:


[InvalidOperationException: Nullable object must have a value.]
   System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) +56
   System.Nullable`1.get_Value() +2787358
   Auction_Default.Page_Load(Object sender, EventArgs e) in \\fs2-n02\stor2wc2dfw1\428388\www.murphyauction.com\web\content\Auction\Details.aspx.cs:303
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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