Change Password Dialog Issues/Questions


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.5K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
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?

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.5K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
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... Unsure



Any help appreciated!
StrataFrame Team
S
StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Well, let me work up a sample and I'll let you know.
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.5K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
How's this going Ben?
StrataFrame Team
S
StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
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.
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.5K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Thanks Ben!
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.5K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
What is the status on this? Are there any work arounds?
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.5K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Any progress on this?
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.5K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Cool BigGrin
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search