Discussion:
Fritz Onion's ViewState Decoder
Kevin Hector
2004-04-08 08:28:21 UTC
Permalink
Hi. I am getting an error with Fritz Onion's ViewState Decoder [1]. It says
"The ' ' character, hexadecimal value 0x20, cannot be included in a name".
Doesn't happen with all ViewState strings but seems to happen fairly often.

I've tried both pasting the ViewState and letting the app extract the
ViewState. No such error using Paul Wilson's parser [2], but I much prefer
Fritz's UI.

Fritz, did you ever post the source code for this utility?

Thanks

KH

[1] http://staff.develop.com/onion/resources.htm
[2] http://www.wilsondotnet.com/Demos/ViewState.aspx

_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger
http://www.msn.co.uk/messenger

===================================
This list is hosted by DevelopMentor® http://www.develop.com
NEW! ASP.NET courses you may be interested in:

Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com
Fritz Onion
2004-04-08 14:30:58 UTC
Permalink
Post by Kevin Hector
Hi. I am getting an error with Fritz Onion's ViewState Decoder [1]. It says
"The ' ' character, hexadecimal value 0x20, cannot be included in a name".
Doesn't happen with all ViewState strings but seems to happen fairly often.
I've tried both pasting the ViewState and letting the app extract the
ViewState. No such error using Paul Wilson's parser [2], but I much prefer
Fritz's UI.
Fritz, did you ever post the source code for this utility?
No, I didn't post the source code because it was too ugly ;) This version of
the decoder works with a custom parser that I wrote that chokes on some view
state values - I never had a chance to track down all of the issues.
However, with the release of .NET 1.1 they made the LosFormatter a public
class, so I have re-written the decoder to use the built-in Viewstate parser
which will work on anything ASP.NET produces. I'm working out a few last
kinks today (spurned on by your post - thanks!) and will post new versions
of the decoder in the next day or two (and will announce it here).

There will be a 1.1 version and a 2.0 version supporting the Community
release of VS.NET 2005.

-Fritz

===================================
This list is hosted by DevelopMentor� http://www.develop.com
NEW! ASP.NET courses you may be interested in:

Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com
Fritz Onion
2004-04-08 15:51:51 UTC
Permalink
As promised, I have released two new versions of my ViewState Decoder
utility available at [1]. The 1.1 version now uses the LosFormatter and
should work on all viewstate strings. The 2.0 version is compatible with the
March 2004 Community Preview edition of Visual Studio 2005 for those that
want to spelunk the new viewstate.

Enjoy,
Fritz

[1] http://staff.develop.com/onion/resources.htm

Fritz Onion
http://staff.develop.com/onion

Essential ASP.NET
the course: http://www.develop.com/courses/essentialasp.net
the books: http://www.develop.com/books/essentialasp.net

===================================
This list is hosted by DevelopMentor� http://www.develop.com
NEW! ASP.NET courses you may be interested in:

Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com
Kevin Hector
2004-04-09 10:53:56 UTC
Permalink
I'm working out a few last kinks today
(spurned on by your post - thanks!)
Thanks Fritz. Glad to be the catalyst for progress.

KH

===================================
This list is hosted by DevelopMentor� http://www.develop.com
NEW! ASP.NET courses you may be interested in:

Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com
Loading...