Hi,
We have used DSLocalisator for over 3 years now but recently started getting alot of view state errors in our event viewer in DNN 4.9 version of our site. My initial research led me to point to several view state issues being fixed in .Net Framework 3.5 hence I recently upgraded to DNN 5.6.2 and updated DSLocalisator to 03.00.05.
However, since the upgrade the errors have become much much worse. The frequency has increased and whats worse is that they redirect users to a DNN error page. It was was pointed out on the DNN forum that the error message generates from "Delisoft.DNN.PageBases.MyLocale.LoadPageStateFromPersistenceMedium" method which makes me think it might be caused by DSLocalisator. Please see complete error message at the end of this long post :)
I am using DNN 5.6.2 on a standalone windows 2003 server with IIS 6 - SQL Server 2005. I have tried all possible options under Host Settings > Performace including the not recommended Page State information in memory. I have also tried disabling MacViewState or remove view state encryption but no avail. Also, DSLocalisator's view state in sql link in latest version shows a blank page - don't know if this is a control missing. Although I did try that in DNN 4.X but didn't help.
I am really desperate and clutching at straws now - please let me know if this is caused by DSLocalisator module and if so, is there a quick solution available.
ERROR MESSAGE
AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. ---> System.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. ---> System.Web.UI.ViewStateException: Invalid viewstate. Client IP: 91.201.66.98 Port: 1579 User-Agent: Mozilla/6.0 (compatible; MSIE 7.0a1; Windows NT 5.2; SV1) ViewState: /wEPDwUINjE2NzQ2OTUPZBYGZg8WAh4EVGV4dAV5PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRpb25hbC5kdGQiPmQCAQ9kFg4CBA8WAh4HVmlzaWJsZWhkAgUPFgIeB2NvbnRlbnQFpwFDaXZ2eSBTdHJlZXQgaXMgZm9yIHlvdSBpZiB5b3UgYXJlIGEgU2VydmljZSBsZWF2ZXIgb3IgaGF2ZSBwcmV2aW91c2x5IHNlcnZlZCBpbiB0aGUgVUsgQXJtZWQgRm9yY2VzIHdoZXJlIHlvdSB3aWxsIGZpbmQgdGhlIHJlc291cmNlcyBmb3IgdHJhbnNpdGlvbiB0byBjaXZpbGlhbiBsaWZlLmQCBg8WAh8CBWdDaXZ2eSBTdHJlZXQsIFRyYW5zaXRpb24sIENpdmlsaWFuIExpZmUsIFNlcnZpY2UgTGVhdmVyLCBFeC1zZXJ2aWNlbWVuLCBSZXNldHRsZW1lbnQsIExlYXJuaW5nIGFuZCBXb3JrZAIHDxYCHwIFDENpdnZ5IFN0cmVldGQCCA8WBB8CZB8BaGQCCQ8WAh8CBSpDaXZ2eSBTdHJlZXQgLSBUcmFuc2l0aW9uIHRvIENpdmlsaWFuIExpZmVkAgwPFgIfAgUNSU5ERVgsIEZPTExPV2QCAg9kFgICAQ9kFgZmD2QWAmYPFgIfAWgWAmYPZBYCZg9kFgYCAw8QZGQWAGQCDw9kFgJmDw8WBh4ISW1hZ2VVcmwFFC9pbWFnZXMvY29sbGFwc2UuZ2lmHg1B... --- End of inner exception stack trace --- at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidati ) at System.Web.UI.ViewStateException.ThrowMacValidati (Exception inner, String persistedState) 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() 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:
Server Name: WWW01