I have a client that is getting this error when they login. All other users can login without problems. Any idea's what could be the cause? This particular user has been logging in fine for 2-3 weeks. It started happening this morning.Thanks
TIm
InvalidOperationException
Nullable object must have a value.
Stack Trace:
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Nullable`1.get_Value()
at MicroFour.StrataFrame.Security.LoggedInUser.SetPermissionsFromUser(Int32 UserPK)
at MicroFour.StrataFrame.Security.LoggedInUser.CreateNew(SFSUsersBO UserInfo)
at MicroFour.StrataFrame.Security.LoggedInUser.SetLoggedOnUser(SFSUsersBO UserInfo)
at MicroFour.StrataFrame.Security.Login.AttemptLogin(Object sender, EventArgs e)
at Avanti.MenuSystem.AvantiLoginForm.OnAttemptLogin()
at Avanti.MenuSystem.AvantiLoginForm.cmdOk_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.PerformClick()
at Avanti.MenuSystem.AvantiLoginForm.txtPassword_KeyDown(Object sender, KeyEventArgs e)
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)