"Fails ir grozīts ar SharePoint sistēma" Kļūda atjaunināšana InfoPath xml failu SharePoint bibliotēkā

Ja jūs mēģināt atjaunināt InfoPath xml failu, izmantojot objektu modeli notikumi / WebParts vai izmantot jebkura starpnieka.

Kaut execting Item.Update() radīs zemāk kļūdas. Kaut atjaunināšana InfoPath xml failu ListItem
failu un ListItem objektu kļūst atvienots.

Item.File.Update() atrisinās jūsu jautājumu.

StackTrace kļūdu:

[COMException (0x81020037): Fails SampleFile/SampleFile_2009-06-11T18_57_00.xml tika mainīta ar SharePoint sistēmas 13 Jūnijs 2009 00:25:30 +0530.]

Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Būla bAdd, Būla bSystemUpdate, Būla bPreserveItemVersion, Būla bUpdateNoVersion, Int32& plID, String& pbstrGuid, GUID pbstrNewDocId, Būla bHasNewDocId, String bstrVersion, Objekts& pvarAttachmentNames, Objekts& pvarAttachmentContents, Objekts& pvarProperties, Būla bCheckOut, Būla bCheckin, Būla bMigration, Būla bPublish) +0

Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Būla bAdd, Būla bSystemUpdate, Būla bPreserveItemVersion, Būla bUpdateNoVersion, Int32& plID, String& pbstrGuid, GUID pbstrNewDocId, Būla bHasNewDocId, String bstrVersion, Objekts& pvarAttachmentNames, Objekts& pvarAttachmentContents, Objekts& pvarProperties, Būla bCheckOut, Būla bCheckin, Būla bMigration, Būla bPublish) +203

[SPException: Fails SampleFile/SampleFile_2009-06-11T18_57_00.xml tika mainīta ar SharePoint sistēmas 13 Jūnijs 2009 00:25:30 +0530.]

Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Būla bAdd, Būla bSystemUpdate, Būla bPreserveItemVersion, Būla bUpdateNoVersion, Int32& plID, String& pbstrGuid, GUID pbstrNewDocId, Būla bHasNewDocId, String bstrVersion, Objekts& pvarAttachmentNames, Objekts& pvarAttachmentContents, Objekts& pvarProperties, Būla bCheckOut, Būla bCheckin, Būla bMigration, Būla bPublish) +251

Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Būla bAdd, Būla bSystem, Būla bPreserveItemVersion, Būla bNoVersion, Būla bMigration, Būla bPublish, Būla bCheckOut, Būla bCheckin, GUID newGuidOnAdd, Int32& ulID, Objekts& objAttachmentNames, Objekts& objAttachmentContents, Būla suppressAfterEvents) +1026

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

Microsoft.SharePoint.SPListItem.SystemUpdate() +97

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

Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Objekts valsts) +70

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

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

Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(jāgaida atzvans SecureCode, Objekta param) +345

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

Peoples.WebControls.CalendarExport.ExportData() +320

Peoples.WebControls.CalendarExport.ExportCalendar_Click(Objekts sūtītājam, 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(Būla includeStagesBeforeAsyncPoint, Būla includeStagesAfterAsyncPoint) +1565

5 komentāri "fails ir modificēts ar SharePoint System" Kļūda atjaunināšana InfoPath xml failu SharePoint bibliotēkā

Atstāj atbildi

Jūs varat izmantot šo HTML tagus

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