Server Error in '/' Application.

Invalid column name "OpeningDate".

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: Invalid column name "OpeningDate".

Source Error:


Line 79: 					</tr>
Line 80: 					<tr>
Line 81: 						<td>@data.OpeningDate.ToString("MMM dd-yyyy")</td>
Line 82: 						<td>@data.ClosingDate.ToString("MMM dd-yyyy")</td>
Line 83: 						<td>@data.eStatus</td>

Source File: C:\inetpub\wwwroot\UAEERF.ae\ar\Content\Dressage\ShowInfo.cshtml    Line: 81

Stack Trace:


[InvalidOperationException: Invalid column name "OpeningDate".]
   WebMatrix.Data.DynamicRecord.VerifyColumn(String name) +172
   WebMatrix.Data.DynamicRecord.get_Item(String name) +23
   WebMatrix.Data.DynamicRecord.TryGetMember(GetMemberBinder binder, Object& result) +17
   CallSite.Target(Closure , CallSite , Object ) +172
   ASP._Page_ar_Content_Dressage_ShowInfo_cshtml.Execute() in C:\inetpub\wwwroot\UAEERF.ae\ar\Content\Dressage\ShowInfo.cshtml:81
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +99
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +182
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +107
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +142


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