Hi Obitoo,
Do you have any server farm configuraion? Also what is the version of
the .NET framework on your machine and the testing machine?
This KB article would help you to diagnose this error
http://support.microsoft.com/default...B;EN-US;829743
Hope that helps
Mohamed Sharaf
MEA Developer Support Center
ITWorx on behalf Microsoft EMEA GTSC
--------------------
| From:
ob****@ziplip.com
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: EnableViewStateMac
| Date: 10 Oct 2005 03:46:57 -0700
| Organization:
http://groups.google.com
| Lines: 20
| Message-ID: <11**********************@g44g2000cwa.googlegroups .com>
| NNTP-Posting-Host: 212.20.241.174
| Mime-Version: 1.0
| Content-Type: text/plain; charset="iso-8859-1"
| X-Trace: posting.google.com 1128941222 25997 127.0.0.1 (10 Oct 2005
10:47:02 GMT)
| X-Complaints-To:
gr**********@google.com
| NNTP-Posting-Date: Mon, 10 Oct 2005 10:47:02 +0000 (UTC)
| User-Agent: G2/0.2
| X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
Maxthon; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
| Complaints-To:
gr**********@google.com
| Injection-Info: g44g2000cwa.googlegroups.com; posting-host=212.20.241.174;
| posting-account=omO_UwwAAAAX1_szmPNWt_K8B9K4ULo7
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSF TNGP08.phx.gbl!newsfeed00.
sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!nntp.gigan ews.com!
postnews.google.com!g44g2000cwa.googlegroups.com!n ot-for-mail
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:349629
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I have an application that requires one page to have the
| EnableViewStateMac set to false as I have another page posting to this
| page. This is set in the page directive and works fine on my local
| machine. However, other developers with the exact same code are
| receiving the 'Unable to validate data' error because of an invalid
| ViewState. Why is the page trying to validate the ViewState when I have
| explicitly set it not to do that? If I set EnableViewStateMac = false
| in the web.config, this works as intended but I only want to set this
| in the required page.
|
| Can anyone shed any light on to why this may be happening? I have also
| noticed that if I build a release version and deploy to a test machine,
| the error appears. But if I build a debug version and deploy this to
| the test machine, there is no error and the application works as
| intended.
|
| Thanks,
|
| ObiToo
|
|