Ask a Question related to ASP.NET General, Design and Development.
-
Brian Lankford #1
Invalid ViewState and Machine Keys
Ever since we moved our asp.net website to two load
balanced servers we have been getting every once in a
while invalid or corrupted viewstate errors. I've looked
around on the internet and the only thing I could find was
an article that told us to look at our machine.config file
on both servers to see if the machinekeys matched. We did
and found out that they are set to "autogenerate":
<machineKey validationKey="AutoGenerate"
decryptionKey="AutoGenerate" validation="SHA1"/>
So, my question is how do we find out what we need to set
the validationKey and decryptionKey to for both
machine.config files? Do we create this or is it located
on the server somewhere?
Brian Lankford Guest
-
Question about duplicate ViewState keys.
If two web server controls use ViewState and both controls inadvertently use the same key name for an item, will a collision occur between the two... -
viewstate is invalid for Macintosh users
I am getting the following error message reported for Macinstosh end users only: "The viewstate is invalid for this page and might be corrupted"... -
Invalid Viewstate Webfarms and the elusive fix.
When I run my asp.net application on a web farm I get the following error "The viewstate is invalid for this page and might be corrupted" ... -
sometimes clients get : viewstate invalid error , anyone knows why ?
Server : WEB System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.Web.HttpException: The... -
The viewstate is invalid for this page and might be corrupted
I don't know if it helps, but I get this message when viewing an aspx page from my Toshiba E750 pda. The first page comes up fine. I then logon... -
Cowboy \(Gregory A. Beamer\) #2
Re: Invalid ViewState and Machine Keys
I missed part of the question. The .NET help or quickstarts (I forget which
off hand) has an app for creating a hashed key value for your machine key.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge
************************************************** **************************
****
Think Outside the Box!
************************************************** **************************
****
"Brian Lankford" <brian.lankford@ipaper.com> wrote in message
news:52ff01c34195$cfd8cb90$a401280a@phx.gbl...> Ever since we moved our asp.net website to two load
> balanced servers we have been getting every once in a
> while invalid or corrupted viewstate errors. I've looked
> around on the internet and the only thing I could find was
> an article that told us to look at our machine.config file
> on both servers to see if the machinekeys matched. We did
> and found out that they are set to "autogenerate":
>
> <machineKey validationKey="AutoGenerate"
> decryptionKey="AutoGenerate" validation="SHA1"/>
>
>
> So, my question is how do we find out what we need to set
> the validationKey and decryptionKey to for both
> machine.config files? Do we create this or is it located
> on the server somewhere?
Cowboy \(Gregory A. Beamer\) Guest



Reply With Quote

