Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Error generating an asymmetric key. Exception message: Keyset as registered is invalid.

Installation of gateway is successful, but I get this message every time I try to sign in.

 

One or more errors occurred.
Error generating an asymmetric key.
Exception message: Keyset as registered is invalid.

at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.GenerateAsymmetricKey()
at Microsoft.PowerBI.DataMovement.GatewayCommon.DmtsGatewayCreation.CreateAndUpdateLocalService(String gatewayName, SecureString recoveryKey, String salt, Uri dmtsBackendUri, GatewayServiceBusDetails senderDetails, GatewayServiceBusDetails listenerDetails)
at Microsoft.PowerBI.DataMovement.GatewayUiCommon.WizardSignInViewModel.<ReconcileAndCreatePGWIfNeededAsync>d__55.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.DataMovement.GatewayUiCommon.WizardSignInViewModel.<StartSignInAsync>d__54.MoveNext()

 

I've tried moving the RSA folder as recommended in other similar posts and no luck. Please help!

3 Replies

    • Ronald_ed's avatar
      Ronald_ed
      Frequent Visitor

      Hello,

       

      I have same issue (same error message) and I don´t know what to do. I've tried moving the RSA folder as recommended in other similar posts but no luck also. I downloaded logs but I don´t know which file do you need for detailed information. 

       

      Thank you

  • For those who were unsuccessful renaming or moving the RSA folder, if you haven't already, try it with the data gateway sign-in window still up.  It worked for me this way.