I'm trying to restore a site collection backup from one server to a different server in powershell, but I get the following error:

Restore-SPSite : The type initializer for 'Microsoft.SharePoint.SPStoredProceduresContent' threw an exception.

My command looks like this:

Restore-SPSite -Identity [URL] -Path [BACKUP PATH] -Force

Both machines are running the same version of SharePoint 2013, and can't even find a reference to Microsoft.SharePoint.SPStoredProceduresContent anywhere...

1 Answer 1


Could have been my VM running out of memory? 8GB just ain't enough, geez... bumping to 10GB and the problem goes away. Maybe coincidence.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.