BV Commerce Forum
»
BV Commerce Support
»
General Support
»
Edit User Error after Changing Password Format from Hashed to Encrypt
Rank: Member
Joined: 8/19/2009(UTC) Posts: 9
|
Hello,
I received the following error message in the event log after trying to change the Password Format from HASHED to ENCRYPTED.
Length of the data to decrypt is invalid.[ at System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at System.Security.Cryptography.CryptoStream.FlushFinalBlock() at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at System.IO.Stream.Dispose() at BVSoftware.Bvc5.Core.Utilities.Cryptography.TripleDesEncryption.Decode(String message) in c:\workspaces\super8x64\BVCommerce\Main\App\source\BVSoftware.Bvc5.Core\Utilities\Cryptography\TripleDesEncryption.vb:line 109 at BVSoftware.Bvc5.Core.Membership.UserAccount.DecryptPassword(String password) in c:\workspaces\super8x64\BVCommerce\Main\App\source\BVSoftware.Bvc5.Core\Membership\UserAccount.vb:line 482 at BVAdmin_People_users_edit.LoadUser() at BVAdmin_People_users_edit.Page_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ]
At the moment I cannot edit this particular user's info.
Also, can anyone tell me what table and field is the Password Format located at. I tried to manually change this field in the Users table, but I'm not seeing a Password Format field.
Thanks in advance.
|
|
|
|
Rank: Member
Joined: 7/22/2009(UTC) Posts: 22
|
This does indeed look like a bug. I recommend making the following change to your BVadmin/People/users_edit.aspx.vb in the LoadUser() function: bvsupport attached the following image(s): LoadUser.gif (9kb) downloaded 71 time(s).You cannot view/download attachments. Try to login or register. |
BV Software Support - Kaleo |
|
|
|
Rank: Member
Joined: 8/19/2009(UTC) Posts: 9
|
I've made the change you suggested and I'm now able to edit the user. Can you explain to me what the new code does. The error message informs me that I must reset the password. Is that done by the user through the front-end or can that be done in the admin back-end?
Thanks, Albert
|
|
|
|
Rank: Member
Joined: 7/22/2009(UTC) Posts: 22
|
This allows you to reset the password in the Admin back-end if it fails to decrypt for any reason. |
BV Software Support - Kaleo |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.