Invalid Viewstate Corrupted Problem

A

Anup Jishnu

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.LoadPageStateFromPersistenceMedium() +149
System.Web.UI.Page.LoadPageViewState() +18
System.Web.UI.Page.ProcessRequestMain() +423
 
G

Guest

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
 
A

Anup Jishnu

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
 
A

Anup Jishnu

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top