Thanks
TIm
InvalidOperationException Nullable object must have a value.
Source : mscorlib
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)