Hi,
Recently, we needed to add a new server in our farm. The SharePoint Wizard asks us a passphrase that we didn't have... So we change it with PowerShell. After this operation, we could integrate the new server in the farm and everything seems to be OK.
Unfortunately, the SharePoint 2010 Timer Service was in error on one of our server in the farm. The Master Passphrase Deployment job has not run on this server and now, he didn't have the last PassPhrase. Solution deployment failed on this server and some operations are not available.
We try to fix this problem by running the Set-SPPassPhrase with -LocalServerOnly parameter on this server but we have an error message:
$passphrase=ConvertTo-SecureString -asPlainText -Force
Set-SPPassPhrase -PassPhrase $passphrase -LocalServerOnly
Set-SPPassPhrase : Error during decryption. Ensure the passphrase is correct.
In the ULS Logs we found this error:
Decryption failed with error: 0 at at Microsoft.SharePoint.Administration.SPCredentialManager.DecryptWithKey(Byte[] rgbEncryptedPassphrase, Byte[] rgbKey) at Microsoft.SharePoint.Administration.SPCredentialManager.set_MasterKey(Byte[] value) at Microsoft.SharePoint.Administration.SPCredentialManager.CreateMasterKey(Boolean generateKeyIfNeeded, SecureString sstrPassphrase, Boolean localOnly) at Microsoft.SharePoint.PowerShell.SPCmdletSetPassPhrase.InternalProcessRecord() at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() at System.Management.Automation.CommandProcessorBase.DoExecute()
We also tried to change the passphrase on the entire farm again but when the replication job run on this server, we have this message in the Event Viewer:
The Execute method of job definition Microsoft.SharePoint.Administration.SPMasterPassphraseDeploymentJobDefinition (ID 072bcb57-fabb-4136-83cc-3c5607c56d5d)
threw an exception. More information is included below.
Error during decryption. System error code 0.
And we have this ULS message:
Decryption failed with error: 0 at at Microsoft.SharePoint.Administration.SPCredentialManager.DecryptWithKey(Byte[] rgbEncryptedPassphrase, Byte[] rgbKey) at Microsoft.SharePoint.Administration.SPMasterPassphraseDeploymentJobDefinition.Execute(Guid targetInstanceId) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result) 0cce58bf-a725-406a-b232-9cdf14fc1fde
Any Ideas ? Thanks in advance for your help.









