Export-SPWeb: 0x80070057 Error

Problem: When trying to export a List from SharePoint 2016 site, got this error message “Export-SPWeb: <nativehr>0x80070057</nativehr><nativestack></nativestack>”

Export-SPWeb https://intranet.crescent.com/ -ItemUrl “Lists/Projects” -path “C:\Projects.cmp”

Solution:

In the ItemUrl Parameter, You must include a leading slash! E.g. Instead of -ItemUrl “Lists/Projects” You must enter “-ItemUrl “/Lists/Projects”

E.g.  Export-SPWeb https://intranet.crescent.com/ -ItemUrl “/Lists/Projects” -path “C:\Projects.cmp”

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

Leave a Reply

Your email address will not be published.