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.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
I upgraded to 220.127.116.11 and whenever I click on site settings in the admin area I get the following error in the log and the site settings area is not accessible. Is there a fix for this?
2014-06-30 13:50:41,319 ERROR IPADDRESS - en-US - /Admin/SiteSettings.aspx - mojoPortal.Web.Global - IPADDRESS /Admin/SiteSettings.aspx Referrer(http://www.domain.com/Admin/AdminMenu.aspx) useragent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
System.Web.HttpException (0x80004005): Unable to validate data.
at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte buf, Byte modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo, Boolean useLegacyMode, IVType ivType, Boolean signData)
at System.Web.Security.MembershipAdapter.EncryptOrDecryptData(Boolean encrypt, Byte buffer, Boolean useLegacyMode)
at System.Web.Security.MembershipProvider.DecryptPassword(Byte encodedPassword)
at mojoPortal.Web.mojoMembershipProvider.UnencodePassword(String pass, MembershipPasswordFormat passwordFormat)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
When you install mojoPortal you are supposed to use a custom machine key but after that it cannot change or errors like this will happen, so on upgrades you need to get the machine key from your old web.config file and restore it to the new Web.config file. Actually recent versions of mojoPortal will automatically generate a custom machine key on initial setup but then you must keep it and restore it after upgrades.
The error you are getting is because the machine key changed and your smtp settings were encrypted in the database using the old machine key and now since the machine key changed it is failing to decrypt and this error happens. If you restore the previous machine key it should solve it, else you have to clear out the old encrypted settings and then reset them so they get encrypted with the new machine key as in this thread.
Hope that helps,
Joe, thank you that worked perfect.
can you please remove my ip and domain from the first post in this thread because I would prefer not to have that public and I posted too fast forgetting to remove?
thanks as always
you should still be able to edit that post for a short time, you should see a pencil icon