473,989 Members | 2,340 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Conf iguration.Machi neKey.GetDecode dData(Byte[] buf, Byte[]
modifier, Int32 start, Int32 length, Int32& dataLength)
at System.Web.UI.L osFormatter.Des erialize(String input)

PostData:
----------------
__EVENTTARGET: contacts:Button _Next
__EVENTARGUMENT :
__VIEWSTATE:
dDwyMzUxNDQ2ODt 0PDtsPGk8MD47Pj tsPHQ8O2w8aTwxP jtpPDQ+O2k8Nj47 aTw3PjtpPDg+Oz4 7bDx0PDtsPGk8MD 47PjtsPHQ8O2w8a TwxPjs+........ .
Nov 19 '05 #1
3 1598
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*******@disc ussions.microso ft.com> wrote in message
news:B3******** *************** ***********@mic rosoft.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.Conf iguration.Machi neKey.GetDecode dData(Byte[] buf,
Byte[]
| modifier, Int32 start, Int32 length, Int32& dataLength)
| at System.Web.UI.L osFormatter.Des erialize(String input)
|
| PostData:
| ----------------
| __EVENTTARGET: contacts:Button _Next
| __EVENTARGUMENT :
| __VIEWSTATE:
|
dDwyMzUxNDQ2ODt 0PDtsPGk8MD47Pj tsPHQ8O2w8aTwxP jtpPDQ+O2k8Nj47 aTw3PjtpPDg+Oz4 7
bDx0PDtsPGk8MD4 7PjtsPHQ8O2w8aT wxPjs+.........
Nov 19 '05 #2
Hello Bruce,

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

dDwtMTM1MjQzMDk 3NTt0PHA8bDxFZG l0UGxheWVySWQ7P jtsPDc7Pj47bDxp PDA+Oz47bDx0PHA 8bDxlbmN0eXBlOz 47bDxtdWx0aXBhc nQvZm9ybS1kYXRh Oz4+O2w8aTwzPjt pPDU+O2k8OT47aT wyOT47aTwzNT47a TwzOT47aTw0MT47 aTw0NT47aTw1NT4 7aTw1Nz47aTw1OT 47PjtsPHQ8O2w8a TwwPjtpPDQ+O2k8 NT47PjtsPHQ8dDw 7dDxpPDI+O0A8LS 0tU2VsZWN0IFRlY W1zLS0tO0J1cmhh bmk7PjtAPE5vbmU 7MTs+Pjs+Ozs+O3 Q8cDxwPGw8Vmlza WJsZTs+O2w8bzxm Pjs+Pjs+Ozs+O3Q 8cDxwPGw8VmlzaW JsZTs+O2w8bzx0P js+Pjs+O2w8aTwx Pjs+O2w8dDxAMDx wPHA8bDxEYXRhS2 V5cztfIUl0ZW1Db 3VudDs+O2w8bDw+ O2k8Nj47Pj47Pjs 7Ozs7Ozs7PjtsPG k8MD47aTwxPjtpP DI+O2k8Mz47aTw0 PjtpPDU+Oz47bDx 0PDtsPGk8MD47Pj tsPHQ8cDxwPGw8Q 29tbWFuZE5hbWU7 Q29tbWFuZEFyZ3V tZW50O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gQ2FwdGFpbjtCYX RzbWFuO0Jvd2xlc jtGaWVsZGVyO1dp Y2tldCBLZWVwZXI 7QWxsIFJvdW5kZX I7PjtAPDE7MjszO zQ7NTs2Ozk7Pj47 Pjs7Pjt0PHA8cDx sPFJlYWRPbmx5Oz 47bDxvPHQ+Oz4+O z47Oz47dDxwPHA8 bDxUZXh0Oz47bDx cPGltZyBzcmM9J2 h0dHA6Ly93d3cuY nVyaGFuaWNyaWNr ZXRjbHViLm9yZy9 pbWFnZXMvY2FsLm dpZicgYWxpZ249J 3RvcCcgYm9yZGVy PScwJ1w+Oz4+O3A 8bDxvbmNsaWNrO2 hyZWY7PjtsPGNhb DF4eC5zZWxlY3Qo Rm9ybTEudHh0RGF 0ZUVsaWdpYmxlLC dsbmtFbGlnaWJsZ URhdGVDYWxlbmRh cicsJ01NL2RkL3l 5eXknKVw7IHJldH VybiBmYWxzZVw7O yM7Pj4+Ozs+O3Q8 cDxsPFZpc2libGU 7PjtsPG88dD47Pj 47Oz47dDxwPHA8b DxUZXh0Oz47bDwx MDA7Pj47Pjs7Pjt 0PHA8cDxsPFRleH Q7PjtsPDEwMDs+P js+Ozs+O3Q8cDxw PGw8SW1hZ2VVcmw 7VmlzaWJsZTs+O2 w8aHR0cDovL3d3d y5idXJoYW5pY3Jp Y2tldGNsdWIub3J nL2ltYWdlcy9waW N0dXJlcy83X3BpY y5KUEcgICAgICAg ICAgICAgICAgICA gICAgICAgICAgIC AgICAgICAgICAgI DtvPHQ+Oz4+Oz47 Oz47Pj47Pj47bDx jaGtUZWFtQWRtaW 47Y2hrQWN0aXZlO z4+aDMzu/XGmsCgTdXLnHvku dm+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*******@disc ussions.microso ft.com> wrote in message
news:B3******** *************** ***********@mic rosoft.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.Conf iguration.Machi neKey.GetDecode dData(Byte[] buf,
Byte[]
| modifier, Int32 start, Int32 length, Int32& dataLength)
| at System.Web.UI.L osFormatter.Des erialize(String input)
|
| PostData:
| ----------------
| __EVENTTARGET: contacts:Button _Next
| __EVENTARGUMENT :
| __VIEWSTATE:
|
dDwyMzUxNDQ2ODt 0PDtsPGk8MD47Pj tsPHQ8O2w8aTwxP jtpPDQ+O2k8Nj47 aTw3PjtpPDg+Oz4 7
bDx0PDtsPGk8MD4 7PjtsPHQ8O2w8aT wxPjs+.........

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
438
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 data. Description: An unhandled exception occurred during the execution of the
0
5440
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 exception even on a completely separate page (that worked before and that I haven't changed). Page 1 has a Response.Redirect that goes to Page 2 (which has the changes), but I get the error even if I trigger a postback event on Page 1 and Page 2...
4
10063
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 the RequiredFieldValidator. <asp:textbox id="FirstName" MaxLength="25" runat="server"></asp:textbox>
4
5781
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 inconclusive) ? cheers mark this is the error message
0
10406
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11922
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10987
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
10157
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8549
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7697
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6500
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6664
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
5244
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.