I am experiencing a problem with the Restore-SPDeletedSite and Remove-SPDeletedSite cmdlets. Even though I show an item in the recovery bin using the Get-SPDeletedSite cmdlet I am recieving the error Unable to find the specified file when running the Restore or Remove cmdlets.
Example:
PS C:\Users\cramsey_dev> Get-SPDeletedSite
WebApplicationId : 6e67ae8a-942e-45f0-a87a-3a5de8b6d7dc
DatabaseId : 7968eb7f-0869-4b47-b79e-e3dc851a6030
SiteSubscriptionId : 00000000-0000-0000-0000-000000000000
SiteId : 1f9c8891-e7e1-4f16-a9cd-65f5accdadab
Path : /sites/Project_Management
DeletionTime : 8/12/2013 6:56:11 PM
PS C:\Users\cramsey_dev> Restore-SPDeletedSite -Identity 1f9c8891-e7e1-4f16-a9cd-65f5accdadab
Confirm
Are you sure you want to perform this action?
Performing operation "Restore-SPDeletedSite" on Target
"/sites/Project_Management".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):
Restore-SPDeletedSite : Unable to find the specified file.
At line:1 char:22
+ Restore-SPDeletedSite <<<< -Identity 1f9c8891-e7e1-4f16-a9cd-65f5accdadab
+ CategoryInfo : InvalidData: (Microsoft.Share...toreDeletedSite:
SPCmdletRestoreDeletedSite) [Restore-SPDeletedSite], FileNotFoundException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRestoreD
eletedSite
PS C:\Users\cramsey_dev> Remove-SPDeletedSite -Identity 1f9c8891-e7e1-4f16-a9cd-65f5accdadab
Confirm
Are you sure you want to perform this action?
Performing operation "Remove-SPDeletedSite" on Target
"/sites/Project_Management".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):Y
Remove-SPDeletedSite : Unable to find the specified file.
At line:1 char:21
+ Remove-SPDeletedSite <<<< -Identity 1f9c8891-e7e1-4f16-a9cd-65f5accdadab
+ CategoryInfo : InvalidData: (Microsoft.Share...moveDeletedSite:
SPCmdletRemoveDeletedSite) [Remove-SPDeletedSite], FileNotFoundException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRemoveDe
letedSite
PS C:\Users\cramsey_dev>