Page 1 of 1

ViewStateMac error.

Posted: Tue Aug 19, 2008 9:39 am
by Mike718NY
If I try and add this product to the cart :
http://www.super-vits.com/Bach-Rescue-S ... -P808.aspx
I get an error (see attachement).

But I added this a while back:

<system.web>
<machineKey validationKey="6D33D8C9405FB87840FD92C2A641A77F20...."
decryptionKey="9BA8B26E39975FEE0" validation="SHA1" />

What is causing this?
Can I disable it (enableViewStateMac=false) for the product pages?

Re: ViewStateMac error.

Posted: Tue Aug 19, 2008 10:12 am
by afm
I suspect the error is caused by the small <form> </form> in the middle of the product description.

Re: ViewStateMac error.

Posted: Tue Aug 19, 2008 12:29 pm
by Mike718NY
I added:

<pages theme="AbleCommerce" . . . enableViewStateMac="false">

and it still does it? ????

Re: ViewStateMac error.

Posted: Tue Aug 19, 2008 12:31 pm
by jmestep
When I've seen those errors, it has been like Andy said- another form on the page.

Re: ViewStateMac error.

Posted: Tue Aug 19, 2008 4:17 pm
by afm
Mike718NY wrote:I added:

<pages theme="AbleCommerce" . . . enableViewStateMac="false">

and it still does it? ????
That will not help. The postback is completely mangled by the extra <form>...</form> tags in the middle of the product description. You will need to edit the product description and remove the extra form.