Wednesday, January 13, 2016

BizTalk Server - Cannot perform encryption or decryption because the secret is not available from the master secret server.

Error Message :
Cannot perform encryption or decryption because the secret is not available from the master secret server.
This error will occur when the SSO server is not able to get the secret from the master secret server. This will happen in the scenario, when you try to restore an existing SSO Database in to a new server. Also this will occur when you configure BizTalk.
Steps to resolve this :
  • Open a command prompt and navigate to C:\Program Files\Common Files\Enterprise Single Sign-On\ 
  • Type in this command: ssoconfig -restoresecret SSO44F8.bak (or another file that looks like this one, it's the SSO back-up file) 
  • Enter the password 
  • Create a new back-up file with this command: ssoconfig -backupsecret latestbackup.dat