473,425 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,425 software developers and data experts.

ErrorMessage: Unable to validate data.


Guys,

Does anyone have any clues about this stack trace? What can be the reason
for this error?

Is it something related to viewstate? Can I do anything at the
application-level by making code changes to prevent this happening again?

This error pops out when I click a particular button.....but error is not
persistent in all the cases it is sporadic and happens once in 6-7 times
which makes it difficult to track the root cause and debug.

Please find the "Stack trace" below....

----------------------------------------------------------------------------------------------

ErrorMessage:
----------------
Unable to validate data.

ErrorSource: System.Web

ErrorTargetSite:
----------------
Byte[] GetDecodedData(Byte[], Byte[], Int32, Int32, Int32 ByRef)

ErrorTrace:
----------------
at System.Web.Configuration.MachineKey.GetDecodedData (Byte[] buf, Byte[]
modifier, Int32 start, Int32 length, Int32& dataLength)
at System.Web.UI.LosFormatter.Deserialize(String input)

PostData:
----------------
__EVENTTARGET: contacts:Button_Next
__EVENTARGUMENT:
__VIEWSTATE:
dDwyMzUxNDQ2ODt0PDtsPGk8MD47PjtsPHQ8O2w8aTwxPjtpPD Q+O2k8Nj47aTw3PjtpPDg+Oz47bDx0PDtsPGk8MD47PjtsPHQ8 O2w8aTwxPjs+.........
Nov 19 '05 #1
3 1568
the message means the viewstate value is invalid. viewsource in the browser
and compare to waht is recieved on the server. some proxies will truncate
viewstate if its cover 2k.

-- bruce (sqlwork.com)
"Diffident" <Di*******@discussions.microsoft.com> wrote in message
news:B3**********************************@microsof t.com...
|
| Guys,
|
| Does anyone have any clues about this stack trace? What can be the reason
| for this error?
|
| Is it something related to viewstate? Can I do anything at the
| application-level by making code changes to prevent this happening again?
|
| This error pops out when I click a particular button.....but error is not
| persistent in all the cases it is sporadic and happens once in 6-7 times
| which makes it difficult to track the root cause and debug.
|
| Please find the "Stack trace" below....
|
| --------------------------------------------------------------------------
--------------------
|
| ErrorMessage:
| ----------------
| Unable to validate data.
|
| ErrorSource: System.Web
|
| ErrorTargetSite:
| ----------------
| Byte[] GetDecodedData(Byte[], Byte[], Int32, Int32, Int32 ByRef)
|
| ErrorTrace:
| ----------------
| at System.Web.Configuration.MachineKey.GetDecodedData (Byte[] buf,
Byte[]
| modifier, Int32 start, Int32 length, Int32& dataLength)
| at System.Web.UI.LosFormatter.Deserialize(String input)
|
| PostData:
| ----------------
| __EVENTTARGET: contacts:Button_Next
| __EVENTARGUMENT:
| __VIEWSTATE:
|
dDwyMzUxNDQ2ODt0PDtsPGk8MD47PjtsPHQ8O2w8aTwxPjtpPD Q+O2k8Nj47aTw3PjtpPDg+Oz47
bDx0PDtsPGk8MD47PjtsPHQ8O2w8aTwxPjs+.........
Nov 19 '05 #2
Hello Bruce,

I did exactly what you asked and it seems like two viewstates are exactly
the same.

dDwtMTM1MjQzMDk3NTt0PHA8bDxFZGl0UGxheWVySWQ7PjtsPD c7Pj47bDxpPDA+Oz47bDx0PHA8bDxlbmN0eXBlOz47bDxtdWx0 aXBhcnQvZm9ybS1kYXRhOz4+O2w8aTwzPjtpPDU+O2k8OT47aT wyOT47aTwzNT47aTwzOT47aTw0MT47aTw0NT47aTw1NT47aTw1 Nz47aTw1OT47PjtsPHQ8O2w8aTwwPjtpPDQ+O2k8NT47PjtsPH Q8dDw7dDxpPDI+O0A8LS0tU2VsZWN0IFRlYW1zLS0tO0J1cmhh bmk7PjtAPE5vbmU7MTs+Pjs+Ozs+O3Q8cDxwPGw8VmlzaWJsZT s+O2w8bzxmPjs+Pjs+Ozs+O3Q8cDxwPGw8VmlzaWJsZTs+O2w8 bzx0Pjs+Pjs+O2w8aTwxPjs+O2w8dDxAMDxwPHA8bDxEYXRhS2 V5cztfIUl0ZW1Db3VudDs+O2w8bDw+O2k8Nj47Pj47Pjs7Ozs7 Ozs7PjtsPGk8MD47aTwxPjtpPDI+O2k8Mz47aTw0PjtpPDU+Oz 47bDx0PDtsPGk8MD47PjtsPHQ8cDxwPGw8Q29tbWFuZE5hbWU7 Q29tbWFuZEFyZ3VtZW50Oz47bDxNeSBMZWFndW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js7Pjt0PHA8cDxsPFJlYWRPbmx5Oz 47bDxvPHQ+Oz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcPGlt ZyBzcmM9J2h0dHA6Ly93d3cuYnVyaGFuaWNyaWNrZXRjbHViLm 9yZy9pbWFnZXMvY2FsLmdpZicgYWxpZ249J3RvcCcgYm9yZGVy PScwJ1w+Oz4+O3A8bDxvbmNsaWNrO2hyZWY7PjtsPGNhbDF4eC 5zZWxlY3QoRm9ybTEudHh0RGF0ZUVsaWdpYmxlLCdsbmtFbGln aWJsZURhdGVDYWxlbmRhcicsJ01NL2RkL3l5eXknKVw7IHJldH VybiBmYWxzZVw7OyM7Pj4+Ozs+O3Q8cDxsPFZpc2libGU7Pjts PG88dD47Pj47Oz47dDxwPHA8bDxUZXh0Oz47bDwxMDA7Pj47Pj s7Pjt0PHA8cDxsPFRleHQ7PjtsPDEwMDs+Pjs+Ozs+O3Q8cDxw PGw8SW1hZ2VVcmw7VmlzaWJsZTs+O2w8aHR0cDovL3d3dy5idX JoYW5pY3JpY2tldGNsdWIub3JnL2ltYWdlcy9waWN0dXJlcy83 X3BpYy5KUEcgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAgICAgICAgIDtvPHQ+Oz4+Oz47Oz47Pj47Pj47bDxjaGtU ZWFtQWRtaW47Y2hrQWN0aXZlOz4+aDMzu/XGmsCgTdXLnHvkudm+ApM=

I am getting this error after a Server.Transfer upon a PostBack. This does
not happen on my development box, only on the production windows 2003
machine. This seems to be happening recently as well because I had the same
site on another windows 2003 machine and it worked fine. But on a new one
its giving this problem.

Any help will be appreciated.

"bruce barker" wrote:
the message means the viewstate value is invalid. viewsource in the browser
and compare to waht is recieved on the server. some proxies will truncate
viewstate if its cover 2k.

-- bruce (sqlwork.com)
"Diffident" <Di*******@discussions.microsoft.com> wrote in message
news:B3**********************************@microsof t.com...
|
| Guys,
|
| Does anyone have any clues about this stack trace? What can be the reason
| for this error?
|
| Is it something related to viewstate? Can I do anything at the
| application-level by making code changes to prevent this happening again?
|
| This error pops out when I click a particular button.....but error is not
| persistent in all the cases it is sporadic and happens once in 6-7 times
| which makes it difficult to track the root cause and debug.
|
| Please find the "Stack trace" below....
|
| --------------------------------------------------------------------------
--------------------
|
| ErrorMessage:
| ----------------
| Unable to validate data.
|
| ErrorSource: System.Web
|
| ErrorTargetSite:
| ----------------
| Byte[] GetDecodedData(Byte[], Byte[], Int32, Int32, Int32 ByRef)
|
| ErrorTrace:
| ----------------
| at System.Web.Configuration.MachineKey.GetDecodedData (Byte[] buf,
Byte[]
| modifier, Int32 start, Int32 length, Int32& dataLength)
| at System.Web.UI.LosFormatter.Deserialize(String input)
|
| PostData:
| ----------------
| __EVENTTARGET: contacts:Button_Next
| __EVENTARGUMENT:
| __VIEWSTATE:
|
dDwyMzUxNDQ2ODt0PDtsPGk8MD47PjtsPHQ8O2w8aTwxPjtpPD Q+O2k8Nj47aTw3PjtpPDg+Oz47
bDx0PDtsPGk8MD47PjtsPHQ8O2w8aTwxPjs+.........

Nov 19 '05 #3
Hi,

I am facing the same problem. Did anyone findout what was the problem.

Thanks
Pallav.
Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: FabFreddy | last post by:
Hi, I can't find out what the problem is with the error message below! I get it when I go from one to another page with controls in these pages. Anyone knows??? THX Unable to validate...
0
by: Amy | last post by:
Hi, I'm suddenly getting this error when I post back from my application. the application worked once, i added some code on one page (customizing a datagrid), and suddenly I'm getting this...
4
by: James | last post by:
Hello, I have a RequiredFieldValidator for several textbox controls on a form. Here's an example with the RequiredFieldValidator. EnableClientScript, Enabled, and Visible are set to true for...
4
by: Mike Fellows | last post by:
running IIS on a single server, hosting pages on an intranet basis, one single user out of 50 is having an unable to validate data issue how do i fix this (the microsoft KB is a little...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.