Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Cassini webserver and Viewstate

Reply
Thread Tools

Cassini webserver and Viewstate

 
 
Jonas Nilsson
Guest
Posts: n/a
 
      11-12-2004
I have a webapplication that runs with out any errors under
MS IIS 5 / 6.

But when I try to run it under MS Cassini web server i get this error if i
have
a big Viewstate ( A datagrid or a treecontrol with a lot of data ).

################################################## #####################
[FormatException: Invalid character in a Base-64 string.]
System.Convert.FromBase64String(String s) +0
System.Web.UI.LosFormatter.Deserialize(String input) +25
System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +101

[HttpException (0x80004005): Invalid_Viewstate
Client IP: 127.0.0.1
Port:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR
1.1.4322)
################################################## #####################

/Jonas


 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      11-12-2004
the viewstate is proably truncated, some proxy servers will do this also, so
the real fix is to reduce the viewstate payload. your site uses will be
happy also.

-- bruce (sqlwork.com)


"Jonas Nilsson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
| I have a webapplication that runs with out any errors under
| MS IIS 5 / 6.
|
| But when I try to run it under MS Cassini web server i get this error if
i
| have
| a big Viewstate ( A datagrid or a treecontrol with a lot of data ).
|
| ################################################## #####################
| [FormatException: Invalid character in a Base-64 string.]
| System.Convert.FromBase64String(String s) +0
| System.Web.UI.LosFormatter.Deserialize(String input) +25
| System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +101
|
| [HttpException (0x80004005): Invalid_Viewstate
| Client IP: 127.0.0.1
| Port:
| User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR
| 1.1.4322)
| ################################################## #####################
|
| /Jonas
|
|


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging Cassini (Extracting Hit URL string on Cassini) emc ASP .Net Web Services 1 11-04-2005 09:44 AM
When can ViewState be disabled in WebServer controls? Ken Varn ASP .Net 4 11-09-2004 01:53 PM
Problem with Cassini Webserver Philipp Richter ASP .Net 0 06-09-2004 09:29 PM
Cassini, web matrix and viewstate DeWitt Phillips ASP .Net 0 11-07-2003 05:05 AM
cassini and vs.net 2003 Keith Bozek ASP .Net 0 08-13-2003 06:22 AM



Advertisments