Si ou eseye mete ajou InfoPath XML dosye a nan modèl objè nan evènman / WebParts oswa nan nenpòt mwayen.
Pandan ke execting Item.Update a() pral lakòz erè ki anba la a. Pandan y ap mete ajou InfoPath XML dosye a nan ListItem
ap resevwa objè dosye a epi li ListItem dekonekte.
Item.File.Update() ap rezoud pwoblèm ou.
StackTrace nan erè:
[COMException (0x81020037): Te SampleFile/SampleFile_2009-06-11T18_57_00.xml dosye a te modifye, ki nan sistèm charepwen sou 13 Jun 2009 00:25:30 +0530.] Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(Chèn bstrUrl, BstrListName fisèl, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, Chèn& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, Fisèl bstrVersion, Objè& pvarAttachmentNames, Objè& pvarAttachmentContents, Objè& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +0 Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(Chèn bstrUrl, BstrListName fisèl, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, Chèn& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, Fisèl bstrVersion, Objè& pvarAttachmentNames, Objè& pvarAttachmentContents, Objè& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +203
[SPException: Te SampleFile/SampleFile_2009-06-11T18_57_00.xml dosye a te modifye, ki nan sistèm charepwen sou 13 Jun 2009 00:25:30 +0530.] Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(Chèn bstrUrl, BstrListName fisèl, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, Chèn& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, Fisèl bstrVersion, Objè& pvarAttachmentNames, Objè& pvarAttachmentContents, Objè& 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, Objè& objAttachmentNames, Objè& 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(Eta objè) +70 Microsoft.SharePoint.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() +392 Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) +152 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(rete tann SecureCode kalbak, Param objè) +345 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) +86 Peoples.WebControls.CalendarExport.ExportData() +320 Peoples.WebControls.CalendarExport.ExportCalendar_Click(Objè Sender, EventArgs e) +40 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111 System.Web.UI.WebControls.Button.RaisePostBackEvent(EventArgument fisèl) +110 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(EventArgument fisèl) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, EventArgument fisèl) +13 System.Web.UI.Page.RaisePostBackEvent(PostData NameValueCollection) +36 System.Web.UI.Page.ProcessRequestMain(Boulin includeStagesBeforeAsyncPoint, Boulin includeStagesAfterAsyncPoint) +1565 |
Mèsi pou afichaj sa a!
http://www.mstechblogs.com trè enfòmatif. Ap atik la trè pwofesyonèl ekri. Mwen renmen lekti http://www.mstechblogs.com chak jou.
Mèsi zanmi!
Wi – Mèsi pou sa a. Mwen gen yo sèvi ak sa a nan peche a eseye, / trape – eseye gen Item.Update(). Sanble rezoud pwoblèm sa a starnge. Èske se yon pwoblèm detanzantan Lè sa a,?
Thanks.It ap ede m '….