Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > The state information is invalid for this page, when attempting to save info in a editable textbox or when trying to remove a web part View modes: 
User avatar
Member
Member
wukimus-hotmail - 8/15/2013 1:10:55 PM
   
The state information is invalid for this page, when attempting to save info in a editable textbox or when trying to remove a web part
Hi all,

I get the following error in the event log when I am attempting to save information in a editable textbox or if I try to remove a web part. I am using portal pages.Can anyone tell me whats the problem and possibly a fix. Thanks in advance

Event ID: 631292
Event type: Error
Event time: 8/15/2013 1:57:05 PM
Source: Content
Event code: DESIGN
User name: admin4
IP address: 72.252.26.88

Description: Message: The state information is invalid for this page and might be corrupted.
Stack Trace:
at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)
at System.Web.UI.ViewStateException.ThrowViewStateError(Exception inner, String persistedState)
at System.Web.UI.HiddenFieldPageStatePersister.Load()
at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
at System.Web.UI.Page.LoadAllState()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Invalid viewstate.
Client IP: 72.252.26.88
Port: 53256
Referer: http://www.aaa.org/cms/getdoc/ac7e1897-77bc-47f0-9af8-15202265ae11/professionals.aspx?viewmode=6&lang=en-US&langobjectlifetime=request
Path: /CMSPages/PortalTemplate.aspx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0
ViewState:

Value cannot be null.
Parameter name: inputString
at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState)
at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState)
at System.Web.UI.HiddenFieldPageStatePersister.Load()

Machine name: AAAAAAAAAAAAAAAAAA
Event URL: /cms/getdoc/ac7e1897-77bc-47f0-9af8-15202265ae11/professionals.aspx?viewmode=6&lang=en-US&langobjectlifetime=request
URL referrer: http://www.aaa.org/cms/getdoc/ac7e1897-77bc-47f0-9af8-15202265ae11/professionals.aspx?viewmode=6&lang=en-US&langobjectlifetime=request
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0

User avatar
Member
Member
kentico_sandroj - 8/15/2013 6:57:57 PM
   
RE:The state information is invalid for this page, when attempting to save info in a editable textbox or when trying to remove a web part
Hello,

This issue usually comes up when postback occurs before the whole viewstate of the page is loaded. It's most likely an issue with custom code somewhere on the page as this is an ASP.NET error, not specific to Kentico. If you are unable to find the cause please give us more information about this page and the code in it.

Regards,
Sandro

User avatar
Member
Member
wukimus-hotmail - 8/17/2013 6:26:24 AM
   
RE:The state information is invalid for this page, when attempting to save info in a editable textbox or when trying to remove a web part
Thanks again guys for your help. I found the problem. I had form tags in the html for the portal page