Hi,
I've got a very strange problem in a custom DNN module causing a "The state information is invalid for this page and might be corrupted." error: I only get this error when I use Internet Explorer! If I use Firefox or even Chrome all works perfectly.
Background: my module uses jQuery UI tabs plugin to build a tabbed interface. I now am dynamically adding new tabs, and populating tabs content via an ajax call to an aspx page (inheting from CDefault) I added to my module. All is working perfectly.
However, after adding such dynamic tabs, if I do a "__dopostback" call to another (static) control (function handling it will then show data and update an updatepanel), with IE 7 (and 8) I get the error. Firefox and even Chrome do the postback and no error is generated!
I tried the following:
- set enableview_state=false both for my module (containing tabs) and the "ajax" page
- even set enableview_stateMac=false on the ajax page
- add view_stateEncryptionMode="Never" to pages in web.config
- I only use Session variables when needed, never put anything in view_state
but none of these actions solved my problem. It sounds so strange to me that only IE causes the error!
Here's my eventlog: can somebody tell how to solve this?
AssemblyVersion: 04.09.03
PortalID: 0
PortalName: JBox
UserID: 18
UserName: AVelo
ActiveTabID: 158
ActiveTabName: DBMarchi
RawURL: /Tools/DBMarchi/tabid/158/ctl/SchedaMarchio/mid/632/s/Z001248/cdcli/0A1001/language/it-IT/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://webappxjp/Tools/DBMarchi/tabid/158/ctl/SchedaMarchio/mid/632/s/Z001248/cdcli/0A1001/language/it-IT/Default.aspx#
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 7b4dc3cb-0665-4ec3-a124-3f7025dc640e
InnerException: The state information is invalid for this page and might be corrupted.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Convert.FromBase64String
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The state information is invalid for this page and might be corrupted. ---> System.Web.HttpException: The state information is invalid for this page and might be corrupted. ---> System.Web.UI.view_stateException: Invalid view_state. Client IP: 10.196.2.37 Port: 3323 User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) view_state: /wEPDwUJMjgzMDU3ODk3D2QWBmYPFgIeBFRleHQFeTwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgWEhUTUwgMS4wIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi94aHRtbDEvRFREL3hodG1sMS10cmFuc2l0aW9uYWwuZHRkIj5kAgEPZBYMAgEPFgIeB1Zpc2libGVoZAICDxYEHgdjb250ZW50ZB8BaGQCAw8WAh8CBQ8sRG90TmV0TnVrZSxETk5kAgQPFgIfAgUYSmFjb2JhY2NpICYgUGFydG5lcnMgU3BBZAIFDxYCHwIFC0RvdE5ldE51a2UgZAIGDxYCHwIFBEpCb3hkAgIPZBYCAgEPZBYCAgQPZBYCZg9kFiBmD2QWAmYPDxYGHhRlbGVuY29JRHBlclZpZXdzdGF0ZQXAJjBfMzJfMDswXzMyXzQ7MF8zMl81OzBfMzJfNzswXzMyXzY7MF8zMl8zOzBfMzJfMTswXzMyXzI7MF81NF8wOzBfNTRfNDswXzU0XzU7MF81NF83OzBfNTRfNjswXzU0XzM7MF81NF8xOzBfNTRfMjswXzE1XzA7MF8xNV80OzBfMTVfNTswXzE1Xzc7MF8xNV82OzBfMTVfMzswXzE1XzE7MF8xNV8yOzBfOTJfMDswXzkyXzQ7MF85Ml81OzBfOTJfNzswXzkyXzY7MF85Ml8zOz... ---> System.formatException: Invalid character in a Base-64 string. at System.Convert.FromBase64String(String s) 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() --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Web.UI.view_stateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) at System.Web.UI.HiddenFieldPageStatePersister.Load() at System.Web.UI.Page.LoadPageStateFromPersistenceMedium() at Delisoft.DNN.PageBases.MyLocale.LoadPageStateFromPersistenceMedium() at System.Web.UI.Page.LoadAllState() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Nome server: WEBAPPXJP