Forum Discussion
Deleted
Oct 10, 2016Field or property "Audit" does not exist
I am using SharePointPnPCore2013 Nuget Package to create a template xml using the method explained at the video below. https://channel9.msdn.com/blogs/OfficeDevPnP/Getting-Started-with-PnP-Provision...
Malathi Sekkappan
Microsoft
Jan 24, 2017I are using SharePointPnPCore2013 2.11.1701.1 and I am still having issues. Are there any other updates?
VesaJuvonen
Microsoft
Jan 24, 2017There's two factors for this.
- Right PowerShell/Nuget package - you'll need to use the specific version, like SP2013 version for SP2013
- Rigth SP2013 version being installed on the server side. Our baseline is April 2015 CU - If you are using older version of the SP2013 installation, you might run into issues
- Malathi SekkappanJan 25, 2017
Microsoft
Thank you, Vesa.
I installed/applied SP2013 January 2017 CU, I passed that error. Now, it throws null pointer error at line
web.ApplyProvisioningTemplate(template, ptai);
Any ideas?
Malathi.
- VesaJuvonenJan 25, 2017
Microsoft
This really comes down on the code and template what you're using. I'd do following.
- Ensure that code works - export / import oob team site without any modifications
- If that does not work - then there's something else environmental, like permissions
- If that works - issue is in the template side - so it's then matter of double checking the template content and figure out what goes wrong
Without access on the used template, we can't reproduce which means that there's no way to be 100% what goes wrong. WIth the exception, you should also get nice stack trace, which will give you and us insights on what / where issue occured.
- Malathi SekkappanFeb 21, 2017
Microsoft
Attached the debugger to the PnP Core, found out the null object comes from Managed Metadata Service not running. After starting the service, I have passed that error