ViewStateMac error.

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

ViewStateMac error.

Post by Mike718NY » Tue Aug 19, 2008 9:39 am

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?

afm
Captain (CAPT)
Captain (CAPT)
Posts: 339
Joined: Thu Nov 03, 2005 11:52 pm
Location: Portland, OR
Contact:

Re: ViewStateMac error.

Post by afm » Tue Aug 19, 2008 10:12 am

I suspect the error is caused by the small <form> </form> in the middle of the product description.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing

Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

Re: ViewStateMac error.

Post by Mike718NY » Tue Aug 19, 2008 12:29 pm

I added:

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

and it still does it? ????

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: ViewStateMac error.

Post by jmestep » Tue Aug 19, 2008 12:31 pm

When I've seen those errors, it has been like Andy said- another form on the page.
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

afm
Captain (CAPT)
Captain (CAPT)
Posts: 339
Joined: Thu Nov 03, 2005 11:52 pm
Location: Portland, OR
Contact:

Re: ViewStateMac error.

Post by afm » Tue Aug 19, 2008 4:17 pm

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.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing

Post Reply