472,371 Members | 1,596 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,371 software developers and data experts.

The viewstate is invalid for this page and might be corrupted

We use web farm and apply machine key in web.config file as told in
http://support.microsoft.com/default...b;en-us;323744
but it doesn't help

Any other suggestions?
Please help
Nov 17 '05 #1
4 2407
Hello

As the article suggests "You modify your pages, which causes the shadow,
copied files in the Temporary ASP.NET files folder to be regenerated. A user
has a copy of the page that was requested before this change, and the user
posts the page after the files in that folder were regenerated"

Another scenario is that you modified a page in one server and forgot to
modify it in the other server, which will make the same problem. Make sure
all pages have the same version of the code.

Best regards,
Sherif

"Anatoly" <an*****@hotmail.com> wrote in message
news:ey**************@TK2MSFTNGP12.phx.gbl...
We use web farm and apply machine key in web.config file as told in
http://support.microsoft.com/default...b;en-us;323744
but it doesn't help

Any other suggestions?
Please help

Nov 17 '05 #2
Thanks for replay
The first scenario offer to delete temporary ASP.NET files while
new version of application coming.
The problem is IIS(asp_net) locks dlls and to release them you must restart
IIS.
That's mean after every version update we MUST restart IIS and delete
temporary files.
If I right it very bad.

"Sherif ElMetainy" <el*************@wayout.net.NOSPAM> wrote in message
news:es**************@TK2MSFTNGP10.phx.gbl...
Hello

As the article suggests "You modify your pages, which causes the shadow,
copied files in the Temporary ASP.NET files folder to be regenerated. A user has a copy of the page that was requested before this change, and the user
posts the page after the files in that folder were regenerated"

Another scenario is that you modified a page in one server and forgot to
modify it in the other server, which will make the same problem. Make sure
all pages have the same version of the code.

Best regards,
Sherif

"Anatoly" <an*****@hotmail.com> wrote in message
news:ey**************@TK2MSFTNGP12.phx.gbl...
We use web farm and apply machine key in web.config file as told in
http://support.microsoft.com/default...b;en-us;323744
but it doesn't help

Any other suggestions?
Please help


Nov 17 '05 #3
Hello

Actually this is not as bad as it seems. If you don't delete the temporary
ASP.NET files, only users who requested the page before the update and
posted back after the update are affected. In a production environment the
updates should be infrequent, which make the error unlikely. So the update
issue is not a problem. So the error is frequent only in a development
environment. If you must update a production environment, you should pick a
time, where the traffic on the website is minimum.

Best regards,

Sherif
"Anatoly" <an*****@hotmail.com> wrote in message
news:OB**************@TK2MSFTNGP09.phx.gbl...
Thanks for replay
The first scenario offer to delete temporary ASP.NET files while
new version of application coming.
The problem is IIS(asp_net) locks dlls and to release them you must restart IIS.
That's mean after every version update we MUST restart IIS and delete
temporary files.
If I right it very bad.

"Sherif ElMetainy" <el*************@wayout.net.NOSPAM> wrote in message
news:es**************@TK2MSFTNGP10.phx.gbl...
Hello

As the article suggests "You modify your pages, which causes the shadow,
copied files in the Temporary ASP.NET files folder to be regenerated. A

user
has a copy of the page that was requested before this change, and the user posts the page after the files in that folder were regenerated"

Another scenario is that you modified a page in one server and forgot to
modify it in the other server, which will make the same problem. Make sure all pages have the same version of the code.

Best regards,
Sherif

"Anatoly" <an*****@hotmail.com> wrote in message
news:ey**************@TK2MSFTNGP12.phx.gbl...
We use web farm and apply machine key in web.config file as told in
http://support.microsoft.com/default...b;en-us;323744
but it doesn't help

Any other suggestions?
Please help



Nov 17 '05 #4
Unfortunately, we developing Intranet applications for internal use.
So projects are small in size(One-Ten pages) but updates very frequent, so
it is an issue for us.
Thanks for help.

"Sherif ElMetainy" <el*************@wayout.net.NOSPAM> wrote in message
news:eX**************@TK2MSFTNGP09.phx.gbl...
Hello

Actually this is not as bad as it seems. If you don't delete the temporary
ASP.NET files, only users who requested the page before the update and
posted back after the update are affected. In a production environment the
updates should be infrequent, which make the error unlikely. So the update
issue is not a problem. So the error is frequent only in a development
environment. If you must update a production environment, you should pick a time, where the traffic on the website is minimum.

Best regards,

Sherif
"Anatoly" <an*****@hotmail.com> wrote in message
news:OB**************@TK2MSFTNGP09.phx.gbl...
Thanks for replay
The first scenario offer to delete temporary ASP.NET files while
new version of application coming.
The problem is IIS(asp_net) locks dlls and to release them you must

restart
IIS.
That's mean after every version update we MUST restart IIS and delete
temporary files.
If I right it very bad.

"Sherif ElMetainy" <el*************@wayout.net.NOSPAM> wrote in message
news:es**************@TK2MSFTNGP10.phx.gbl...
Hello

As the article suggests "You modify your pages, which causes the shadow, copied files in the Temporary ASP.NET files folder to be regenerated. A
user
has a copy of the page that was requested before this change, and the user posts the page after the files in that folder were regenerated"

Another scenario is that you modified a page in one server and forgot
to modify it in the other server, which will make the same problem. Make

sure all pages have the same version of the code.

Best regards,
Sherif

"Anatoly" <an*****@hotmail.com> wrote in message
news:ey**************@TK2MSFTNGP12.phx.gbl...
> We use web farm and apply machine key in web.config file as told in
> http://support.microsoft.com/default...b;en-us;323744
> but it doesn't help
>
> Any other suggestions?
> Please help
>
>



Nov 17 '05 #5

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

Similar topics

0
by: Anup Jishnu | last post by:
Hi, I have installed ASP.Net application on a system. When accessing the Application from within the LAN, it works fine. However, when I access the application from the Internet, some pages...
5
by: Anup Jishnu | last post by:
Hi, I have installed ASP.Net application on a system. When accessing the Application from within the LAN, it works fine. However, when I access the application from the Internet, some pages...
1
by: Mind Dragon | last post by:
I have an ASP application that works fine locally but when it's uploaded occasionally, I get viewstate errors. Another thing is that the viewstate for that page is disabled. There are cases where I...
0
by: Anup Jishnu | last post by:
Hi, I have installed ASP.Net application on a system. When accessing the Application from within the LAN, it works fine. However, when I access the application from the Internet, some pages...
7
by: GS | last post by:
Hello, I'm receiving The state information is invalid for this page and might be corrupted error message when running code below. This happens on second post back. Why is it happening? My...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

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.