Hello Nalaka,
Thank you for posting in the ASP.NET newsgroup.
From your description, you have an ASP.NET 2.0 web application which is
suffering the "view state mac failed" error, also this application has use
some add-on scripts for client-side manipulation, correct?
Based on my experience, the following things may cause such exception:
1. If your application is deployed in webfarm scenario, since different
machine have different machinekey settings, it may cause viewstate mac
validation fails. BTW, ViewStateMac validation is enabed by default in
ASP.NET 2.0.
2. If you're not using webfarm setting, it is likely the page's viewstate
is modified for some reason at client-side so that when the runtime
validating it after postback, the exception thrown out. As you mentioned
that you're using some "commission junction" scripts, would you provide
some further info on these scripts or would it affect any form element in
the page's html document? For general testing, you can isolate the problem
by checking whether the problem is specific to those particular scirpts.
Hope this helps.
Regards,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)