473,739 Members | 4,265 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Invalid Viewstate Corrupted Problem

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
the problem is due to the firewall. But I do not know how to get thru
this problem.

Please help me out on this. Thanks in advance.

----------------------------------------------------------------------------------

The viewstate is invalid for this page and might be corrupted.

Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Web.Http Exception: The viewstate is invalid
for this page and might be corrupted.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:
[HttpException (0x80004005): The viewstate is invalid for this page
and might be corrupted.]
System.Web.UI.P age.LoadPageSta teFromPersisten ceMedium() +149
System.Web.UI.P age.LoadPageVie wState() +18
System.Web.UI.P age.ProcessRequ estMain() +423
Nov 18 '05 #1
5 2105
Hi

was just wondering, are you trying to access a ASP.NET page or the HTM source of an ASP.NET page
What i mean is although you write a code in ASP.NET, when it gets to the client, its all plain HTML but still th
extension is .aspx. So if u have taken the view source of the same and name it as a different file and
view that in the browser, u still get the page. In the new saved page u will be having a view state hidden field
If sonebody ahs tampered that, u will get that error

What you can do for a quick solution is, open the source code of the page that you are accession, search for
viewstate hidden varibale and after finsing that remove that tag

let me know on thi

thank
Kashyp
Aztec Software and Technology Services Ltd
Bangalore
Nov 18 '05 #2
CT
Maybe this applies to you:

http://support.microsoft.com/default.aspx?kbid=831150

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Anup Jishnu" <an***@karchite cts.com> wrote in message
news:9f******** *************** *********@4ax.c om...
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
the problem is due to the firewall. But I do not know how to get thru
this problem.

Please help me out on this. Thanks in advance.

----------------------------------------------------------------------------------

The viewstate is invalid for this page and might be corrupted.

Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Web.Http Exception: The viewstate is invalid
for this page and might be corrupted.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:
[HttpException (0x80004005): The viewstate is invalid for this page
and might be corrupted.]
System.Web.UI.P age.LoadPageSta teFromPersisten ceMedium() +149
System.Web.UI.P age.LoadPageVie wState() +18
System.Web.UI.P age.ProcessRequ estMain() +423

Nov 18 '05 #3
Hi Kashyap,

Thanks for your tip.

However, we are not accessing a page as described by you. So the
question of ViewState being stored in the page does not arise.

Rgds
Anup
On Wed, 5 May 2004 22:31:03 -0700, "kashypa" <lo*****@aztec. soft.net>
wrote:
Hi,

was just wondering, are you trying to access a ASP.NET page or the HTM source of an ASP.NET page.
What i mean is although you write a code in ASP.NET, when it gets to the client, its all plain HTML but still the
extension is .aspx. So if u have taken the view source of the same and name it as a different file and
view that in the browser, u still get the page. In the new saved page u will be having a view state hidden field.
If sonebody ahs tampered that, u will get that error.

What you can do for a quick solution is, open the source code of the page that you are accession, search for a
viewstate hidden varibale and after finsing that remove that tag.

let me know on this

thanks
Kashypa
Aztec Software and Technology Services Ltd.
Bangalore


Nov 18 '05 #4
Hi Carsten,

Thanks for your help.

I will put this HotFix and check it out.

However, I would like to add that we are experienceing this problem on
some pages only and not all the pages.

The Hotfix will detail the error message, but will it let us know the
exact cause??

Will keep you all posted. IN the meantime, if you come across any more
tips, please do post them.

Rgds
Anup
On Thu, 6 May 2004 07:56:14 +0200, "CT"
<ca******@spamm ersgoawaydotnet services.biz> wrote:
Maybe this applies to you:

http://support.microsoft.com/default.aspx?kbid=831150


Nov 18 '05 #5
Check out this faq,
http://www.extremeexperts.com/Net/FA...isCorrupt.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Anup Jishnu" <an***@karchite cts.com> wrote in message
news:9f******** *************** *********@4ax.c om...
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
the problem is due to the firewall. But I do not know how to get thru
this problem.

Please help me out on this. Thanks in advance.

-------------------------------------------------------------------------- --------
The viewstate is invalid for this page and might be corrupted.

Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Web.Http Exception: The viewstate is invalid
for this page and might be corrupted.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:
[HttpException (0x80004005): The viewstate is invalid for this page
and might be corrupted.]
System.Web.UI.P age.LoadPageSta teFromPersisten ceMedium() +149
System.Web.UI.P age.LoadPageVie wState() +18
System.Web.UI.P age.ProcessRequ estMain() +423

Nov 18 '05 #6

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

Similar topics

0
1810
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
5665
by: Hardy Wang | last post by:
Hi all: I developed a web site, it passed various testing internally. When I put this site in production, I receive some error reports from this site saying "the viewstate is invalid for this page and might be corrupted". I am wandering what kind of client side problem may cause this error? Is it possible that user uses a browser which has local cache turned on all the time? Thanks for any suggestion.
3
2190
by: Gvnn | last post by:
Hi, I've a little problem, i've an asp.net page, with a runat server form, like this: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="index.aspx.vb" Inherits="indexGstPro"%> <HTML> <HEAD> </HEAD> <body>
2
783
by: Brad | last post by:
I have an intranet app that has just started sporadically getting the following error "The viewstate is invalid for this page and might be corrupted." By sproadic I mean 3-4 times during the past two days out of 100's of hits. The error just started yesterday and this app has been running for quite some time without this error and has not been updated just before or after the error started. Reseaching this error I've checked the...
7
1467
by: Jason | last post by:
Can anybody help on the following error : The viewstate is invalid for this page and might be corrupted. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: The viewstate is invalid for this page and might be corrupted.
9
4926
by: Jamie | last post by:
I am receiving an Invalid ViewState error after posting back to the same page twice. Consistently the error occurs after the second postback and not after the first. I have looked into creating a static machinekey in the machine.config and that did not help. I believe that issue only occurred when there was an inconsistent viewstate error. The error I am faced with consistently occurs. Are there any known problems with the ViewState...
3
8706
by: Nathan Sokalski | last post by:
I am recieving the following error on the second postback of a page I have written: The state information is invalid for this page and might be corrupted Stack Trace: System.Convert.FromBase64String(String s) +0
0
9146
by: mwmorrison93 | last post by:
Hello, I'm at my wit's end regarding the "The state information is invalid for this page and might be corrupted" error and I'm hoping someone can provide some assistance. I working with C#/ASP.NET 2.0/ IIS 6/Windows 2003 in a Web Farm environment. I've set up a machineKey in root web configuration file that I'm sharing across all machines, however i'm still getting an error stating that the viewstate is invalid. I'm not sure what else to...
0
5742
by: tynorton | last post by:
Hey, I've been working on this issue for a while now, with no leads or success. The scenario is a homemade modal dialog using UpdatePanels. There a couple ImageButtons inside of usercontrols with their OnClick events delegated to file.aspx. Here is my error (These happen fairly infrequently, say, 5-10 times an
0
8969
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
9337
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...
0
9209
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...
0
8215
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6054
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
4570
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...
0
4826
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3280
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 we have to send another system
2
2748
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.