I'm troubleshooting a site that has been getting weird errors, especially for one product.
Validation of viewstate MAC failed --- I put a machineKey into the web.config file.
System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed. -- this one might have been a hacker- ip address was SE Asia.
The site also has their Able store embedded into a I frame on a site of theirs. Would this cause any problems, losing session data, Ajax not working?
Thanks
Trouble shooting some errors
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Trouble shooting some errors
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
Re: Trouble shooting some errors
The entire AC7 store is embedded into an iframe tag??jmestep wrote:The site also has their Able store embedded into a I frame on a site of theirs. Would this cause any problems, losing session data, Ajax not working?
Viewstate MAC errors can be about a million different things. The few I've run into were eliminated by disabling viewstate on the offending page. Not sure if I opened a door that I shouldn't have, but it did eliminate the problem.
I'm impressed the AJAX still works within the iframe

Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Trouble shooting some errors
Well, I'm not sure how well the Ajax works in the IFrame. I was just checking to see if that would be one of their problems. This is one of those things where you can spend hours troubleshooting, so I fixed a few things and am waiting to see if it breaks again.
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
Re: Trouble shooting some errors
How/where do I disable the view state on a page? In the "@Page" directive?
-tomas
-tomas
SolunarServices wrote:The entire AC7 store is embedded into an iframe tag??jmestep wrote:The site also has their Able store embedded into a I frame on a site of theirs. Would this cause any problems, losing session data, Ajax not working?
Viewstate MAC errors can be about a million different things. The few I've run into were eliminated by disabling viewstate on the offending page. Not sure if I opened a door that I shouldn't have, but it did eliminate the problem.
I'm impressed the AJAX still works within the iframe
Re: Trouble shooting some errors
Yup, that's how I did it. I'm certainly no expert on viewstate though - do so at your own risk 

Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Trouble shooting some errors
The problem this site was having ended up being a problem with Safari browser and Able has fixed that in build 11659.
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