Error When Trying to Manage User

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.
8/15/2009 9:47:54 AM
Gravatar
Total Posts 110

Error When Trying to Manage User

 Hello,

I can successfully access the Mange User screen for all users except users that are created using Windows Live ID.  When trying to access the Manage User page for a Live ID user, I receive the 'We're sorry but a server error has occurred while trying to process your request.' error page.

I have looked in the log and ERROR information has been posted (below) but I don't really understand what i can do to resolve it.

/Admin/ManageUsers.aspx?userid=11
System.FormatException: Invalid character in a Base-64 string.
at System.Convert.FromBase64String(String s)
at mojoPortal.Web.mojoMembershipProvider.UnencodePassword(String pass, MembershipPasswordFormat passwordFormat)
at mojoPortal.Web.AdminUI.ManageUsers.PopulateControls()
at mojoPortal.Web.AdminUI.ManageUsers.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Help would be appreciated to resolve this.

Cheers.

8/15/2009 9:59:58 AM
Gravatar
Total Posts 18439

Re: Error When Trying to Manage User

Hi David,

I have not encountered this problem before. What version of mojoPortal?

Are you using Encrypted or hashed passwords? 

Have you looked at the record in the mp_Users table? Does it appear to have a password encrypted/hashed like the others?

Hope it helps,

Joe

8/15/2009 10:06:20 AM
Gravatar
Total Posts 18439

Re: Error When Trying to Manage User

I think I see the problem. When a user registers with WindowsLiveID we are creating a randoom password which is not used, but we are not encoding it according to the site settings password format. So it causes this error when it tries to decode it.

I will fix this for the next release. The only work around I can think of at the moment to fix specific records is to copy an encrypted password from another row into the password field of the bad rows so they can be decrypted. It doesn't really matter what the password is since its not used in authenticating with windows live.

Sorry for the inconvience and thanks for the bug report.

Best,

Joe

8/15/2009 1:59:25 PM
Gravatar
Total Posts 110

Re: Error When Trying to Manage User

Thanks Joe and thanks again for mojoPortal, it is great !

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