Issue Description
When you upgrade from SharePoint 2013 to SharePoint Online and then attempt to deploy a package containing SharePoint Online objects, an error occurs on Package & Deployment after everything else has been deployed successfully.
Error Message:
The following error occurs:
“String was not recognized as a valid DateTime. System.FormatException: String was not recognized as a valid DateTime.
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at SourceCode.Runtime.Services.SharePoint.Data.DataService.AssembleWebhookSubscription(SmartPropertyCollection properties)
at SourceCode.Runtime.Services.SharePoint.Data.DataService.d__48.MoveNext()
at SourceCode.Runtime.Services.SharePoint.ListSettingsRuntimeService.ToComplexType(ISPListSetting listSetting, GetItemOptions options)
at SourceCode.Runtime.Services.SharePoint.ListSettingsRuntimeService.GetComplexType(GetItemOptions options)
at SourceCode.Runtime.Services.SharePoint.DeploymentCollator.DoPostDeploy(DeploymentPlan plan)
at SourceCode.Deployment.Runtime.ServerSession.AsyncDeploy()”
Resolution
The fix is available in:
- Nintex Automation (5.7) Fix Pack 08.
- Ensure you have the correct K2 version and/or Cumulative update installed. See KB001893 to see what Fix Pack level you have installed.
- Download the latest Fix Pack using the links in the table above for the version you require.
- Install the Fix Pack to apply the fix.