During the installation process on my server, I get the following error just after specifying my database:
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.
I am using AbleCommerce 7 b9879. It appears to happen as soon as I click on one of the buttons. Any help would be greatly appreciated..
Validation of viewstate MAC failed
-
- Lieutenant (LT)
- Posts: 78
- Joined: Wed Mar 05, 2008 11:27 am
- AlexG
- Commander (CMDR)
- Posts: 128
- Joined: Mon Mar 03, 2008 9:51 pm
- Location: StealDeals.com
- Contact:
Re: Validation of viewstate MAC failed
I have the same problem but in the other section Members/MyProductReviews.aspx - Try to sort Reviews by Published ( But I found if I click to this link Published after the page was downloaded I have not that error - if not downloded than error)
Admin help us to fix it PLEASE!
Server Error in '/' Application.
--------------------------------------------------------------------------------
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.
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: 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.
Source Error:
[No relevant source lines]
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\e00d446b\29cae8c7\App_Web_clc3inj_.3.cs Line: 0
Stack Trace:
[HttpException (0x80004005): Unable to validate data.]
System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +294
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +203
[ViewStateException: Invalid viewstate.
Client IP: 66.212.24.27
Port: 4323
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SU 3.011; .NET CLR 2.0.50727)
ViewState: YYE7quDKQEy4/lNSVMXjNF2zF5IP+9zoeNZuneMf2bYqUjxKIOTH1YXu6k5taRN6ntgTV09zFXYDqMfXUcX2bzodUZKsWZOHcRXJLHX1yS1O9HXCc/b+mzOGMkdM8lumFwrlt5Qc+atoVHRCfYWnxc/CBiEQ/pfQApjliuplnZIV2t0WG5od53Y6idUJ6XHi3tBjoAPyfeKg8Apv2BG8TcN+i0Eah9UoQt7rFoXf+WvNpy6bX39yvaIB9tOSjIGQOzjGUzCY2ZTbO0/OzKyXAvQ802QucNin6tm+qTT0qA52Pu2Kc+n8iYl8xUkUzS2veX6dOB4cRiBDz+Vm7Q8OTE4Qx3MgHSs98NtJlLKxPAHY8/LI31sOukBKFZz5i++bb6KQ1g2SlIfEDD6XFBYTOBY3EaSyT0fA+sQ5XkZxG4p4NBqgOq0gOmHzsdcpo9RxVL/cW2AsM6zv/9D+NN7OKMOJRG0GivKD6ZrS3kTPVoLCJRBQoWoCYIwSbclnzYPdlz7FZ7Z1P00beHPMksbH5v+3HUXRoLMzo97ewmcloa288fS4P8bnVWUFl0px+EGHl4lR79BMYpka9DMZRqdpaG7njBZpRkgU2fG2UwHuccxrKLukO6rznN3YYzJUk8J8MLyuCPECBd+yEElOaxF98nnOGOKcU7wwbBcq8uyx2dRKkO/537Jy3++9HZ9YpAEGvLw/jqd/MVjE99I1JSW4oa58qd7knb/kR9eHa+LitpgfNZbtcxnlDpt5GPVuaO3ANDrqsguuQjgB7Dkye/asK33wDoFZG+9iFPT3IP76fDomMuVDaKHIKly8cl3vBURTbppelTooGO/7DkZEAi2Tcy6X8C1wa4Vw37K5OjQ...]
[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.]
System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +267
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +282
System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4
System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +198
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +83
System.Web.UI.Page.LoadAllState() +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.members_myproductreviews_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\e00d446b\29cae8c7\App_Web_clc3inj_.3.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Admin help us to fix it PLEASE!
Server Error in '/' Application.
--------------------------------------------------------------------------------
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.
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: 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.
Source Error:
[No relevant source lines]
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\e00d446b\29cae8c7\App_Web_clc3inj_.3.cs Line: 0
Stack Trace:
[HttpException (0x80004005): Unable to validate data.]
System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +294
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +203
[ViewStateException: Invalid viewstate.
Client IP: 66.212.24.27
Port: 4323
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SU 3.011; .NET CLR 2.0.50727)
ViewState: YYE7quDKQEy4/lNSVMXjNF2zF5IP+9zoeNZuneMf2bYqUjxKIOTH1YXu6k5taRN6ntgTV09zFXYDqMfXUcX2bzodUZKsWZOHcRXJLHX1yS1O9HXCc/b+mzOGMkdM8lumFwrlt5Qc+atoVHRCfYWnxc/CBiEQ/pfQApjliuplnZIV2t0WG5od53Y6idUJ6XHi3tBjoAPyfeKg8Apv2BG8TcN+i0Eah9UoQt7rFoXf+WvNpy6bX39yvaIB9tOSjIGQOzjGUzCY2ZTbO0/OzKyXAvQ802QucNin6tm+qTT0qA52Pu2Kc+n8iYl8xUkUzS2veX6dOB4cRiBDz+Vm7Q8OTE4Qx3MgHSs98NtJlLKxPAHY8/LI31sOukBKFZz5i++bb6KQ1g2SlIfEDD6XFBYTOBY3EaSyT0fA+sQ5XkZxG4p4NBqgOq0gOmHzsdcpo9RxVL/cW2AsM6zv/9D+NN7OKMOJRG0GivKD6ZrS3kTPVoLCJRBQoWoCYIwSbclnzYPdlz7FZ7Z1P00beHPMksbH5v+3HUXRoLMzo97ewmcloa288fS4P8bnVWUFl0px+EGHl4lR79BMYpka9DMZRqdpaG7njBZpRkgU2fG2UwHuccxrKLukO6rznN3YYzJUk8J8MLyuCPECBd+yEElOaxF98nnOGOKcU7wwbBcq8uyx2dRKkO/537Jy3++9HZ9YpAEGvLw/jqd/MVjE99I1JSW4oa58qd7knb/kR9eHa+LitpgfNZbtcxnlDpt5GPVuaO3ANDrqsguuQjgB7Dkye/asK33wDoFZG+9iFPT3IP76fDomMuVDaKHIKly8cl3vBURTbppelTooGO/7DkZEAi2Tcy6X8C1wa4Vw37K5OjQ...]
[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.]
System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +267
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +282
System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4
System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +198
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +83
System.Web.UI.Page.LoadAllState() +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.members_myproductreviews_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\e00d446b\29cae8c7\App_Web_clc3inj_.3.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Validation of viewstate MAC failed
Joe-
Try this post to generate and implement a machine key and see if it helps. Problem is probably because you are on a shared server.
viewtopic.php?f=42&t=7121&hilit=machinekey
Here is the link to generate the machine key that is in the post.
http://aspnetresources.com/tools/keycreator.aspx
Try this post to generate and implement a machine key and see if it helps. Problem is probably because you are on a shared server.
viewtopic.php?f=42&t=7121&hilit=machinekey
Here is the link to generate the machine key that is in the post.
http://aspnetresources.com/tools/keycreator.aspx
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Validation of viewstate MAC failed
Alex, have you customized the page any? Or added any text to the reviews from an html editor? I had one client put his text for a page into an external editor, then copy into Able. His text included body an form tags which are already part of the page code so that made double tags in the page and broke it.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
- AlexG
- Commander (CMDR)
- Posts: 128
- Joined: Mon Mar 03, 2008 9:51 pm
- Location: StealDeals.com
- Contact:
Re: Validation of viewstate MAC failed
I've added the text only without HTML TAGs!jmestep wrote:Alex, have you customized the page any? Or added any text to the reviews from an html editor? I had one client put his text for a page into an external editor, then copy into Able. His text included body an form tags which are already part of the page code so that made double tags in the page and broke it.
-
- Lieutenant (LT)
- Posts: 78
- Joined: Wed Mar 05, 2008 11:27 am
Re: Validation of viewstate MAC failed
Adding a machine key to the web.config file worked! Thanks a bunch.