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:
Hi Joe Davis,
After long time I decided to use new version of Mojo. Its very good with bootstrap skins. Thanks!
But after I install new version 22.214.171.124 on local host, after a day when i wanted to login, when enter email@example.com, admin and clock to sign in; "Validation of viewstate MAC failed" shown for me. I try to change machinekey in iis and study all other topics but don't result! I delete site from iis and unzip again an new installation with new db but problem don't resolve. Inevitably, I install mojo on server that i have several last version of mojo sites on it. It's work when I use remote desktop on server, but in my pc when I want to login to edit my site again same error!!!!!!
Please see this error on hajonabi.com.
mojo version: 126.96.36.199
db: mssql server 2012 on local- 2016 on server
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1637.0(server)
[ViewStateException: Invalid viewstate.
Client IP: 188.8.131.52 Port: 1788
Referer: http://hajonabi.com/Secure/Login.aspx?returnurl=%2f Path: /Default.aspx
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 ViewState: Vg/2DIskOM8YYKM0MN0FfLAlBF59U17g/qI4jXQaJdMuQV895uppR0p+hlYr+Fp80VvRacCCWYslND3mqbvXtSF3JteALEtshnosmIJTfO8HpWplcUtsA3lQ8XQqtgxmswDDg99XfvHcfwcgKE38ThSCR4e1JOyZFuTA+GKnlO2n8NZLyRtFANDTutxXSF+j4y8ZWdTvzY8hbWL2oJEc+ZJV9MZ/MmUwdrn0ArYBBVBZwE1fEzv7lgBkLgInkWsdJAv1R8RxgSqznd/xEu1m22Y8ol7zHFnLeYB2U3cgEDSxLLUEdfw3QtBJexh9gzsdw/u5ViTtRdiwGk2fgMhmiY7s6EJJRyE1L6WJBsjFyVrzjdwcD8ZM3YsmzwZ0c3+RkfzpHuNUmwN89MUUirmPpY/K2ylwfYVuriHSAfsq27ygn9gTxTgD8n+E/K81UK3fyYhNEuKzA1M1Wt4MookyU0b++uvibep6H9Zxlkzkp5UHYhGuKngCCtU67H+SKk9VVpWh4YHpDJO6h2NSmupw6S7YwdOUcr2Vzh9YXpEtZYlzpF0U4ZneqqWs99BCkEUvKOKk/dlmbmlHyz+1uVwDbPFgdVPpl9ptm9p7nf14/Up20d97TDRm2hF6UyI1ZstmqFv+JIsbwK4m0gGFCWJNfPVM6iuQ19eGKmFG8r8rD3orP99IMJrBm7la2cQtA2MakY0vioyCUPf1XoWZ8bg9R77C04CBicYfrHN785qXYggKTLxWY7h/CoG...]
[HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
See http://go.microsoft.com/fwlink/?LinkID=314055 for more information.] System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +116 System.Web.UI.ObjectStateFormatter.Deserialize(String inputString, Purpose purpose) +425 System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter2.Deserialize(String serializedState, Purpose purpose) +13 System.Web.UI.Util.DeserializeWithAssert(IStateFormatter2 formatter, String serializedState, Purpose purpose) +40 System.Web.UI.HiddenFieldPageStatePersister.Load() +248 System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +251 System.Web.UI.Page.LoadAllState() +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6569 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +245 System.Web.UI.Page.ProcessRequest() +72 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +22 System.Web.UI.Page.ProcessRequest(HttpContext context) +58 ASP.default_aspx.ProcessRequest(HttpContext context) +4 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +188 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
Please Help! :(
Seems that you may have a caching issue. The login cookie is cached for a while if you check the remember me option when logging in.
Try clearing your browser cache and deleting cookies for the local hostname you're using.
Thanks Joe for answer!
But it amazing that I sleep my PC and turn on it after 10 hours, all things work fine!!!!
This problem resolved like it creation!
If this problem will happen again I report you.
thanks again Joe.
Error again happen in my localhost and server!!!
I clear caching and cookies but problem don't resolve. In either time first localhost show error.
I see some js consol errors:
WebFormsBundle.js Failed to load resource: the server responded with a status of 403 (Forbidden)
MsAjaxBundle.js Failed to load resource: the server responded with a status of 403 (Forbidden)
css Failed to load resource: the server responded with a status of 400 (Bad Request)
WebFormsBundle.js Failed to load resource: net::ERR_CONNECTION_RESET
MsAjaxBundle.js Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
Login.aspx?returnurl=%2f:81 Uncaught ReferenceError: Sys is not defined
Login.aspx?returnurl=%2f:229 Uncaught ReferenceError: Sys is not defined
Login.aspx?returnurl=%2f:233 Uncaught ReferenceError: WebForm_AutoFocus is not defined
Please check this error in www.hajonabi.com and login with firstname.lastname@example.org , pass:admin.
Hi Davis and Sadegh,
I have same problem when try to login to new mojoportal. When I try to login using Microsoft Edge and mojoportal 2.5.0 , I notice that I can login without any problem from my server remote desktop. but can't login from local.
Some month ago I have this problem after few days again we have access to above url and therefor can login and again these days URL blocked by ISP.
What's your idea?
You need to configure mojoPortal to not use the ASPNETCDN or ask your ISP to stop blocking it. Seems silly for them to block it.
Check out this new document for how to tell mojoPortal to use locally hosted files. We'll be adding to this document but I wanted to get it to you as soon as possible.
Hi Joe & Mehdi,
I use an anti filter software(free gate) and problem has be resolved!!! That is a quick way!
This is a good way that use local source instead of CDN for this problem, because Iranian ISPs block various of sites and cdn ,...
Thanks for your help, friends!