'Unable to validate data' whenever I try to manage my account or the Admin account.

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
3/7/2011 4:07:59 PM
Gravatar
Total Posts 4

'Unable to validate data' whenever I try to manage my account or the Admin account.

I get the following message whenever I click on "Manage" for the Admin account or my account.  All others work fine.  I can view the profile information, just can't "Manage" it.

 

Thanks!!

 

Server Error in '/' Application.
--------------------------------------------------------------------------------

Unable to validate data.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Unable to validate data.

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:


[HttpException (0x80004005): Unable to validate data.]
   System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo, Boolean useLegacyMode, IVType ivType, Boolean signData) +1081
   System.Web.Security.MembershipAdapter.EncryptOrDecryptData(Boolean encrypt, Byte[] buffer, Boolean useLegacyMode) +34
   System.Web.Security.MembershipProvider.DecryptPassword(Byte[] encodedPassword) +128
   mojoPortal.Web.mojoMembershipProvider.UnencodePassword(String pass, MembershipPasswordFormat passwordFormat) +46
   mojoPortal.Web.AdminUI.ManageUsers.PopulateControls() +3808
   mojoPortal.Web.AdminUI.ManageUsers.Page_Load(Object sender, EventArgs e) +1213
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) +13
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

 

3/9/2011 8:32:31 AM
Gravatar
Total Posts 18439

Re: 'Unable to validate data' whenever I try to manage my account or the Admin account.

It sounds like you are using encrypted passwords but your machine key has changed so now it cannot decrypt the passwords.

When you upgrade you need to always keep the same machine key and transfer it to the new Web.config file.

http://www.mojoportal.com/use-a-custom-machine-key.aspx

Hope it helps,

Joe

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