• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages<12
Cliff
#21 Posted : Wednesday, January 10, 2007 10:18:38 AM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

Eh, my posts from last night were moderated way out of order. Would be nice if they were timestamped when saved instead of when approved.

Bottom line, still getting errors.
bbcweb
#22 Posted : Wednesday, January 10, 2007 12:33:26 PM(UTC)
bbcweb

Rank: Member

Joined: 5/14/2005(UTC)
Posts: 398

Just curious, How big is the viewstate in the new version, and specifically on the page in question

If you can reproduce the error from another Internet connection then that would help to point towards the server not receiving the viewstate back in good condition. Otherwise it could be a problem on his end.

BTW: the moderation does makes it hard to efficiently or quickly help someone in a thread, maybe it would be easier to post questions in the un-moderated areas.
BetterBuilt.net professional web design and development. call 1-877-325-1109 x7
jetheredge
#23 Posted : Wednesday, January 10, 2007 2:16:53 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Well, it doesn't really matter where the viewstate is, the issue is when the viewstate is encrypted. The problem is that a number of controls is asp.net 2.0 force this to happen. The VIEWSTATEENCRYPTED hidden field is always rendered at the bottom of the page. So if the page is posted back and this field has yet to render then the server thinks the viewstate is not encrypted and doesn't try to decrypt it. When this happens the MAC is applied against the encrypted viewstate and then fails.
Justin Etheredge
Senior Software Engineer
BVSoftware
Cliff
#24 Posted : Wednesday, January 10, 2007 3:40:31 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

It's happened to me, too, so I doubt it's a client issue. I'm in an airport right now on my crackberry, so I can't look at the size or anything I'll check up on this later.

Any way to move the encryption stuff to the top of the page (asks the idiot)? :)
jetheredge
#25 Posted : Wednesday, January 10, 2007 3:52:38 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Add these to the pages tag in the web.config in order to verify that this is the issue. if you do this and the issues go away, then at least we know what we are looking at. Do not leave these in there on a production website though! These are there for security reasons.

viewStateEncryptionMode ="Never" enableEventValidation="false"

And no, moving these hidden fields would be a total hack, and most likely would cause other issues, similar to the hack we put in to move the viewstate to the bottom of the page.
Justin Etheredge
Senior Software Engineer
BVSoftware
bbcweb
#26 Posted : Wednesday, January 10, 2007 5:07:40 PM(UTC)
bbcweb

Rank: Member

Joined: 5/14/2005(UTC)
Posts: 398

Recomendation/Feature Request:

slim down the viewstate,.. i've looked at some of the bv stores listed and the viewstate ranges for 4k to 15k. Most of it is needless, even these forum pages have less than half a k of viewstate.
BetterBuilt.net professional web design and development. call 1-877-325-1109 x7
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012