Si saiatu InfoPath xml fitxategia eguneratzeko Ekitaldiak / WebParts edo edozein euskarritan bidez objektu ereduaren bidez.
Item.Update bitartean execting() beheko error eragin du. InfoPath xml fitxategia ListItem bitartean eguneratzeko
deskonektatu lortzean fitxategia eta ListItem objektu.
Item.File.Update() zure zenbakiko konpontzeko izango da.
Akats StackTrace:
[COMException (0x81020037): File SampleFile/SampleFile_2009-06-11T18_57_00.xml ha sido SharePoint sistema aldatu 13 Jun 2009 00:25:30 +0530.] Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolearra bAdd, Boolearra bSystemUpdate, Boolearra bPreserveItemVersion, Boolearra bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolearra bCheckOut, Boolearra bCheckin, Boolean bMigration, Boolearra bPublish) +0 Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolearra bAdd, Boolearra bSystemUpdate, Boolearra bPreserveItemVersion, Boolearra bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolearra bCheckOut, Boolearra bCheckin, Boolean bMigration, Boolearra bPublish) +203
[SPException: File SampleFile/SampleFile_2009-06-11T18_57_00.xml ha sido SharePoint sistema aldatu 13 Jun 2009 00:25:30 +0530.] Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolearra bAdd, Boolearra bSystemUpdate, Boolearra bPreserveItemVersion, Boolearra bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolearra bCheckOut, Boolearra bCheckin, Boolean bMigration, Boolearra bPublish) +251 Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolearra bAdd, Boolearra bSystem, Boolearra bPreserveItemVersion, Boolearra bNoVersion, Boolean bMigration, Boolearra bPublish, Boolearra bCheckOut, Boolearra bCheckin, UID newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolearra suppressAfterEvents) +1026 Microsoft.SharePoint.SPListItem.UpdateInternal(Boolearra bSystem, Boolearra bPreserveItemVersion, UID newGuidOnAdd, Boolean bMigration, Boolearra bPublish, Boolearra bNoVersion, Boolearra bCheckOut, Boolearra bCheckin, Boolearra suppressAfterEvents) +182 Microsoft.SharePoint.SPListItem.SystemUpdate() +97 Peoples.WebControls.<>c__DisplayClass1.<ExportData>b__0() +993 Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Objektu egoera) +70 Microsoft.SharePoint.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() +392 Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated SecureCode) +152 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback SecureCode, Objektu parametro) +345 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated SecureCode) +86 Peoples.WebControls.CalendarExport.ExportData() +320 Peoples.WebControls.CalendarExport.ExportCalendar_Click(Objektu bidaltzailearen, EventArgs e) +40 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection Postdata) +36 System.Web.UI.Page.ProcessRequestMain(Boolearra includeStagesBeforeAsyncPoint, Boolearra includeStagesAfterAsyncPoint) +1565 |
Eskerrik asko hau posting!
http://www.mstechblogs.com oso informativo da. Article da oso profesionalki idatziak. Gozatzen dute irakurketa I http://www.mstechblogs.com egunero.
Thanks buddy!
Yep – Thanks for this. I have to use this in the catch of try/catch – try contains Item.Update(). Seems to solve this starnge issue. Is it a sporadic issue then?
Thanks.It is helping me….