ຖ້າຫາກວ່າທ່ານພະຍາຍາມເພື່ອປັບປຸງການໄຟລ໌ XML InfoPath ໂດຍຜ່ານຮູບແບບການຈຸດປະສົງໃນກິດຈະກໍາ / WebParts ຫຼືໂດຍຜ່ານຂະຫນາດກາງໃດ.
ໃນຂະນະທີ່ execting Item.Update ໄດ້() ຈະເຮັດໃຫ້ເກີດຄວາມຜິດພາດຕໍ່ໄປນີ້. ໃນຂະນະທີ່ການປັບປຸງໄຟລ໌ XML InfoPath ໃນ ListItem
ໄຟແລະຈຸດປະສົງ ListItem ໄດ້ຮັບການຕັດການເຊື່ອມຕໍ່.
Item.File.Update() ຈະແກ້ໄຂບັນຫາຂອງທ່ານ.
StackTrace ຂອງ Error:
[COMException (0x81020037): ໄຟ SampleFile / SampleFile_2009-06-11T18_57_00.xml ໄດ້ຮັບການແກ້ໄຂໂດຍລະບົບ SHAREPOINT ສຸດ 13 Jun 2009 00:25:30 +0530.] Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(ຊ່ອຍແນ່ bstrUrl, String bstrListName, ທາງ Boolean, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, bstrVersion String, ຈຸດປະສົງ& pvarAttachmentNames, ຈຸດປະສົງ& pvarAttachmentContents, ຈຸດປະສົງ& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +0 Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(ຊ່ອຍແນ່ bstrUrl, String bstrListName, ທາງ Boolean, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, bstrVersion String, ຈຸດປະສົງ& pvarAttachmentNames, ຈຸດປະສົງ& pvarAttachmentContents, ຈຸດປະສົງ& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +203
[SPException: ໄຟ SampleFile / SampleFile_2009-06-11T18_57_00.xml ໄດ້ຮັບການແກ້ໄຂໂດຍລະບົບ SHAREPOINT ສຸດ 13 Jun 2009 00:25:30 +0530.] Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(ຊ່ອຍແນ່ bstrUrl, String bstrListName, ທາງ Boolean, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, bstrVersion String, ຈຸດປະສົງ& pvarAttachmentNames, ຈຸດປະສົງ& pvarAttachmentContents, ຈຸດປະສົງ& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +251 Microsoft.SharePoint.SPListItem.AddOrUpdateItem(ທາງ Boolean, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& Ulid, ຈຸດປະສົງ& objAttachmentNames, ຈຸດປະສົງ& 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(ລັດ Object) +70 Microsoft.SharePoint.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() +392 Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated ລະຫັດຄວາມປອດໄພ) +152 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(ລໍຖ້າ Callback ລະຫັດຄວາມປອດໄພ, param Object) +345 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated ລະຫັດຄວາມປອດໄພ) +86 Peoples.WebControls.CalendarExport.ExportData() +320 Peoples.WebControls.CalendarExport.ExportCalendar_Click(ຈຸດປະສົງຂອງການສົ່ງ, 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 |
ຂໍຂອບໃຈສໍາລັບການປຊຊກິນນີ້ທ່ານ!
http://www.mstechblogs.com ມີຂໍ້ມູນຫລາຍ. ບົດຄວາມໄດ້ຖືກລາຍລັກອັກສອນຫຼາຍເປັນມືອາຊີບ. ຂ້າພະເຈົ້າມີຄວາມສຸກການອ່ານ http://www.mstechblogs.com ທຸກວັນ.
buddy ຂໍຂອບໃຈ!
Yep – ຂໍຂອບໃຈສໍາລັບການນີ້. ຂ້າພະເຈົ້າຕ້ອງນໍາໃຊ້ໃນການຈັບຂອງພະຍາຍາມ / ຈັບໄດ້ – ພະຍາຍາມປະກອບດ້ວຍ Item.Update(). ເບິ່ງຄືວ່າການແກ້ໄຂບັນຫາ starnge ນີ້. ມັນເປັນບັນຫາປາຍຫຼັງຈາກນັ້ນ?
Thanks.It ແມ່ນການຊ່ວຍເຫຼືອຂ້າພະເຈົ້າ….