Article ID: 927156 - Last Review: May 14, 2007 - Revision: 1.2 Error message when you try to use the SharePoint Products and Technologies Wizard: "Exception: System.ArgumentException: Error during encryption or decryption"SYMPTOMSConsider the following scenarios:
10/09/2006 14:08:26 8 ERR Task configdb has failed with an unknown exception
10/09/2006 14:08:26 8 ERR Exception: System.ArgumentException: Error during encryption or decryption. System error code 997.
at Microsoft.SharePoint.Administration.SPCredentialManager.DecryptWithMasterKey(Byte[] rgbEncryptedPassphrase)
at Microsoft.SharePoint.Administration.SPEncryptedString.GetSecureStringValue()
at Microsoft.SharePoint.Administration.SPEncryptedString.get_SecureStringValue()
at Microsoft.SharePoint.Administration.SPProcessIdentity.get_SecurePassword()
at Microsoft.SharePoint.Administration.SPApplicationPool.Provision()
at Microsoft.SharePoint.Administration.SPWebServiceInstance.Provision()
at Microsoft.SharePoint.Administration.SPFarm.Join()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask() CAUSEThis issue occurs if the Network Service account is used as the farm account. In this situation, when you remove Windows SharePoint Services 3.0 from a stand-alone farm, or when you remove SharePoint Server 2007 from a Windows SharePoint Services 3.0 farm environment, the following registry subkey that is used to encrypt passwords that are contained in the Windows SharePoint Services 3.0 configuration database (configdb) is deleted: HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\
FarmAdmin\ Therefore, when you try to join a Web application that exists in the configuration database that does not use the Network Service account, the Web application account credentials cannot be decrypted. This occurs because the required registry subkey is deleted.WORKAROUNDTo work around this issue, run Psconfig.exe at the command line to create a new Windows SharePoint Services 3.0 configuration database. To do this, follow these steps:
| Article Translations
|
Back to the top
