I have an infopath 2010 form and it submits data to a sharepoint 2010 list. The row has a person picker control, this field needs to submit its data to "Assigned To" column of the list. However when it tries to submit, Sharepoint logs say "Unexpected Error Occured".
This is code for retrieving the data in the assigned to field of infopath form.
"rows.Current.SelectSingleNode( _
"/my:myFields/my:rows/my:row/my:AssignedTo/pc:Person/pc:AccountId", NamespaceManager).Value.ToString
)"
, I am getting the following error. How can I insert data to Assigned to Column of a Sharepoint list 2010?
<Batch> <Method ID="1" Cmd="New"><Field Name="Title">buububu</Field><Field Name="KpiDescription"/><Field Name="TaskDueDate">2011-4-26.04.2011T0:0:0Z</Field><Field Name="AssignedTo">Domain\testuser</Field></Method></Batch></tns:updates></tns:UpdateListItems></SOAP-ENV:Body></SOAP-ENV:Envelope> f024043b-38fc-4182-9224-daee8515cdc6
04/26/2011 12:05:14.30 w3wp.exe (0x1890) 0x17D4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/projeler/Yazilim f024043b-38fc-4182-9224-daee8515cdc6
04/26/2011 12:05:14.30 w3wp.exe (0x1890) 0x17D4 SharePoint Foundation General c3pa High Batchmgr Method error. Errorcode: 0x0affab30. Error message: Unexpected error..... (Sonuç Kodu: 0x80020005) f024043b-38fc-4182-9224-daee8515cdc6