1) Script Title:
Ajax Tabs Content Script - Invalid State Problem
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici....3) Describe problem:
Im using Ajax Tab script in my ASP.Net application. i have GridView in each tab. In the GridView i have added the bound fields and also in the Grid's RowCommand Event i have assigned grid's row values to the text boxes.
This thing is working perfectly with/without Master pages. now when i include the tabs then the default page is working fine with this and also the external page is called successfully with data loaded in the grid.
But when i click the data for a call to RowCommand Event then it shows the Invalid State Exception. The trace is given below.
--------------------------------------------------------
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\Temporary ASP.NET Files\trgportal.host\169f6d08\e68c7107\App_Web_avaakvl5.10.cs Line: 0
Stack Trace:
[FormatException: Invalid character in a Base-64 string.]
System.Convert.FromBase64String(String s) +0
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +72
System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(St
ring serializedState) +5
System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +142
[ViewStateException: Invalid viewstate.
Client IP: 127.0.0.1
Port:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
ViewState: /wEPDwUKLTM5NjQzNjE5NA8WAh4ETW9kZQUDQWxsFgJmD2QWAgIDD2QWCAIBD2QWAgICDxQrAA0PFgY
eC09yaWVudGF0aW9uCyolU3lzdGVtLldlYi5VSS5XZWJDb250cm9scy5PcmllbnRhdGlvbgAeHlN0YX
RpY 0VuYWJsZURlZmF1bHRQb3BPdXRJbWFnZWgeC18hRGF0YUJvdW5kZ2QWCh4RSG9yaXpvbnRhbFBhZGRp
bmcbAAAAAAAAFEABAAAAHgpGb250X05hbWVzFQEFQXJpYWweCUZvbnRfQm9sZGceCUZvbnRfU2l6ZSg
qI lN5c3RlbS5XZWIuVUkuV2ViQ29udHJvbHMuRm9udFVuaXQDOXB0HgRfIVNCAoCcCGQWBh4JQmFja0Nv
bG9yCo0BHglGb3JlQ29sb3IKjQEfCAIMFgYeC0JvcmRlclN0eWxlCyolU3lzdGVtLldlYi5VSS5XZWJ
Db 250cm9scy5Cb3JkZXJTdHlsZQUeC0JvcmRlcldpZHRoGwAAAAAAAPA/AQAAAB8IAmAWEB8KCqQBHwsL
KwYFHwwbAAAAAAAA8D8BAAAAHwQbAAAAAAAAFEABAAAAHwUVAQVBcmlhbB8GZx8HKCsFAzlwdB8IAuS
cCGQWBh8JCo0BHwoKjQEfCAIMFggfCwsrBgUfDBsAAAAAAADwPwEAAAAf CQqkAR8IAmhkZGQUKwAFBQ8wOjAsMDoxLDA6MiwwOjMUKwACFhAeBFRleHQFDkRWUiBNYW5hZ2VtZW5
0HgVWYWx1ZQUORFZSIE1hbmFnZW1lbnQeC05hdmlnYXRlVXJsBRJjYWxsZGlyZWN0b3J5LmFzcHgeB1
Rv b2xUaXAFCmxv...]
[HttpException (0x80004005): The state information is invalid for this page and might be corrupted.]
System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +119
System.Web.UI.HiddenFieldPageStatePersister.Load() +241
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +80
System.Web.UI.Page.LoadAllState() +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8000
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +202
System.Web.UI.Page.ProcessRequest() +85
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +20
System.Web.UI.Page.ProcessRequest(HttpContext context) +110
ASP.Tabs.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\trgportal.host\169f6d08\e68c7107\App_Web_avaakvl5.10.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.E
xecute() +390
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +65
Reply With Quote
Add New Comment