Error on saving list item after changing content type
Posted: 28 Mar 2019
Dear SP Forms Designer Team,
there is a issue on saving list item form after changing content type on SharePoint Server 2016. This Issue occurred only with using SP Forms Designer. On default SharePoint forms saving is done.
The Error in ULS is:
"Error while executing web part: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index0
at Microsoft.SharePoint.Utilities.SPChunked2DObjectArray.get_Item(Int32 index0, Int32 index1)
at Microsoft.SharePoint.SPListItemCollection.CopyRow(SPListItemCollection srcListItems, Int32 iSrcIndex, Int32 iDestIndex)
at Microsoft.SharePoint.SPListItem.EnsureItemIsValid()
at Microsoft.SharePoint.SPListItem.GetValue(SPField fld, Int32 columnNumber, Boolean bRaw, Boolean bThrowException)
at Microsoft.SharePoint.SPListItem.get_Item(String fieldName)
at Microsoft.SharePoint.Utilities.SPUtility.GetCheckedOutUserId(SPItem item)
at Microsoft.SharePoint.Utilities.SPUtility.IsCheckedOut(SPItem item)
at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteUpdate(IDictionary keys, IDictionary values, IDictionary oldValues)
at System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback)"
The URL is used is "http://SPSERVER/sites/gmb/dc/vm/Vertrge ... f031f29d5d"
Do I reduce the URL to "http://SPSERVER/sites/gmb/dc/vm/Vertrge ... 30&IsDlg=1", it works fine.
The error displayed in SharePoint front end is "The data source control failed to execute the update command".
Any Ideas?
Thanks in advance.
Jens
there is a issue on saving list item form after changing content type on SharePoint Server 2016. This Issue occurred only with using SP Forms Designer. On default SharePoint forms saving is done.
The Error in ULS is:
"Error while executing web part: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index0
at Microsoft.SharePoint.Utilities.SPChunked2DObjectArray.get_Item(Int32 index0, Int32 index1)
at Microsoft.SharePoint.SPListItemCollection.CopyRow(SPListItemCollection srcListItems, Int32 iSrcIndex, Int32 iDestIndex)
at Microsoft.SharePoint.SPListItem.EnsureItemIsValid()
at Microsoft.SharePoint.SPListItem.GetValue(SPField fld, Int32 columnNumber, Boolean bRaw, Boolean bThrowException)
at Microsoft.SharePoint.SPListItem.get_Item(String fieldName)
at Microsoft.SharePoint.Utilities.SPUtility.GetCheckedOutUserId(SPItem item)
at Microsoft.SharePoint.Utilities.SPUtility.IsCheckedOut(SPItem item)
at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteUpdate(IDictionary keys, IDictionary values, IDictionary oldValues)
at System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback)"
The URL is used is "http://SPSERVER/sites/gmb/dc/vm/Vertrge ... f031f29d5d"
Do I reduce the URL to "http://SPSERVER/sites/gmb/dc/vm/Vertrge ... 30&IsDlg=1", it works fine.
The error displayed in SharePoint front end is "The data source control failed to execute the update command".
Any Ideas?
Thanks in advance.
Jens