error managing users with encryption

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/7/2007 8:45:43 PM
Gravatar
Total Posts 21

error managing users with encryption

I was trying to edit user profiles after I turned on encryption (no hashing)

the default admin users password isn't encrypted yet..

but the new user (with admin rights is)

they both seem to generate the following error when I click on the little gears:

 

==============================================

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[CryptographicException: Length of the data to decrypt is invalid.]
System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) +1493282
System.Security.Cryptography.CryptoStream.FlushFinalBlock() +30
System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo) +154
System.Web.Security.MembershipProvider.DecryptPassword(Byte[] encodedPassword) +107
mojoPortal.Web.mojoMembershipProvider.DecryptPassword(Byte[] encodedPassword) +4
mojoPortal.Web.mojoMembershipProvider.UnEncodePassword(String pass, MembershipPasswordFormat passwordFormat) +88
mojoPortal.Web.AdminUI.ManageUsers.PopulateControls() +1239
mojoPortal.Web.AdminUI.ManageUsers.Page_Load(Object sender, EventArgs e) +519
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

2/8/2007 4:09:46 PM
Gravatar
Total Posts 18439

Re: error managing users with encryption

I was able to reproduce this error and it is now fixed in the new release.

Thanks,

Joe
You must sign in to post in the forums. This thread is closed to new posts.