Eğer / WebParts veya herhangi bir ortamda aracılığıyla olaylarda nesne modeli aracılığıyla InfoPath xml dosyası güncelleştirmeye çalışırsanız.
Item.Update execting iken() hata aşağıda neden olur. Listitem içinde InfoPath xml dosyasını güncelleme yaparken
dosya ve listitem bağlantısız alma nesnesi.
Item.File.Update() Sorununuzu çözmek olacak.
Hata StackTrace:
[COMException (0x81020037): Dosya SampleFile/SampleFile_2009-06-11T18_57_00.xml SHAREPOINT sistem tarafından modifiye edilmiştir 13 Haziran 2009 00:25:30 +0530.] Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean Badd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, Dizi& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Nesne& pvarAttachmentNames, Nesne& pvarAttachmentContents, Nesne& 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, Dizi& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Nesne& pvarAttachmentNames, Nesne& pvarAttachmentContents, Nesne& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +203
[SPException: Dosya SampleFile/SampleFile_2009-06-11T18_57_00.xml SHAREPOINT sistem tarafından modifiye edilmiştir 13 Haziran 2009 00:25:30 +0530.] Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean Badd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, Dizi& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Nesne& pvarAttachmentNames, Nesne& pvarAttachmentContents, Nesne& 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, Nesne& objAttachmentNames, Nesne& 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(Nesnesi devlet) +70 Microsoft.SharePoint.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() +392 Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated SecureCode) +152 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(geri SecureCode bekleyin, Nesne 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(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 |
Bu mesaj için teşekkür ederiz!
http://www.mstechblogs.com çok bilgilendirici. Yazı çok profesyonelce yazılmış. Ben okumaktan zevk http://www.mstechblogs.com Her gün.
Teşekkürler dostum!
Evet – Bunun için teşekkür ederiz. Ben bu try / catch catch kullanmak zorunda – Item.Update içeren deneyin(). Bu starnge sorunu çözmek için görünüyor. O sporadik bir konudur?
Thanks.It bana yardım ediyor….