మీరు ఈవెంట్స్ / WebParts లో ఆబ్జెక్ట్ మోడల్ ద్వారా లేదా ఏదైనా మాధ్యమం ద్వారా InfoPath xml ఫైలు అప్డేట్ ప్రయత్నించండి ఉంటే.
Item.Update execting ఉండగా() క్రింద లోపం కారణం అవుతుంది. ListItem లో InfoPath xml ఫైలు నవీకరించుటకు ఉన్నప్పటికీ
ఫైలు మరియు ListItem వస్తువు డిస్కనెక్ట్ విధానం.
Item.File.Update() మీ సమస్య పరిష్కరించే.
లోపం యొక్క స్టాక్ట్రేస్:
[COMException (0x81020037): ఫైలు SampleFile / SampleFile_2009-06-11T18_57_00.xml SharePoint వ్యవస్థ ద్వారా మారిస్తే 13 Jun 2009 00:25:30 +0530.] Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(స్ట్రింగ్ bstrUrl, స్ట్రింగ్ bstrListName, బూలియన్ మేధస్సు, బూలియన్ bSystemUpdate, బూలియన్ bPreserveItemVersion, బూలియన్ bUpdateNoVersion, Int32& plID, స్ట్రింగ్& pbstrGuid, GUID pbstrNewDocId, బూలియన్ bHasNewDocId, స్ట్రింగ్ bstrVersion, ఆబ్జెక్ట్& pvarAttachmentNames, ఆబ్జెక్ట్& pvarAttachmentContents, ఆబ్జెక్ట్& pvarProperties, బూలియన్ bCheckOut, బూలియన్ bCheckin, బూలియన్ bMigration, బూలియన్ bPublish) +0 Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(స్ట్రింగ్ bstrUrl, స్ట్రింగ్ bstrListName, బూలియన్ మేధస్సు, బూలియన్ bSystemUpdate, బూలియన్ bPreserveItemVersion, బూలియన్ bUpdateNoVersion, Int32& plID, స్ట్రింగ్& pbstrGuid, GUID pbstrNewDocId, బూలియన్ bHasNewDocId, స్ట్రింగ్ bstrVersion, ఆబ్జెక్ట్& pvarAttachmentNames, ఆబ్జెక్ట్& pvarAttachmentContents, ఆబ్జెక్ట్& pvarProperties, బూలియన్ bCheckOut, బూలియన్ bCheckin, బూలియన్ bMigration, బూలియన్ 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, స్ట్రింగ్ bstrListName, బూలియన్ మేధస్సు, బూలియన్ bSystemUpdate, బూలియన్ bPreserveItemVersion, బూలియన్ bUpdateNoVersion, Int32& plID, స్ట్రింగ్& pbstrGuid, GUID pbstrNewDocId, బూలియన్ bHasNewDocId, స్ట్రింగ్ bstrVersion, ఆబ్జెక్ట్& pvarAttachmentNames, ఆబ్జెక్ట్& pvarAttachmentContents, ఆబ్జెక్ట్& pvarProperties, బూలియన్ bCheckOut, బూలియన్ bCheckin, బూలియన్ bMigration, బూలియన్ bPublish) +251 Microsoft.SharePoint.SPListItem.AddOrUpdateItem(బూలియన్ మేధస్సు, బూలియన్ bSystem, బూలియన్ bPreserveItemVersion, బూలియన్ bNoVersion, బూలియన్ bMigration, బూలియన్ bPublish, బూలియన్ bCheckOut, బూలియన్ bCheckin, GUID newGuidOnAdd, Int32& ulID, ఆబ్జెక్ట్& objAttachmentNames, ఆబ్జెక్ట్& objAttachmentContents, బూలియన్ suppressAfterEvents) +1026 Microsoft.SharePoint.SPListItem.UpdateInternal(బూలియన్ bSystem, బూలియన్ bPreserveItemVersion, GUID newGuidOnAdd, బూలియన్ bMigration, బూలియన్ bPublish, బూలియన్ bNoVersion, బూలియన్ bCheckOut, బూలియన్ bCheckin, బూలియన్ suppressAfterEvents) +182 Microsoft.SharePoint.SPListItem.SystemUpdate() +97 Peoples.WebControls.<>c__DisplayClass1.<ExportData>b__0() +993 Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(ఆబ్జెక్ట్ రాష్ట్ర) +70 Microsoft.SharePoint.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() +392 Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated సురక్షిత కోడ్) +152 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(బాక్ సురక్షిత కోడ్ వేచి, ఆబ్జెక్ట్ పరమ) +345 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated సురక్షిత కోడ్) +86 Peoples.WebControls.CalendarExport.ExportData() +320 Peoples.WebControls.CalendarExport.ExportCalendar_Click(ఆబ్జెక్ట్ పంపుతుంది, EventArgs ఇ) +40 System.Web.UI.WebControls.Button.OnClick(EventArgs ఇ) +111 System.Web.UI.WebControls.Button.RaisePostBackEvent(స్ట్రింగ్ eventArgument) +110 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(స్ట్రింగ్ eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, స్ట్రింగ్ eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(బూలియన్ includeStagesBeforeAsyncPoint, బూలియన్ includeStagesAfterAsyncPoint) +1565 |
ఈ పంపినందుకు ధన్యవాదాలు!
http://www.mstechblogs.com చాలా ఇన్ఫర్మేటివ్ ఉంది. వ్యాసం చాలా వృత్తిపరంగా రాసిన. నేను చదివే ఆనందించండి http://www.mstechblogs.com ప్రతి రోజు.
ధన్యవాదాలు స్నేహితుని!
Yep – ఈ ధన్యవాదాలు. నేను ప్రయత్నించండి / క్యాచ్ క్యాచ్ లో ఈ ఉపయోగించడానికి కలిగి – try contains Item.Update(). Seems to solve this starnge issue. Is it a sporadic issue then?
Thanks.It is helping me….