Validation of viewstate MAC failed - when clicking "Save" after updating a node
I have an issue in Umbraco 6.2.4 where a user keeps intermittently getting a server error when trying to save changes made to an Umbraco node. This is usually after they have been into a node that has already been created but they are making changes such as adding links to the text.
When they click "Save" they get the following server error (as per the screenshot below) and they end up losing any changes they have made:
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm.
The site runs on a hosted server with the database on another hosted server and they are not part of a farm or a cluster.
This issue appears to happen on a number different browsers including Google Chrome and Firefox and it is intermittent. I have not been able to recreate it myself but the user has sent me screenshots and I can see the errors in the event logs on the server.
Anyone got any ideas on this? It has happened again for the user today, usually it is when they are adding links to the text or inserting a custom macro which puts an inline image in the text with some divs around it. However, today it happened when all they did was open a node and change one of the values in a multiple node picker field then click save.
No unfortunately not, I started looking at upgrading to Umbraco 7 to see if that would resolve the issue but this is a very big and heavily customised Umbraco site so it required a lot of testing and the customer asked us to put the upgrade on hold for the time being to work on other projects (they said they would live with it for the time being).
I haven't heard them mention it lately but then that is probably because they know we were planning to test the upgrade option which they have asked us to stop for now.
Please let me know if you do find a solution because I don't want to upgrade to 7 if I don't have to, especially as it may not even resolve this problem.
There's a related error on the Umbraco issues site which makes me think it has not been resolved in Umbraco 7 (http://issues.umbraco.org/issue/U4-6900) so would not undertake an upgrade just to solve this, especially if it is complicated.
I've followed all the advice on the linked page from the error (and some others) - nothing has solved it, which leaves me with a very grumpy client, because they keep losing content they are adding.
That error is similar although the issue our user was experiencing was not due to a timeout, they would open a node and be editing it then click "Save" (not Save and Publish) and they would get the error. It seemed very random and I even added javascript onto the page the backend of Umbraco to capture what was in the text-editor at the time but could not find anything to point to what could be causing the issue.
I haven't yet, I did start testing an upgrade to Umbraco 7 (to see if this resolved the issue) but this is a very large site with a lot of customisations and the customer told us to hold off for the time being due to other more important projects.
We haven't yet got back around to looking into this and the customer is just living with the issue for the time being so I would be very interested if someone does find a solution or they can confirm it is in fact fixed in Umbraco 7.
"I found the solution." Remove the "Temporary ASP.NET Files" in AppData / Local / Temp folder. After that, I did not return to happen. I do not know if it is the solution, but for now I can continue working.
Validation of viewstate MAC failed - when clicking "Save" after updating a node
I have an issue in Umbraco 6.2.4 where a user keeps intermittently getting a server error when trying to save changes made to an Umbraco node. This is usually after they have been into a node that has already been created but they are making changes such as adding links to the text.
When they click "Save" they get the following server error (as per the screenshot below) and they end up losing any changes they have made:
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm.
The site runs on a hosted server with the database on another hosted server and they are not part of a farm or a cluster.
This issue appears to happen on a number different browsers including Google Chrome and Firefox and it is intermittent. I have not been able to recreate it myself but the user has sent me screenshots and I can see the errors in the event logs on the server.
Please can anybody help.
Anyone got any ideas on this? It has happened again for the user today, usually it is when they are adding links to the text or inserting a custom macro which puts an inline image in the text with some divs around it. However, today it happened when all they did was open a node and change one of the values in a multiple node picker field then click save.
This is the event log error that gets produced:
Hey there, did you every resolve this, having the same issue on one of my sites
No unfortunately not, I started looking at upgrading to Umbraco 7 to see if that would resolve the issue but this is a very big and heavily customised Umbraco site so it required a lot of testing and the customer asked us to put the upgrade on hold for the time being to work on other projects (they said they would live with it for the time being).
I haven't heard them mention it lately but then that is probably because they know we were planning to test the upgrade option which they have asked us to stop for now.
Please let me know if you do find a solution because I don't want to upgrade to 7 if I don't have to, especially as it may not even resolve this problem.
There's a related error on the Umbraco issues site which makes me think it has not been resolved in Umbraco 7 (http://issues.umbraco.org/issue/U4-6900) so would not undertake an upgrade just to solve this, especially if it is complicated.
I've followed all the advice on the linked page from the error (and some others) - nothing has solved it, which leaves me with a very grumpy client, because they keep losing content they are adding.
Will let you know if I find anything
That error is similar although the issue our user was experiencing was not due to a timeout, they would open a node and be editing it then click "Save" (not Save and Publish) and they would get the error. It seemed very random and I even added javascript onto the page the backend of Umbraco to capture what was in the text-editor at the time but could not find anything to point to what could be causing the issue.
Hi! I have the same error, someone found the solution?
I haven't yet, I did start testing an upgrade to Umbraco 7 (to see if this resolved the issue) but this is a very large site with a lot of customisations and the customer told us to hold off for the time being due to other more important projects.
We haven't yet got back around to looking into this and the customer is just living with the issue for the time being so I would be very interested if someone does find a solution or they can confirm it is in fact fixed in Umbraco 7.
"I found the solution." Remove the "Temporary ASP.NET Files" in AppData / Local / Temp folder. After that, I did not return to happen. I do not know if it is the solution, but for now I can continue working.
is working on a reply...