473,385 Members | 1,727 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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.HttpException: 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.Page.LoadPageStateFromPersistenceMed ium() +149
System.Web.UI.Page.LoadPageViewState() +18
System.Web.UI.Page.ProcessRequestMain() +423
Nov 18 '05 #1
5 2071
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***@karchitects.com> wrote in message
news:9f********************************@4ax.com...
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.HttpException: 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.Page.LoadPageStateFromPersistenceMed ium() +149
System.Web.UI.Page.LoadPageViewState() +18
System.Web.UI.Page.ProcessRequestMain() +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******@spammersgoawaydotnetservices.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***@karchitects.com> wrote in message
news:9f********************************@4ax.com...
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.HttpException: 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.Page.LoadPageStateFromPersistenceMed ium() +149
System.Web.UI.Page.LoadPageViewState() +18
System.Web.UI.Page.ProcessRequestMain() +423

Nov 18 '05 #6

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: 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...
3
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>...
2
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...
7
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...
9
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...
3
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: ...
0
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...
0
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...

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.