"Berkas telah dimodifikasi oleh sistem SHAREPOINT " Error saat InfoPath Memperbarui file xml di SharePoint Perpustakaan

Jika Anda mencoba untuk memperbarui file xml InfoPath melalui model objek dalam acara / webparts atau melalui media apapun.

Sementara execting Item.Update yang() akan menyebabkan kesalahan di bawah ini. Sementara memperbarui file xml InfoPath di listItem
objek file dan listItem mendapatkan terputus.

Item.File.Update() akan memecahkan masalah Anda.

StackTrace Error:

[COMException (0x81020037): Para SampleFile/SampleFile_2009-06-11T18_57_00.xml file telah dimodifikasi oleh SHAREPOINT sistem pada 13 Juni 2009 00:25:30 +0530.]

Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean Badd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, Tali& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Objek& pvarAttachmentNames, Objek& pvarAttachmentContents, Objek& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +0

Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean Badd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, Tali& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Objek& pvarAttachmentNames, Objek& pvarAttachmentContents, Objek& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +203

[SPException: Para SampleFile/SampleFile_2009-06-11T18_57_00.xml file telah dimodifikasi oleh SHAREPOINT sistem pada 13 Juni 2009 00:25:30 +0530.]

Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean Badd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, Tali& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Objek& pvarAttachmentNames, Objek& pvarAttachmentContents, Objek& 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& ulID, Objek& objAttachmentNames, Objek& objAttachmentContents, SuppressAfterEvents Boolean) +1026

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

Microsoft.SharePoint.SPListItem.SystemUpdate() +97

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

Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Negara objek) +70

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

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

Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(SecureCode menunggu panggilan balik, Obyek param) +345

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

Peoples.WebControls.CalendarExport.ExportData() +320

Peoples.WebControls.CalendarExport.ExportCalendar_Click(Obyek pengirim, 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(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

5 comments to “The file has been modified by SHAREPOINT\system” Error while Updating InfoPath xml file in SharePoint Library

Tinggalkan Balasan

Anda dapat menggunakan tag HTML ini

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