Updated ViewState Decoder

Onion Blog

Syndication

An updated version of my ViewState decoder utility (2.2) is available here. This update includes a fix for the 'extract viewstate' feature which was apparently broken in the last release. Thanks to Israel Aece for pointing out the problem.

Update: fixed link to point to new download location.


Posted Jul 17 2007, 09:12 AM by fritz-onion
Filed under: , ,

Comments

Jay wrote re: Updated ViewState Decoder
on 07-18-2007 11:09 AM
Sorry Fritz, it still does not work. i get the extractor page, but nothing else works.
Cheers
Jay
Fritz Onion wrote re: Updated ViewState Decoder
on 07-18-2007 11:31 AM
I just uploaded one more new version that prints the error messages (the error text box was somehow off the form). If you download again, you should at least see an error message indicating what the problem was. I just tested it on 5 sites with ViewState, and the decoding worked fine. I also added wait cursors to this drop so you can see when it's working ;)

Leslie wrote re: Updated ViewState Decoder
on 09-11-2007 1:51 PM
When I try to access my application, it only goes to the login page, even though I logged in through another browser window. Is there any way to get past that? I tried copying and pasting the ViewState from a View Source, but I get an error that the serialized data is invalid.
Carlo Folini wrote re: Updated ViewState Decoder
on 10-02-2007 2:04 AM
It would be great if you fix the docking of controls inside the winform.
http://blogs.ugidotnet.org/images/blogs_ugidotnet_org/cfolini/WindowsLiveWriter/TempOnion_A771/ViewStateDecoder.jpg

Great tool!!!
Daniel Magliola wrote re: Updated ViewState Decoder
on 11-01-2007 4:08 PM
Dear Fritz,

I love your Viewstate Decoder, I use it all the time, and there is a small "feature" thingy that's missing, and most of the time drives me crazy...

When you resize the window to make it bigger (which is always necessary to see the contents of the big trees on the right), what you get is not very useful...

Could you please have the controls on the right anchor to both the left and right of the form, so that they'll become bigger, instead of moving to the right?

I'd do it myself, since I read somewhere that this comes with source code, but I haven't been able to find it.

Thanks for creating this tool, and making it free.

Daniel
Fritz Onion wrote re: Updated ViewState Decoder
on 11-02-2007 4:06 AM
I'll try to get to fixing the docking soon, but if anyone would like the source code please just email me privately (fixes welcome!) Use my contact page on pluralsight.com to email.

-Fritz
jas wrote re: Updated ViewState Decoder
on 07-11-2008 6:48 AM

Download link(/tools.aspx) is not working ending with 404 error

joe wrote re: Updated ViewState Decoder
on 08-18-2008 10:18 AM

Nice tool.  Can you make it so it handles more than 3500 char?

Fritz Onion wrote re: Updated ViewState Decoder
on 09-29-2008 8:20 AM

Joe - not sure what you mean, it handles more than 3500 characters fine in my testing.

Martin Gay wrote re: Updated ViewState Decoder
on 09-30-2008 4:55 AM

Fritz. Invaluable tool. Would it be possible for me to copy and paste the viewstate into the view state string text area? The reason I ask is that in my case the view state steadily grows over Ajax calls and I need to track why/where the viewstate is getting bigger. With your tool I can capture the initial viewstate, but not the subsequent calls. I can get the value of the viewstate string from the page source or Fiddler. Be nice if I could paste this in the textarea.

Thanks,

Martin

fritz-onion wrote re: Updated ViewState Decoder
on 09-30-2008 5:05 AM

Martin - absolutely, that is one of the intended uses. Just copy and paste, it works fine.

mike wrote re: Updated ViewState Decoder
on 10-16-2008 2:59 PM

Is it possible for you to post the code project for this utility?  I have several custom user/server controls which seem to be affecting the decoding of the viewstate.  This should be correctable after adding the assembly references to the app.

Error message: The serialized data is invalid.

Steve wrote re: Updated ViewState Decoder
on 10-21-2008 9:57 AM

If you click the above download link in IE6 you'll get a blank page.  Seems to work in FF though.

Never doubt thy debugger wrote Invalid length for a Base-64 char array
on 11-05-2008 9:13 AM

There are various causes for this error, this is one we had some time ago when paginating through a DataGrid

Add a Comment

(required)  
(optional)
(required)  
Remember Me?