Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Error "Unable to validate data. at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData"

install
web-app
security

I periodically get the following error reported in the system log. When it happens, Gemini contiuously will send me to the home screen when clicking on links in projects or saving comments.

Gemini is running in a Windows 2008 R2/IIS 7.5 web farm with content loaded on a UNC share. Machine keys were set to be the same in both machines in the farm. The second machien in the farm is set to a low wieght and I beleive these errors are happening when connecting to the primary machine.

Eventually, the errors clear up and I'm able to use the system fine. Using IE 9.

User56967
· 1
User56967
Replies (9)
helpful
0
not helpful

Also, this is Gemini 4.0 build 2980


User56967
· 1
User56967
helpful
0
not helpful

Are you using state server for session management?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Initially we were using SQL for state server and then it was turned off for some reason. I will retry using this and see if that helps.


User56967
· 1
User56967
helpful
0
not helpful

Changed to SQL server for session state and still getting the error occasionally. Confirmed that machine keys are same on both web servers in the farm also.

Unable to validate data. at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, IVType ivType, Boolean useValidationSymAlgo, Boolean signData) at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, IVType ivType, Boolean useValidationSymAlgo) at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket) at CounterSoft.Gemini.Presenter.GeminiHttpModule.Application_AuthenticateRequest(Object source, EventArgs e)

Any other ideas.


User56967
· 1
User56967
helpful
0
not helpful

We are also using Windows authentication.


User56967
· 1
User56967
helpful
0
not helpful

Is your web.config's enableViewStateMac set to true? How often does it occur? When it goes away, will it comeback at any point or after a few minutes?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

enableViewStateMac is set to True. I'll try setting it to false to test. This problem occurs througout the day randomly. For me, it will occur every request, then sometimes it will let me click through to an issue, try to create a comment then on save it happens and sends me back to main menu. Wait an random ammount of time and it will then not happen any more until the next day.


User56967
· 1
User56967
helpful
0
not helpful

I presume this happens to all users and all browsers, correct?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Yes, I have had it happend with IE 9 and Firefox 4.0. I will monitor log today to see if the error continues.


User56967
· 1
User56967