473,498 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cassini webserver and Viewstate

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
Nov 18 '05 #1
1 1282
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" <jo***********@hotmail.com> wrote in message
news:OW**************@TK2MSFTNGP11.phx.gbl...
| 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
|
|
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4301
by: J. Muenchbourg | last post by:
I'm trying to install the Cassini WebServer on my Windows xp with .net framework, but the below instructions to get the webserver running after downloading the .exe doesnot make any sense at all: ...
0
967
by: DeWitt Phillips | last post by:
Can anyone tell me if there is a limit to the size of the viewstate that can be processed by the web server that comes with Web Matrix? I am only able to edit / update a few records before I get...
0
1107
by: Philipp Richter | last post by:
Cassini everytime gives me the error "Cassini Personal Web Server failed to start listening on port 80" Is there a known problem with cassini regarding this? Even if i change the port it wont...
4
1650
by: Ken Varn | last post by:
I am trying to cut down the amount ViewState data that is passed to the client browser. I have a number of Web Server Controls on my page, but I am confused as to when ViewState can be disabled to...
5
2585
by: clintonG | last post by:
After discovering Cassini is crippleware I learned how to use Start Options to disable NTLM and enable support for the default web server on my XP Pro dev platform. Now all new projects are created...
5
1412
by: Randall Parker | last post by:
Running XP Home which does not come with IIS. In response to advice received on this forum I installed the Cassini web server to serve in place of IIS. See here for Cassini:...
2
1249
by: Tim_Mac | last post by:
hi, for various reasons (navigational, relative paths etc.) i want the web site to always run from a root directory, i.e. http://localhost:3038/ and not http://localhost:3093/Virtual/ can cassini...
4
2220
by: Anbu | last post by:
Hi All, I'm using the Cassini component in my desktop application to create a web site to host the web services. The application works fine in normal scenario. If the system is kept idle for...
5
7686
by: OJ | last post by:
Hi, I am at a loss here, I have a c# asp.net website which connects to a remote SQL Server 2000 db via a connection string. If I set the website up in the filesystem and use the inbuilt cassini...
0
7126
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,...
0
7381
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...
0
5465
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,...
0
4595
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...
0
3096
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...
0
3087
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1424
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 ...
1
659
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
293
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.