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 184:            HrefAttach.NavigateUrl = BEDataRow.Attach
Line 185:        End If
Line 186:        Me.UserID = BEDataRow.UserID
Line 187:
Line 188:

Source File: C:\inetpub\wwwroot\RayWhite\RayWhite\people\Details.aspx.vb    Line: 186

Stack Trace:


[InvalidOperationException: Nullable object must have a value.]
   System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) +56
   System.Nullable`1.op_Explicit(Nullable`1 value) +27
   People_Details.SetPageControl() in C:\inetpub\wwwroot\RayWhite\RayWhite\people\Details.aspx.vb:186
   People_Details.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\RayWhite\RayWhite\people\Details.aspx.vb:66
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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