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"
Export-SPWeb: 0x80070057 Error Export-SPWeb: <nativehr>0x80070057</nativehr><nativestack></nativestack> Error Reviewed by Salaudeen Rajack on April 02, 2017 Rating: 5

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.