Server Error in '/' Application.

Form control does not have ControlMode set.

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: Microsoft.SharePoint.SPException: Form control does not have ControlMode set.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SPException: Form control does not have ControlMode set.]
   Microsoft.SharePoint.WebControls.FormControlHelper.get_ControlMode() +631
   Microsoft.SharePoint.WebControls.BaseFieldControl.OnInit(EventArgs e) +58
   System.Web.UI.Control.InitRecursive(Control namingContainer) +433
   System.Web.UI.Control.InitRecursive(Control namingContainer) +219
   System.Web.UI.Control.InitRecursive(Control namingContainer) +219
   System.Web.UI.Control.InitRecursive(Control namingContainer) +219
   System.Web.UI.Control.InitRecursive(Control namingContainer) +219
   System.Web.UI.Control.InitRecursive(Control namingContainer) +219
   System.Web.UI.Control.InitRecursive(Control namingContainer) +219
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1616


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