473,881 Members | 1,765 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2532
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*****@hotmai l.com> wrote in message
news:ey******** ******@TK2MSFTN GP12.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.NO SPAM> wrote in message
news:es******** ******@TK2MSFTN GP10.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*****@hotmai l.com> wrote in message
news:ey******** ******@TK2MSFTN GP12.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*****@hotmai l.com> wrote in message
news:OB******** ******@TK2MSFTN GP09.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.NO SPAM> wrote in message
news:es******** ******@TK2MSFTN GP10.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*****@hotmai l.com> wrote in message
news:ey******** ******@TK2MSFTN GP12.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.NO SPAM> wrote in message
news:eX******** ******@TK2MSFTN GP09.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*****@hotmai l.com> wrote in message
news:OB******** ******@TK2MSFTN GP09.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.NO SPAM> wrote in message
news:es******** ******@TK2MSFTN GP10.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*****@hotmai l.com> wrote in message
news:ey******** ******@TK2MSFTN GP12.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
1817
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 gve the following error for VIEWSTATE. The internal network is protected by a Firewall. My suspicion is that
5
2112
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 gve the following error for VIEWSTATE. The internal network is protected by a Firewall. My suspicion is that
1
1976
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 can just refresh the page and it goes through ok <%@ Page Language="VB" EnableViewState="false" Debug="true" % The worker threads are set to one, however, it is running on a dual processor web server. The Load Balancer is not installed. What...
0
300
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 gve the following error for VIEWSTATE. The internal network is protected by a Firewall. My suspicion is that
7
2155
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 webpage contains 2 dropdowns controls and I save information entered by user in ViewState variable containing array ArrayList MyCoordinates = (ArrayList) ViewState ; if (MyCoordinates == null) { MyCoordinates = new ArrayList ();
0
9930
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9776
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10720
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10819
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10403
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7953
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7113
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5781
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4196
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.