By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,101 Members | 1,340 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,101 IT Pros & Developers. It's quick & easy.

Invalid Viewstate Corrupted Problem

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.