Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > The state information is invalid for this page and might be corrupted.

Reply
Thread Tools

The state information is invalid for this page and might be corrupted.

 
 
Benny Ng
Guest
Posts: n/a
 
      04-02-2008
Dear All,

I got the following error today. But yesterday this application is
running fine.

Even today i try to move this project to another server. The same
symptom I got.

Does anyone know what's happened for this case?

Thanks,

Best Regards,

Benny Ng







Server Error in '/LGOldServices' Application.
--------------------------------------------------------------------------------

The state information 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 state information is
invalid for this page and might be corrupted.

Source Error:


[No relevant source lines]


Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\lgoldservices\10b99f4d\fe7b353e\App_Web_jlz_ zk70.4.cs Line: 0

Stack Trace:


[FormatException: Invalid character in a Base-64 string.]
System.Convert.FromBase64String(String s) +0
System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +67
System.Web.UI.ObjectStateFormatter.System.Web.UI.I StateFormatter.Deserialize(String
serializedState) +4
System.Web.UI.Util.DeserializeWithAssert(IStateFor matter formatter,
String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +136

[ViewStateException: Invalid viewstate.
Client IP: 192.168.0.60
Port: 2962
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR
1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR
3.0.04506.648; .NET CLR 3.5.21022)
ViewState:
/wEPDwUKLTMyNjMzMDc2Mw8WAh4PU2VydmljZU9iamVjdElkBQw xMDAwMDAwMDAwMDEWAgIDD2QWdgIBDw8WAh4EVGV4dAUM5pyN5 Yqh5a+56LGhZGQCAw8PFgIfAQUM5Z+65pys6LWE5paZZGQCBA8 PFgIfAQUG56S+5Yy6ZGQCBQ8QDxYGHg5EYXRhVmFsdWVGaWVsZ AUMQ29tbXVuaXR5X0lkHg1EYXRhVGV4dEZpZWxkBQlDb21tdW5 pdHkeC18hRGF0YUJvdW5kZ2QQFQkM5paw55Sf56S+5Yy6DOWNl +iBlOekvuWMugzpvpnlspfnpL7ljLoM6b6Z5Lic56S+5Yy6D+m +meWyl+Win+ekvuWMugzljZfnuqbnpL7ljLoM5ZCM5LmQ56S+5 Yy6DOW5s+WNl+ekvuWMugR0ZXN0FQkMMTAwMDAwMDAwMDAxDDE wMDAwMDAwMDAwMgwxMDAwMDAwMDAwMDMMMTAwMDAwMDAwMDA0D DEwMDAwMDAwMDAwNQwxMDAwMDAwMDAwMTMMMTAwMDAwMDAwMDE 0DDEwMDAwMDAwMDAxNQwxMDAwMDAwMDAwMTYUKwMJZ2dnZ2dnZ 2dnFgECBmQCBg8PFgIfAQUG5oCn5YirZGQCBw8QDxYGHwIFCVN leHVhbF9JZB8DBQZTZXh1YWwfBGdkEBUCA+eUtwPlpbMVAgwxM DAwMDAwMDAwMDkMMTAwMDAwMDAwMDEwFCsDAmdnZGQCCA8PFgI fAQUG5aeT5ZCNZGQCCg8PFgIfAQUP5Ye65...]

[HttpException (0x80004005): The state information is invalid for this page
and might be corrupted.]
System.Web.UI.ViewStateException.ThrowError(Except ion inner, String
persistedState, String errorPageMessage, Boolean macValidationError) +267
System.Web.UI.HiddenFieldPageStatePersister.Load() +218
System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +83
System.Web.UI.Page.LoadAllState() +35
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.serviceobject_edit2_aspx.ProcessRequest(HttpCo ntext context) in
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\lgoldservices\10b99f4d\fe7b353e\App_Web_jlz_ zk70.4.cs:0
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute()
+358
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +64




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433;
ASP.NET Version:2.0.50727.1433















And the following is the error message i got from Event Viewer.


Event Type: Information
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1316
Date: 2008-4-2
Time: 13:53:36
User: N/A
Computer: LG
Description:
Event code: 4009
Event message: Viewstate verification failed. Reason: Viewstate was invalid.
Event time: 2008-4-2 13:53:36
Event time (UTC): 2008-4-2 5:53:36
Event ID: eeaf78191240418aa9808d5ef214be54
Event sequence: 20
Event occurrence: 1
Event detail code: 50204

Application information:
Application domain: /LM/W3SVC/1/Root/LGOldServices-1-128515892019218750
Trust level: Full
Application Virtual Path: /LGOldServices
Application Path: D:\Projects.Net2008\LGOldServices\LGOldServices\
Machine name: LG

Process information:
Process ID: 2752
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Request information:
Request URL:
http://192.168.0.148/lgoldservices/S...d=100000000001
Request path: /lgoldservices/ServiceObject/Edit2.aspx
User host address: 192.168.0.60
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

ViewStateException information:
Exception message: Invalid viewstate.
Client IP: 192.168.0.60
Port: 3370
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR
1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR
3.0.04506.648; .NET CLR 3.5.21022)
PersistedState:
/wEPDwUKLTMyNjMzMDc2Mw8WAh4PU2VydmljZU9iamVjdElkBQw xMDAwMDAwMDAwMDEWAgIDD2QWdgIBDw8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JpcHTlvIDlj5Es5bu66K6u5L2g5L2/55So5LiAZAJIDw8WAh8BBQzpq5jnuqfkv6Hmga9kZAJJDw8WAh 8BBQbkurLlsZ5kZAJLDw8WAh8BBQnosIPmn6XlkZhkZAJNDw8W Ah8BBQzosIPmn6Xml6XmnJ9kZAJOD2QWAgIFDw9kFgIfBQV2am F2YXNjcmlwdDpyZXR1cm4gcG9wVXBDYWxlbmRhcih0aGlzLFR4 dFN1cnZleURhdGVfdHh0X0RhdGUsICdkZC9tbS95eXl5JywgJ1 9fZG9Qb3N0QmFjayhcJ1R4dFN1cnZleURhdGVfdHh0X0RhdGVc JyknKWQCTw8PFgIfAQUG5L+d5a2YZGQCUA8WAh4FdmFsdWUFBu mHjeiuvmQCUQ8PFgIfAQUP5L+d5a2Y5bm26L+U5ZueZGRkKbcU SItP4ewSBWIYTPNOmqZbEeQ=,/wEPDwUKLTgyMDA0OTg5OA9kFgJmD2QWAgIFDxYEHgV2YWx1ZQU G5L+d5a2YHgdvbmNsaWNrBRNmbkluc2VydFJlbGF0aXZlKCk7Z BgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQU SQ2hrUmVsYXRpdmVGb3JzdGVypMFTFaw2gG+a5mrDrM7vaFmU2 Qk=
Referer:
http://192.168.0.148/lgoldservices/S...d=100000000001
Path: /lgoldservices/ServiceObject/Edit2.aspx

Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.


 
Reply With Quote
 
 
 
 
Benny Ng
Guest
Posts: n/a
 
      04-02-2008


Now I know the reason of this problem.



Because the page i want to submit is a main page. Through AJAX i got some
content from another page. But with the returned content. It's contained a
variable name "__VIEWSTATE". It will replaced the same variable of the main
page.



So when i tried to submit the content of main page. The error i mentioned
will comes. Because the content of __VIEWSTATE of main page is replaced
already.



<form name="frmBankDetail" method="post" action="WorkingArea_Bank.aspx"
id="frmBankDetail"> <div> [color=#FF0000][/<input type="hidden"
name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTU5OTg4MzUzNWRk"
/>
[color] </div> <table borderColor='#000000' cellSpacing='1'
cellPadding='3' width='100%' bgColor='#000000' border='0'> <tr
class="shade"> <td nowrap width='12%'><b>BankName</b></td> <td nowrap
width='12%'><b>BankAccount</b></td> <td nowrap
width='12%'><b>BankAccountNo</b></td> <td nowrap
width='12%'><b>Address</b></td> </tr> <tr bgColor="#e5e5e5" align=left>
<td><input name="TxtBankName" type="text" id="TxtBankName" /></td>
<td><input name="TxtBankAccount" type="text" id="TxtBankAccount" /></td>
<td><input name="TxtBankAccountNo" type="text" id="TxtBankAccountNo" /></td>
<td><input name="TxtBankAddress" type="text" id="TxtBankAddress" /></td>
</tr> <tr class="shade"><td align=left><input name="BtnSaveBank"
type="button" id="BtnSaveBank" class="button" value="Save"
onclick="fnInsertBank();" /><td colspan=3></td></tr> </table> </form>



Now I have two solutions for it.



The first is to chagne the Ajax page to HTML form and HTML controls.



Another solutions is to move all the elements from Ajax page to main page.



I don't know which is better, But at least i got the solution. Thanks all.

"Benny Ng" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Dear All,
>
> I got the following error today. But yesterday this application is
> running fine.
>
> Even today i try to move this project to another server. The same
> symptom I got.
>
> Does anyone know what's happened for this case?
>
> Thanks,
>
> Best Regards,
>
> Benny Ng
>
>
>
>
>
>
>
> Server Error in '/LGOldServices' Application.
> --------------------------------------------------------------------------------
>
> The state information 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 state information is
> invalid for this page and might be corrupted.
>
> Source Error:
>
>
> [No relevant source lines]
>
>
> Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary
> ASP.NET
> Files\lgoldservices\10b99f4d\fe7b353e\App_Web_jlz_ zk70.4.cs Line: 0
>
> Stack Trace:
>
>
> [FormatException: Invalid character in a Base-64 string.]
> System.Convert.FromBase64String(String s) +0
> System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +67
>
> System.Web.UI.ObjectStateFormatter.System.Web.UI.I StateFormatter.Deserialize(String
> serializedState) +4
> System.Web.UI.Util.DeserializeWithAssert(IStateFor matter formatter,
> String serializedState) +37
> System.Web.UI.HiddenFieldPageStatePersister.Load() +136
>
> [ViewStateException: Invalid viewstate.
> Client IP: 192.168.0.60
> Port: 2962
> User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR
> 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR
> 3.0.04506.648; .NET CLR 3.5.21022)
> ViewState:
> /wEPDwUKLTMyNjMzMDc2Mw8WAh4PU2VydmljZU9iamVjdElkBQw xMDAwMDAwMDAwMDEWAgIDD2QWdgIBDw8WAh4EVGV4dAUM5pyN5 Yqh5a+56LGhZGQCAw8PFgIfAQUM5Z+65pys6LWE5paZZGQCBA8 PFgIfAQUG56S+5Yy6ZGQCBQ8QDxYGHg5EYXRhVmFsdWVGaWVsZ AUMQ29tbXVuaXR5X0lkHg1EYXRhVGV4dEZpZWxkBQlDb21tdW5 pdHkeC18hRGF0YUJvdW5kZ2QQFQkM5paw55Sf56S+5Yy6DOWNl +iBlOekvuWMugzpvpnlspfnpL7ljLoM6b6Z5Lic56S+5Yy6D+m +meWyl+Win+ekvuWMugzljZfnuqbnpL7ljLoM5ZCM5LmQ56S+5 Yy6DOW5s+WNl+ekvuWMugR0ZXN0FQkMMTAwMDAwMDAwMDAxDDE wMDAwMDAwMDAwMgwxMDAwMDAwMDAwMDMMMTAwMDAwMDAwMDA0D DEwMDAwMDAwMDAwNQwxMDAwMDAwMDAwMTMMMTAwMDAwMDAwMDE 0DDEwMDAwMDAwMDAxNQwxMDAwMDAwMDAwMTYUKwMJZ2dnZ2dnZ 2dnFgECBmQCBg8PFgIfAQUG5oCn5YirZGQCBw8QDxYGHwIFCVN leHVhbF9JZB8DBQZTZXh1YWwfBGdkEBUCA+eUtwPlpbMVAgwxM DAwMDAwMDAwMDkMMTAwMDAwMDAwMDEwFCsDAmdnZGQCCA8PFgI fAQUG5aeT5ZCNZGQCCg8PFgIfAQUP5Ye65...]
>
> [HttpException (0x80004005): The state information is invalid for this
> page
> and might be corrupted.]
> System.Web.UI.ViewStateException.ThrowError(Except ion inner, String
> persistedState, String errorPageMessage, Boolean macValidationError) +267
> System.Web.UI.HiddenFieldPageStatePersister.Load() +218
> System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +83
> System.Web.UI.Page.LoadAllState() +35
> System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
> System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,
> Boolean includeStagesAfterAsyncPoint) +213
> System.Web.UI.Page.ProcessRequest() +86
> System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +18
> System.Web.UI.Page.ProcessRequest(HttpContext context) +49
> ASP.serviceobject_edit2_aspx.ProcessRequest(HttpCo ntext context) in
> c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
> Files\lgoldservices\10b99f4d\fe7b353e\App_Web_jlz_ zk70.4.cs:0
>
> System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute()
> +358
> System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
> completedSynchronously) +64
>
>
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:2.0.50727.1433;
> ASP.NET Version:2.0.50727.1433
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> And the following is the error message i got from Event Viewer.
>
>
> Event Type: Information
> Event Source: ASP.NET 2.0.50727.0
> Event Category: Web Event
> Event ID: 1316
> Date: 2008-4-2
> Time: 13:53:36
> User: N/A
> Computer: LG
> Description:
> Event code: 4009
> Event message: Viewstate verification failed. Reason: Viewstate was
> invalid.
> Event time: 2008-4-2 13:53:36
> Event time (UTC): 2008-4-2 5:53:36
> Event ID: eeaf78191240418aa9808d5ef214be54
> Event sequence: 20
> Event occurrence: 1
> Event detail code: 50204
>
> Application information:
> Application domain: /LM/W3SVC/1/Root/LGOldServices-1-128515892019218750
> Trust level: Full
> Application Virtual Path: /LGOldServices
> Application Path: D:\Projects.Net2008\LGOldServices\LGOldServices\
> Machine name: LG
>
> Process information:
> Process ID: 2752
> Process name: w3wp.exe
> Account name: NT AUTHORITY\NETWORK SERVICE
>
> Request information:
> Request URL:
> http://192.168.0.148/lgoldservices/S...d=100000000001
> Request path: /lgoldservices/ServiceObject/Edit2.aspx
> User host address: 192.168.0.60
> User:
> Is authenticated: False
> Authentication Type:
> Thread account name: NT AUTHORITY\NETWORK SERVICE
>
> ViewStateException information:
> Exception message: Invalid viewstate.
> Client IP: 192.168.0.60
> Port: 3370
> User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR
> 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR
> 3.0.04506.648; .NET CLR 3.5.21022)
> PersistedState:
> /wEPDwUKLTMyNjMzMDc2Mw8WAh4PU2VydmljZU9iamVjdElkBQw xMDAwMDAwMDAwMDEWAgIDD2QWdgIBDw8WAh4EVGV4dAUM5pyN5 Yqh5a+56LGhZGQCAw8PFgIfAQUM5Z+65pys6LWE5paZZGQCBA8 PFgIfAQUG56S+5Yy6ZGQCBQ8QDxYGHg5EYXRhVmFsdWVGaWVsZ AUMQ29tbXVuaXR5X0lkHg1EYXRhVGV4dEZpZWxkBQlDb21tdW5 pdHkeC18hRGF0YUJvdW5kZ2QQFQkM5paw55Sf56S+5Yy6DOWNl +iBlOekvuWMugzpvpnlspfnpL7ljLoM6b6Z5Lic56S+5Yy6D+m +meWyl+Win+ekvuWMugzljZfnuqbnpL7ljLoM5ZCM5LmQ56S+5 Yy6DOW5s+WNl+ekvuWMugR0ZXN0FQkMMTAwMDAw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8WAh4FdmFsdWUFBu mHjeiuvmQCUQ8PFgIfAQUP5L+d5a2Y5bm26L+U5ZueZGRkKbcU SItP4ewSBWIYTPNOmqZbEeQ=,/wEPDwUKLTgyMDA0OTg5OA9kFgJmD2QWAgIFDxYEHgV2YWx1ZQU G5L+d5a2YHgdvbmNsaWNrBRNmbkluc2VydFJlbGF0aXZlKCk7Z BgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQU SQ2hrUmVsYXRpdmVGb3JzdGVypMFTFaw2gG+a5mrDrM7vaFmU2 Qk=
> Referer:
> http://192.168.0.148/lgoldservices/S...d=100000000001
> Path: /lgoldservices/ServiceObject/Edit2.aspx
>
> Custom event details:
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
>



 
Reply With Quote
 
 
 
 
SureshKumar Ganapathy
Guest
Posts: n/a
 
      10-07-2010

change the Enctype to "application/x-www-form-urlencoded"

<form id="Form1" method="post" runat="server" enctype="application/x-www-form-urlencoded">

It works for me.

Download the Tool Fiddler. It will get you what viewstate has before and after the page is posted.

> On Wednesday, April 02, 2008 2:16 AM Benny Ng wrote:


> Dear All,
>
> I got the following error today. But yesterday this application is
> running fine.
>
> Even today i try to move this project to another server. The same
> symptom I got.
>
> Does anyone know what's happened for this case?
>
> Thanks,
>
> Best Regards,
>
> Benny Ng
>
>
>
>
>
>
>
> Server Error in '/LGOldServices' Application.
> --------------------------------------------------------------------------------
>
> The state information 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 state information is
> invalid for this page and might be corrupted.
>
> Source Error:
>
>
> [No relevant source lines]
>
>
> Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
> Files\lgoldservices\10b99f4d\fe7b353e\App_Web_jlz_ zk70.4.cs Line: 0
>
> Stack Trace:
>
>
> [FormatException: Invalid character in a Base-64 string.]
> System.Convert.FromBase64String(String s) +0
> System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +67
> System.Web.UI.ObjectStateFormatter.System.Web.UI.I StateFormatter.Deserialize(String
> serializedState) +4
> System.Web.UI.Util.DeserializeWithAssert(IStateFor matter formatter,
> String serializedState) +37
> System.Web.UI.HiddenFieldPageStatePersister.Load() +136
>
> [ViewStateException: Invalid viewstate.
> Client IP: 192.168.0.60
> Port: 2962
> User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR
> 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR
> 3.0.04506.648; .NET CLR 3.5.21022)
> ViewState:
> /wEPDwUKLTMyNjMzMDc2Mw8WAh4PU2VydmljZU9iamVjdElkBQw xMDAwMDAwMDAwMDEWAgIDD2QWdgIBDw8WAh4EVGV4dAUM5pyN5 Yqh5a+56LGhZGQCAw8PFgIfAQUM5Z+65pys6LWE5paZZGQCBA8 PFgIfAQUG56S+5Yy6ZGQCBQ8QDxYGHg5EYXRhVmFsdWVGaWVsZ AUMQ29tbXVuaXR5X0lkHg1EYXRhVGV4dEZpZWxkBQlDb21tdW5 pdHkeC18hRGF0YUJvdW5kZ2QQFQkM5paw55Sf56S+5Yy6DOWNl +iBlOekvuWMugzpvpnlspfnpL7ljLoM6b6Z5Lic56S+5Yy6D+m +meWyl+Win+ekvuWMugzljZfnuqbnpL7ljLoM5ZCM5LmQ56S+5 Yy6DOW5s+WNl+ekvuWMugR0ZXN0FQkMMTAwMDAwMDAwMDAxDDE wMDAwMDAwMDAwMgwxMDAwMDAwMDAwMDMMMTAwMDAwMDAwMDA0D DEwMDAwMDAwMDAwNQwxMDAwMDAwMDAwMTMMMTAwMDAwMDAwMDE 0DDEwMDAwMDAwMDAxNQwxMDAwMDAwMDAwMTYUKwMJZ2dnZ2dnZ 2dnFgECBmQCBg8PFgIfAQUG5oCn5YirZGQCBw8QDxYGHwIFCVN leHVhbF9JZB8DBQZTZXh1YWwfBGdkEBUCA+eUtwPlpbMVAgwxM DAwMDAwMDAwMDkMMTAwMDAwMDAwMDEwFCsDAmdnZGQCCA8PFgI fAQUG5aeT5ZCNZGQCCg8PFgIfAQUP5Ye65...]
>
> [HttpException (0x80004005): The state information is invalid for this page
> and might be corrupted.]
> System.Web.UI.ViewStateException.ThrowError(Except ion inner, String
> persistedState, String errorPageMessage, Boolean macValidationError) +267
> System.Web.UI.HiddenFieldPageStatePersister.Load() +218
> System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +83
> System.Web.UI.Page.LoadAllState() +35
> System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
> System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,
> Boolean includeStagesAfterAsyncPoint) +213
> System.Web.UI.Page.ProcessRequest() +86
> System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +18
> System.Web.UI.Page.ProcessRequest(HttpContext context) +49
> ASP.serviceobject_edit2_aspx.ProcessRequest(HttpCo ntext context) in
> c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
> Files\lgoldservices\10b99f4d\fe7b353e\App_Web_jlz_ zk70.4.cs:0
> System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute()
> +358
> System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
> completedSynchronously) +64
>
>
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:2.0.50727.1433;
> ASP.NET Version:2.0.50727.1433
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> And the following is the error message i got from Event Viewer.
>
>
> Event Type: Information
> Event Source: ASP.NET 2.0.50727.0
> Event Category: Web Event
> Event ID: 1316
> Date: 2008-4-2
> Time: 13:53:36
> User: N/A
> Computer: LG
> Description:
> Event code: 4009
> Event message: Viewstate verification failed. Reason: Viewstate was invalid.
> Event time: 2008-4-2 13:53:36
> Event time (UTC): 2008-4-2 5:53:36
> Event ID: eeaf78191240418aa9808d5ef214be54
> Event sequence: 20
> Event occurrence: 1
> Event detail code: 50204
>
> Application information:
> Application domain: /LM/W3SVC/1/Root/LGOldServices-1-128515892019218750
> Trust level: Full
> Application Virtual Path: /LGOldServices
> Application Path: D:\Projects.Net2008\LGOldServices\LGOldServices\
> Machine name: LG
>
> Process information:
> Process ID: 2752
> Process name: w3wp.exe
> Account name: NT AUTHORITY\NETWORK SERVICE
>
> Request information:
> Request URL:
> http://192.168.0.148/lgoldservices/S...d=100000000001
> Request path: /lgoldservices/ServiceObject/Edit2.aspx
> User host address: 192.168.0.60
> User:
> Is authenticated: False
> Authentication Type:
> Thread account name: NT AUTHORITY\NETWORK SERVICE
>
> ViewStateException information:
> Exception message: Invalid viewstate.
> Client IP: 192.168.0.60
> Port: 3370
> User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR
> 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR
> 3.0.04506.648; .NET CLR 3.5.21022)
> PersistedState:
> /wEPDwUKLTMyNjMzMDc2Mw8WAh4PU2VydmljZU9iamVjdElkBQw xMDAwMDAwMDAwMDEWAgIDD2QWdgIBDw8WAh4EVGV4dAUM5pyN5 Yqh5a+56LGhZGQCAw8PFgIfAQUM5Z+65pys6LWE5paZZGQCBA8 PFgIfAQUG56S+5Yy6ZGQCBQ8QDxYGHg5EYXRhVmFsdWVGaWVsZ AUMQ29tbXVuaXR5X0lkHg1EYXRhVGV4dEZpZWxkBQlDb21tdW5 pdHkeC18hRGF0YUJvdW5kZ2QQFQkM5paw55Sf56S+5Yy6DOWNl +iBlOekvuWMugzpvpnlspfnpL7ljLoM6b6Z5Lic56S+5Yy6D+m +meWyl+Win+ekvuWMugzljZfnuqbnpL7ljLoM5ZCM5LmQ56S+5 Yy6DOW5s+WNl+ekvuWMugR0ZXN0FQ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5a2YZGQCUA8WAh4FdmFsdWUFBu mHjeiuvmQCUQ8PFgIfAQUP5L+d5a2Y5bm26L+U5ZueZGRkKbcU SItP4ewSBWIYTPNOmqZbEeQ=,/wEPDwUKLTgyMDA0OTg5OA9kFgJmD2QWAgIFDxYEHgV2YWx1ZQU G5L+d5a2YHgdvbmNsaWNrBRNmbkluc2VydFJlbGF0aXZlKCk7Z BgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQU SQ2hrUmVsYXRpdmVGb3JzdGVypMFTFaw2gG+a5mrDrM7vaFmU2 Qk=
> Referer:
> http://192.168.0.148/lgoldservices/S...d=100000000001
> Path: /lgoldservices/ServiceObject/Edit2.aspx
>
> Custom event details:
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.



>> On Wednesday, April 02, 2008 6:37 AM Benny Ng wrote:

[color=blue]
>> Now I know the reason of this problem.
>>
>>
>>
>> Because the page i want to submit is a main page. Through AJAX i got some
>> content from another page. But with the returned content. It's contained a
>> variable name "__VIEWSTATE". It will replaced the same variable of the main
>> page.
>>
>>
>>
>> So when i tried to submit the content of main page. The error i mentioned
>> will comes. Because the content of __VIEWSTATE of main page is replaced
>> already.
>>
>>
>>
>> <form name="frmBankDetail" method="post" action="WorkingArea_Bank.aspx"
>> id="frmBankDetail"> <div> [/<input type="hidden"
>> name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTU5OTg4MzUzNWRk"
>> />
[color] </div> <table borderColor='#000000' cellSpacing='1'
>> cellPadding='3' width='100%' bgColor='#000000' border='0'> <tr
>> class="shade"> <td nowrap width='12%'><b>BankName</b></td> <td nowrap
>> width='12%'><b>BankAccount</b></td> <td nowrap
>> width='12%'><b>BankAccountNo</b></td> <td nowrap
>> width='12%'><b>Address</b></td> </tr> <tr bgColor="#e5e5e5" align=left>
>> <td><input name="TxtBankName" type="text" id="TxtBankName" /></td>
>> <td><input name="TxtBankAccount" type="text" id="TxtBankAccount" /></td>
>> <td><input name="TxtBankAccountNo" type="text" id="TxtBankAccountNo" /></td>
>> <td><input name="TxtBankAddress" type="text" id="TxtBankAddress" /></td>
>> </tr> <tr class="shade"><td align=left><input name="BtnSaveBank"
>> type="button" id="BtnSaveBank" class="button" value="Save"
>> onclick="fnInsertBank();" /><td colspan=3></td></tr> </table> </form>
>>
>>
>>
>> Now I have two solutions for it.
>>
>>
>>
>> The first is to chagne the Ajax page to HTML form and HTML controls.
>>
>>
>>
>> Another solutions is to move all the elements from Ajax page to main page.
>>
>>
>>
>> I don't know which is better, But at least i got the solution. Thanks all.
>>
>> "Benny Ng" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...



>> Submitted via EggHeadCafe - Software Developer Portal of Choice
>> ASP.NET Caching Concepts
>> http://www.eggheadcafe.com/tutorials...-concepts.aspx

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The state information is invalid for this page and might be corrupted mwmorrison93@gmail.com ASP .Net 0 01-31-2007 07:35 PM
The state information is invalid for this page and might be corrupted mwmorrison93@gmail.com ASP .Net 0 01-31-2007 07:35 PM
ERROR: The state information is invalid for this page and might be corrupted Nathan Sokalski ASP .Net Web Controls 3 12-10-2006 01:12 PM
ERROR: The state information is invalid for this page and might be corrupted Nathan Sokalski ASP .Net 3 12-10-2006 01:12 PM
The View State Is Invalid for This Page and Might Be Corrupted Mike Turpin ASP .Net 1 07-16-2003 04:48 PM



Advertisments