not being able to open project with Studio Pro

1
I created an application on studio browser version. When I tried to open it through Mendix studio pro, I received an error as below “ System.Security.Cryptography.CryptographicException: Key not valid for use in specified state Server stack trace:   at System.Security.Cryptography.ProtectedData.Unprotect(Byte[] encryptedData, Byte[] optionalEntropy, DataProtectionScope scope)    at Mendix.Modeler.UserManagement.CredentialProtection.Decrypt(String encryptedBase64) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\UserManagement\CredentialProtection.cs:line 28    at Mendix.Modeler.UserManagement.CredentialProtection.DecryptToSecureString(String encryptedBase64) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\UserManagement\CredentialProtection.cs:line 35    at Mendix.Modeler.UserManagement.SignInForm.BuildWebBrowser() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UserManagement\SignInForm.cs:line 164    at Mendix.Modeler.UserManagement.SignInForm.get_WebBrowser() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UserManagement\SignInForm.cs:line 42    at Mendix.Modeler.UserManagement.SignInForm.BuildRightSide() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UserManagement\SignInForm.cs:line 143    at Mendix.Modeler.UserManagement.SignInForm.BuildLayout() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UserManagement\SignInForm.cs:line 112    at Mendix.Modeler.UserManagement.SignInForm.InitializeComponent() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UserManagement\SignInForm.cs:line 106    at Mendix.Modeler.UserManagement.SignInFormFactory.CreateForm(AuthorizeRedirectHandler authorizeRedirectHandler) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UserManagement\SignInFormFactory.cs:line 28    at Mendix.Modeler.UserManagement.SignInUI.ShowSignInForm() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UserManagement\SignInUI.cs:line 61    at Mendix.Modeler.MainWindow.Plugins.StartupPlugin.<>c__DisplayClass12_0.<OnModelerStartedAsync>b__1() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.MainWindow\Plugins\StartupPlugin.cs:line 65    at Mendix.Modeler.Core.Gui.GuiThreadExecutor.<>c__DisplayClass3_0.<WrapActionWithRethrowHack>b__0() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Core\Gui\GuiThreadExecutor.cs:line 32   Exception rethrown at [0]:    at Mendix.Modeler.Core.Gui.GuiThreadExecutor.Rethrow(Exception ex) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Core\Gui\GuiThreadExecutor.cs:line 62    at Mendix.Modeler.Core.Gui.GuiThreadExecutor.<>c__DisplayClass3_0.<WrapActionWithRethrowHack>b__0() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Core\Gui\GuiThreadExecutor.cs:line 36    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) “   Could you support me in solving the error? Thanks.
asked
3 answers
1

Are you logged in with the same Mendix account in the developer portal (where you created the app) as well as in Studio Pro?

answered
1

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
0

Hi Ismail,

Try to logout of your account in studio pro and re-login. Else try to download the new line then start.

 

answered