I am having an issue with DNN3.2.2 and I believe others are having it too.
It logs users out frequently. With my admin account, for example, if I go to the Log Viewer and select (250) records it's logs me out and directs me to the login page. If I log in again and repeat, it does the same thing.
Sometimes it throws a server error dealing with viewstate.
I've heard it's cookie related. I've heard it has to do with the fact that I have another DNN3.2.2 website open and logged in simulataneously. However, even if I just keep the one DNN site open and do not go to the other...I still have these issues. Something is horribly wrong and is becoming a major nuissance on my site and almost making it unusable.
I'll post the various errors that come up:
One is:
System.Exception: Unhandled Error: ---> System.Security.Cryptography.CryptographicException: Bad Data. at System.Security.Cryptography.CryptoAPITransform._DecryptData(IntPtr hKey, Byte[] rgb, Int32 ib, Int32 cb, Boolean fDone) at System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at System.Security.Cryptography.CryptoStream.FlushFinalBlock() at System.Web.Configuration.MachineKey.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length) at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket) at DotNetNuke.HttpModules.DNNMembershipModule.OnAuthenticateRequest(Object s, EventArgs e) at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Another is:
InnerException: Invalid_Viewstate Client IP: 130.218.98.144 Port: 4963 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705) ViewState: aNQcbPMVWECZa6gPZX9/h1puuS3WpM8wTu63cq/hepGt7wDkokosX2gzGAwgVR8EzKsQUt....on and on and on
Both of these errors appear to kill my application process on the server.
I've tried taking out the "IsolateApps" portion of the MachineKey line in the web.config but it doesn't help. I've tried changing the forms authentication from ".dotnetnuke" to something else. No good.
Does anyone know what I need to do to get rid of these errors? I will change the core code if need be but this error is really ruining my website. Thanks for any help.