"Súbor bol modifikovaný SharePoint system" Chyba pri aktualizácii InfoPath xml súboru v knižnici SharePoint

Ak sa pokúsite aktualizovať program InfoPath xml prostredníctvom objektového modelu na udalosti / WebParts alebo cez akékoľvek médium.

Kým execting Item.Update() spôsobí, že sa nižšie chybu. Pri aktualizácii programu InfoPath xml súbor v ListItem
súbor a ListItem objekt stále odpojený.

Item.File.Update() vyrieši váš problém.

StackTrace chýb:

[COMException (0x81020037): Súbor SampleFile/SampleFile_2009-06-11T18_57_00.xml bola zmenená SharePoint system na 13 Júna 2009 00:25:30 +0530.]

Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(Reťazec bstrUrl, Reťazec bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, GUID pbstrNewDocId, Boolean bHasNewDocId, Reťazec bstrVersion, Objekt& pvarAttachmentNames, Objekt& pvarAttachmentContents, Objekt& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +0

Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(Reťazec bstrUrl, Reťazec bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, GUID pbstrNewDocId, Boolean bHasNewDocId, Reťazec bstrVersion, Objekt& pvarAttachmentNames, Objekt& pvarAttachmentContents, Objekt& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +203

[SPException: Súbor SampleFile/SampleFile_2009-06-11T18_57_00.xml bola zmenená SharePoint system na 13 Júna 2009 00:25:30 +0530.]

Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(Reťazec bstrUrl, Reťazec bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, GUID pbstrNewDocId, Boolean bHasNewDocId, Reťazec bstrVersion, Objekt& pvarAttachmentNames, Objekt& pvarAttachmentContents, Objekt& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +251

Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, GUID newGuidOnAdd, Int32& upratovania, Objekt& objAttachmentNames, Objekt& objAttachmentContents, Boolean suppressAfterEvents) +1026

Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, GUID newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents) +182

Microsoft.SharePoint.SPListItem.SystemUpdate() +97

Peoples.WebControls.<>c__DisplayClass1.<ExportData>b__0() +993

Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Stav objektu) +70

Microsoft.SharePoint.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() +392

Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated SecureCode) +152

Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(počkajte spätné volanie SecureCode, Objekt param) +345

Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated SecureCode) +86

Peoples.WebControls.CalendarExport.ExportData() +320

Peoples.WebControls.CalendarExport.ExportCalendar_Click(Object sender, EventArgs e) +40

System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111

System.Web.UI.WebControls.Button.RaisePostBackEvent(Reťazec eventArgument) +110

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(Reťazec eventArgument) +10

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, Reťazec eventArgument) +13

System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

5 Komentáre k "Súbor bol modifikovaný SharePoint system" Chyba pri aktualizácii InfoPath xml súboru v knižnici SharePoint

Required

Môžete použiť tieto HTML tagy

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>