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 http://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 http://intranet.crescent.com/ -ItemUrl "/Lists/Projects" -path "C:\Projects.cmp"

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.