ನೀವು ಘಟನೆಗಳು / WebParts ವಸ್ತು ಮಾದರಿಯ ಮೂಲಕ ಅಥವಾ ಯಾವುದೇ ಮಾಧ್ಯಮದ ಮೂಲಕ InfoPath xml ಫೈಲ್ ನವೀಕರಿಸಲು ಪ್ರಯತ್ನಿಸಿ.
Item.Update execting ಸಂದರ್ಭದಲ್ಲಿ() ಕೆಳಗೆ ದೋಷ ಕಾರಣವಾಗುತ್ತದೆ. While updating the InfoPath xml file in ListItem
the file and ListItem object getting disconnected.
Item.File.Update() ನಿಮ್ಮ ಸಮಸ್ಯೆಯನ್ನು ಪರಿಹರಿಸಲು ಕಾಣಿಸುತ್ತದೆ.
StackTrace of Error:
[COMException (0x81020037): The file SampleFile/SampleFile_2009-06-11T18_57_00.xml has been modified by SHAREPOINTsystem on 13 Jun 2009 00:25:30 +0530.] Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(ಸ್ಟ್ರಿಂಗ್ bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, ಸ್ಟ್ರಿಂಗ್& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, ವಸ್ತು& pvarAttachmentNames, ವಸ್ತು& pvarAttachmentContents, ವಸ್ತು& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +0 Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(ಸ್ಟ್ರಿಂಗ್ bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, ಸ್ಟ್ರಿಂಗ್& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, ವಸ್ತು& pvarAttachmentNames, ವಸ್ತು& pvarAttachmentContents, ವಸ್ತು& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +203
[SPException: The file SampleFile/SampleFile_2009-06-11T18_57_00.xml has been modified by SHAREPOINTsystem on 13 Jun 2009 00:25:30 +0530.] Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(ಸ್ಟ್ರಿಂಗ್ bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, ಸ್ಟ್ರಿಂಗ್& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, ವಸ್ತು& pvarAttachmentNames, ವಸ್ತು& pvarAttachmentContents, ವಸ್ತು& 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, ವಸ್ತು& objAttachmentNames, ವಸ್ತು& 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(Object state) +70 Microsoft.SharePoint.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() +392 Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) +152 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object 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(ಬೂಲಿಯನ್ includeStagesBeforeAsyncPoint, ಬೂಲಿಯನ್ includeStagesAfterAsyncPoint) +1565 |
Thank you for posting this!
http://www.mstechblogs.com is very informative. The article is very professionally written. I enjoy reading http://www.mstechblogs.com every day.
Thanks buddy!
Yep – Thanks for this. I have to use this in the catch of try/catch – try contains Item.Update(). Seems to solve this starnge issue. Is it a sporadic issue then?
Thanks.It is helping me….