Ask a Question related to ASP.NET General, Design and Development.
-
Trevor Andrew #1
Viewstate Corrupt error message after "Worker Process" recycling
Hi There,
I have a small ASP.NET application under development. I am using VS.NET 2002
(2003 upgrade is on the way) with .NET Framework 1.1. It is hosted on a web
hosting service in the US. I am experiencing the "Viewstate corrupted" error
message on a particular page, when that page is left for a period of time
and I return to it again, and submit it again. The page in question has a
drop-down list of various RSS news feeds I am interested in, so I'll often
look at a set of news articles, read one and return to my page and choose
another RSS feed.
I have been informed by my web hosting organisation that the problem is
caused by "worker process recycling". That is, to minimise resources after a
period of inactivity, the worker process servicing requests for my web site
is
re-used.
Does this sound plausible? Many of the other explanations regarding
synchronised machine keys in machine.config files sound much more likely to
me.
Also, even if this were the case, why would the servicing of a subsequent
request by a different worker process consider the client-side persisted
viewstate to be corrupt? That's the bit I just don't understand.
Any help or suggestions would be greatly appreciated.
Regards,
Trevor Andrew
Trevor Andrew Guest
-
Help! Can not save anything in Illustrator format - Error message "unknown error has occured"
I am using Illustrator CS on XP, I was trying to save my work, it was a template and about 10 layers. I got the error message "unknown error has... -
Receive print process error"pstopdffilter" when printing from AcrobatProfessional 8.1
Using G5, running System 10.4.11. Also get same process error "pstopdffilter" when printing from Acrobat Professional 8.1 to Canon i9900. -
"Invalid message format" error from JDBC driver
Hello, all. I have a query that runs perfectly when I run it from pgAdmin3, but bombs when I run it from ColdFusion using the JDBC driver. I'm... -
"viewstate is invalid for this page and might be corrupted" - why does worker process recycling cause this?
Hi There, I have posted something previously regarding this issue, but I think I have some more concise questions to ask, and would like to get... -
Viewstate Corrupt message after "worker process recycling"
Hi There, I have a small ASP.NET application under development. I am using VS.NET 2002 (2003 upgrade is on the way) with .NET Framework 1.1. It... -
Trevor Andrew #2
Re: Viewstate Corrupt error message after "Worker Process" recycling on Windows 2003
Hi Justin,
Thanks for that ... I understand that viewstate is encoded, and the bits
that are persisted on the server side are the machine keys to perform this
encoding. But isn't that all that is persisted server side? Surely none of
the web form related viewstate data is persisted server side?
Regards,
Trevor Andrew
"S. Justin Gengo" <sjgengo@aboutfortunate.com> wrote in message
news:%2382c2SYUDHA.2204@TK2MSFTNGP12.phx.gbl...clearly...> I don't believe the entire view state is persisted. But part of the view
> state is persisted server side. Let me see if I can explain thisprocess>
> For security reasons the view state is encoded. Part of the encodingdefinitely> is kept server side and is used to compare a submitted view state with the
> part kept on the server. This makes it very difficult for someone to
> impersonate a page post back sending false data in the viewstate.
>
> --
> S. Justin Gengo, MCP
> Web Developer
>
> Free code library at:
> [url]www.aboutfortunate.com[/url]
>
> "Out of chaos comes order."
> Nietzche
> "Trevor Andrew" <nntp@tassoc.com.au> wrote in message
> news:eTy9C%23XUDHA.3916@tk2msftngp13.phx.gbl...> company> > Hi There,
> >
> > By way of further clarification, I have been told by my web hosting> problem> > that:
> >
> > a. Viewstate IS persisted on the server, and hence this is where the> me.> > arises.
> > b. This is only an issue with Windows 2003, which they are now running.
> > c. There is no way to stop ASP.NET persisting a copy of viewstate on the
> > server.
> >
> > Not wishing to sound sceptical, but points a) and c) above really puzzle> > I thought that Viewstate (as opposed to session state) was mostthe> > only a client side form of persistence. Can someone confirm one way orVS.NET> > other?
> >
> > Regards,
> > Trevor Andrew
> >
> > "Trevor Andrew" <nntp@tassoc.com.au> wrote in message
> > news:%23NFMZ3VUDHA.2088@TK2MSFTNGP10.phx.gbl...> > > Hi There,
> > >
> > > I have a small ASP.NET application under development. I am usinga> > 2002> > > (2003 upgrade is on the way) with .NET Framework 1.1. It is hosted onhas> time> > web> > error> > > hosting service in the US. I am experiencing the "Viewstate corrupted"> > > message on a particular page, when that page is left for a period of> > > and I return to it again, and submit it again. The page in questionis> a> often> > > drop-down list of various RSS news feeds I am interested in, so I'll> choose> > > look at a set of news articles, read one and return to my page and> > > another RSS feed.
> > >
> > > I have been informed by my web hosting organisation that the problemlikely> after> > > caused by "worker process recycling". That is, to minimise resources> > a> > site> > > period of inactivity, the worker process servicing requests for my web> > > is
> > > re-used.
> > >
> > > Does this sound plausible? Many of the other explanations regarding
> > > synchronised machine keys in machine.config files sound much morepersisted> subsequent> > to> > > me.
> > >
> > > Also, even if this were the case, why would the servicing of a> > > request by a different worker process consider the client-side>> >> > > viewstate to be corrupt? That's the bit I just don't understand.
> > >
> > > Any help or suggestions would be greatly appreciated.
> > >
> > > Regards,
> > > Trevor Andrew
> > >
> > >
> >
>
Trevor Andrew Guest
-
S. Justin Gengo #3
Re: Viewstate Corrupt error message after "Worker Process" recycling on Windows 2003
Trevor,
Yes, I believe that is correct.
--
S. Justin Gengo, MCP
Web Developer
Free code library at:
[url]www.aboutfortunate.com[/url]
"Out of chaos comes order."
Nietzche
"Trevor Andrew" <nntp@tassoc.com.au> wrote in message
news:e%23Z%23BcYUDHA.2456@TK2MSFTNGP09.phx.gbl...the> Hi Justin,
>
> Thanks for that ... I understand that viewstate is encoded, and the bits
> that are persisted on the server side are the machine keys to perform this
> encoding. But isn't that all that is persisted server side? Surely none of
> the web form related viewstate data is persisted server side?
>
> Regards,
> Trevor Andrew
>
>
> "S. Justin Gengo" <sjgengo@aboutfortunate.com> wrote in message
> news:%2382c2SYUDHA.2204@TK2MSFTNGP12.phx.gbl...> clearly...> > I don't believe the entire view state is persisted. But part of the view
> > state is persisted server side. Let me see if I can explain this> process> >
> > For security reasons the view state is encoded. Part of the encoding> > is kept server side and is used to compare a submitted view state withrunning.> > part kept on the server. This makes it very difficult for someone to
> > impersonate a page post back sending false data in the viewstate.
> >
> > --
> > S. Justin Gengo, MCP
> > Web Developer
> >
> > Free code library at:
> > [url]www.aboutfortunate.com[/url]
> >
> > "Out of chaos comes order."
> > Nietzche
> > "Trevor Andrew" <nntp@tassoc.com.au> wrote in message
> > news:eTy9C%23XUDHA.3916@tk2msftngp13.phx.gbl...> > company> > > Hi There,
> > >
> > > By way of further clarification, I have been told by my web hosting> > problem> > > that:
> > >
> > > a. Viewstate IS persisted on the server, and hence this is where the> > > arises.
> > > b. This is only an issue with Windows 2003, which they are nowthe> > > c. There is no way to stop ASP.NET persisting a copy of viewstate onpuzzle> > > server.
> > >
> > > Not wishing to sound sceptical, but points a) and c) above reallyon> definitely> > me.> > > I thought that Viewstate (as opposed to session state) was most> the> > > only a client side form of persistence. Can someone confirm one way or> VS.NET> > > other?
> > >
> > > Regards,
> > > Trevor Andrew
> > >
> > > "Trevor Andrew" <nntp@tassoc.com.au> wrote in message
> > > news:%23NFMZ3VUDHA.2088@TK2MSFTNGP10.phx.gbl...
> > > > Hi There,
> > > >
> > > > I have a small ASP.NET application under development. I am using> > > 2002
> > > > (2003 upgrade is on the way) with .NET Framework 1.1. It is hostedcorrupted"> a> > > web
> > > > hosting service in the US. I am experiencing the "Viewstateweb> has> > time> > > error
> > > > message on a particular page, when that page is left for a period of> > > > and I return to it again, and submit it again. The page in question> is> > a> > often> > > > drop-down list of various RSS news feeds I am interested in, so I'll> > choose> > > > look at a set of news articles, read one and return to my page and> > > > another RSS feed.
> > > >
> > > > I have been informed by my web hosting organisation that the problem> > after> > > > caused by "worker process recycling". That is, to minimise resources> > > a
> > > > period of inactivity, the worker process servicing requests for my> likely> > > site
> > > > is
> > > > re-used.
> > > >
> > > > Does this sound plausible? Many of the other explanations regarding
> > > > synchronised machine keys in machine.config files sound much more> persisted> > subsequent> > > to
> > > > me.
> > > >
> > > > Also, even if this were the case, why would the servicing of a> > > > request by a different worker process consider the client-side>> >> > > > viewstate to be corrupt? That's the bit I just don't understand.
> > > >
> > > > Any help or suggestions would be greatly appreciated.
> > > >
> > > > Regards,
> > > > Trevor Andrew
> > > >
> > > >
> > >
> > >
> >
>
S. Justin Gengo Guest



Reply With Quote

