Issue when I sign in Mendix via Studio Pro 8.5.0

2
I try to sign in but Application will show Error as below. Could you have any concern?   Error Pic   System.Security.Cryptography.CryptographicException: Key not valid for use in specified state.    at System.Security.Cryptography.ProtectedData.Unprotect(Byte[] encryptedData, Byte[] optionalEntropy, DataProtectionScope scope)    at Mendix.Modeler.UserManagement.CredentialProtection.Decrypt(String encryptedBase64) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Core\UserManagement\CredentialProtection.cs:line 27    at Mendix.Modeler.UserManagement.CredentialProtection.DecryptToSecureString(String encryptedBase64) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Core\UserManagement\CredentialProtection.cs:line 34    at Mendix.Modeler.UserManagement.SignInDialog.CollectControls(IGroup grp, IUIFrameworkForm uiForm) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.UserManagement\SignInDialog.cs:line 99    at Mendix.Modeler.UIFramework.UIFrameworkControl.RefreshContents() in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.UIFramework\Controls\UIFrameworkControl.cs:line 105    at Mendix.Modeler.UIFramework.UIFrameworkControl.Init(IUIFrameworkControlSpec formObj) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.UIFramework\Controls\UIFrameworkControl.cs:line 67    at Mendix.Modeler.UIFramework.UIFrameworkForm.PropertiesForm_Load(Object sender, EventArgs e) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.UIFramework\Forms\UIFrameworkForm.cs:line 164    at System.Windows.Forms.Form.OnLoad(EventArgs e)    at System.Windows.Forms.Form.OnCreateControl()    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)    at System.Windows.Forms.Control.CreateControl()    at System.Windows.Forms.Control.WmShowWindow(Message& m)    at System.Windows.Forms.Control.WndProc(Message& m)    at System.Windows.Forms.Form.WmShowWindow(Message& m)    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
asked
3 answers
6

Can you try to to rename your settings file as described in these troubleshooting pages section 2.5? 

https://docs.mendix.com/howto/collaboration-requirements-management/troubleshoot-version-control-issues#2-5-getting-an-error-with-the-message-system-security-cryptography-cryptographicexception-key-not-valid-for-use-in-specified-state

Hopefully this helps,


Paul

answered
0

Thank you!! is very usefull Paul Rijneveld it is functional!! 

answered
0

Follow these steps to remove your user settings and restart Studio Pro:

  1. Rename \Users<username>\AppData\Local\Mendix\Settings.sqlite to Settings.sqlite.old.
  2. Restart Studio Pro.
answered