﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / Role Based Security  / Error executing SetPermissionsFromUser / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Tue, 02 Dec 2008 16:34:46 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Error executing SetPermissionsFromUser</title><link>http://forum.strataframe.net/Topic7895-21-1.aspx</link><description>I checked all the data and it all looked okay.  I had the customer remove all the user permissions, save, and then add everything back. The problem seemed to go away.&lt;/P&gt;&lt;P&gt;It seems to be a one-off for now so I won't worry about it.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Wed, 04 Apr 2007 18:41:20 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: Error executing SetPermissionsFromUser</title><link>http://forum.strataframe.net/Topic7895-21-1.aspx</link><description>Have you opened up the SFSUsers and SFSPermissions tables to make sure there are not any NULL values?  Second, are you doing anything (i.e. creating an audit record) when a user logs in?  One thing you can do is turn on the data debugger so you can see the query.  More than likely this is where you are going to end up so I would just start there by turning on the data debugger for that data source.</description><pubDate>Wed, 04 Apr 2007 13:09:51 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Error executing SetPermissionsFromUser</title><link>http://forum.strataframe.net/Topic7895-21-1.aspx</link><description>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.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;TIm&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"&gt;InvalidOperationException&lt;BR&gt; Nullable object must have a value.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P class=MsoNormal&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;SPAN style="FONT-SIZE: 12pt"&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"&gt;Source     : mscorlib&lt;/SPAN&gt;&lt;/FONT&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P class=MsoNormal&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;SPAN style="FONT-SIZE: 12pt"&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"&gt;Stack Trace: &lt;BR&gt;   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)&lt;BR&gt;   at System.Nullable`1.get_Value()&lt;BR&gt;   at MicroFour.StrataFrame.Security.LoggedInUser.SetPermissionsFromUser(Int32 UserPK)&lt;BR&gt;   at MicroFour.StrataFrame.Security.LoggedInUser.CreateNew(SFSUsersBO UserInfo)&lt;BR&gt;   at MicroFour.StrataFrame.Security.LoggedInUser.SetLoggedOnUser(SFSUsersBO UserInfo)&lt;BR&gt;   at MicroFour.StrataFrame.Security.Login.AttemptLogin(Object sender, EventArgs e)&lt;BR&gt;   at Avanti.MenuSystem.AvantiLoginForm.OnAttemptLogin()&lt;BR&gt;   at Avanti.MenuSystem.AvantiLoginForm.cmdOk_Click(Object sender, EventArgs e)&lt;BR&gt;   at System.Windows.Forms.Control.OnClick(EventArgs e)&lt;BR&gt;   at System.Windows.Forms.Button.OnClick(EventArgs e)&lt;BR&gt;   at System.Windows.Forms.Button.PerformClick()&lt;BR&gt;   at Avanti.MenuSystem.AvantiLoginForm.txtPassword_KeyDown(Object sender, KeyEventArgs e)&lt;BR&gt;   at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)&lt;BR&gt;   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Control.ProcessKeyMessage(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Control.WmKeyChar(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.TextBoxBase.WndProc(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.TextBox.WndProc(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Control.ControlNative&amp;#119;indow.OnMessage(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Control.ControlNative&amp;#119;indow.WndProc(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Native&amp;#119;indow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P class=MsoNormal&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;SPAN style="FONT-SIZE: 12pt"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;</description><pubDate>Wed, 04 Apr 2007 12:41:08 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item></channel></rss>