Unable to configure/verify a Team Foundation Server Connection in Release Management Client

Following blog has been written by Deepak Mittal, Support Escalation Engineer, EMEA TFS Team

Problem Description:

Unable to configure/verify a TFS Connection in Release Management client.

Error message: Invalid length for a Base-64 char array or string.

 Resolution:

This issue may occur due to user does not have enough permissions on the machine.

This problem seems to be because there are some missing information in the database – PublicKey. This PublicKey should have been added to the database during installation of the RM Server.

 It the PublicKey is missing for user with which you are trying to configure release management, that means something wrong happened during the installation. One thing is for some reason,
the account doing the installation was missing some permissions.

 

  • Try redo the configuration of the RM Server. Prior to doing so, make sure the account running the configuration has full permissions on the crypto folder: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
  • Get the other user who is local admin credentials on the release management server machine.

 

Note: Also if the issue is with the user, then password textbox in the configuration will not get fill with dots.

 Written by: Deepak Mittal, Support Escalation Engineer

 Reviewed by: Romit Gulati, Support Escalation Engineer