Showing posts with label stsadm. Show all posts
Showing posts with label stsadm. Show all posts

Sunday, June 30, 2013

Resolution: Error during encryption or decryption. System error code 997 in SharePoint

I was recently ran into an issue in SharePoint where my Central Administration web app disappeared. When I tried to redeploy Central Administration, I was confronted with the error below.

An exception of type System.ArgumentException was thrown.  Additional exception information: Error during encryption or decryption. System error code 997.

Everything I saw online said the only option was to create a new config database. Personally, I thought that seemed a bit extreme. Well, I found a better option that worked for me, and will probably work for you too.

Wednesday, March 6, 2013

Fix Sharepoint/Powershell Error: The Farm is Unavailable

Below is an error that you can get in PowerShell or via STSADM for SharePoint

PS C:\> Get-SPServiceApplicationProxy
Get-SPServiceApplicationProxy : The farm is unavailable.
At line:1 char:30
+ Get-SPServiceApplicationProxy <<<<
    + CategoryInfo          : ResourceUnavailable: (Microsoft.Share...pplicationProxy:SPCmdletGetServiceApplicationProxy) [Get-SPServiceApplicationProxy], InvalidOperationException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletGetServiceApplicationProxy