| | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Today @ 3:26:36 PM Posts: 1,193, Visits: 3,031 |
| I just added a call to show the user the change password dialog. However, there are some problems with it.
- The user isn't set. The user name textbox is blank. How does this get set? I'm calling after logging on, so there is a current user.
- The Confirm Password label is cut off. I tried to set the form as resizable, but the label isn't anchored.
- The tab order is apparently whacked. It tabs from the old password to the OK button, that's all.
Maybe there is another way to call this that I'm missing? |
| | | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Today @ 3:26:36 PM Posts: 1,193, Visits: 3,031 |
| OK, I found the Login.ShowPasswordChangeForm() method. I call it and the user name is set. I then successfully change the password (rather the method returns true).
I then go to test it. I log off and try to log back on with the new password (I stay within the application, just change the current user), I get an exception:
ArgumentException
An entry with the same key already exists.
Source : System
Stack Trace:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.TreeSet`1.Add(T item)
at System.Collections.Generic.SortedDictionary`2.Add(TKey key, TValue value)
at MicroFour.StrataFrame.Security.Login.AuthenticateUser(String Username, String Password, String Domain, SFSUsersBO& User)
at MicroFour.StrataFrame.Security.Login.AttemptLogin(Object sender, EventArgs e)
at FOXSystems.RAMS.RAMSLoginForm.OnAttemptLogin() in RAMSLoginForm.vb:line 38
at FOXSystems.RAMS.RAMSLoginForm.btnOk_Click(Object sender, EventArgs e) in RAMSLoginForm.vb:line 322
...etc.
Note I'm using my own login form.
When I exit the application and attempt to login, the login fails, saying the credentials provided can't be authenticated.
I must be missing something, because I'm pretty sure this method/form is well used by many of you... 
Any help appreciated! |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 08/01/2008 8:53:41 AM Posts: 2,671, Visits: 1,879 |
| | | | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Today @ 3:26:36 PM Posts: 1,193, Visits: 3,031 |
| | | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 08/01/2008 8:53:41 AM Posts: 2,671, Visits: 1,879 |
| I ran into a few snags with it on Friday. I'll let you know a better timeline on a fix after our scheduling meeting on Tuesday with Trent back in town.
www.bungie.net |
| | | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Today @ 3:26:36 PM Posts: 1,193, Visits: 3,031 |
| | | | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Today @ 3:26:36 PM Posts: 1,193, Visits: 3,031 |
| | What is the status on this? Are there any work arounds? |
| | | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Today @ 3:26:36 PM Posts: 1,193, Visits: 3,031 |
| | | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 9:23:48 AM Posts: 4,366, Visits: 4,392 |
| | Yeah, it is on our list and will be fixed before we release the next update. Sorry for the delay, but we have made a number of enhancements to the core of the framework in the UI side to improve rendering and performance accross RDP sessions and in general, along with some other changes that we have really wanted to test in depth before pushing out a build. That is where the delay has been. But this will be included in the next update when released. |
| | | |
|