User Profile
Oliver_Dracus
Copper Contributor
Joined 7 years ago
User Widgets
Recent Discussions
Reading file.ListItemAllFields occasionally ends-up in stackoverflow
Hi, my application is downloading files from SharePoint.Online and then I am using file.ListitemAllFields to be able to read fields on list item attached to that document (I need only fields like Editor, Modified, _ModerationStatus, _ModerationComment). Unfortunately, application is, periodically, crashing and from dump file I see: This dump file has an exception of interest stored in it. The stored exception information can be accessed via .ecxr. (6904.4ea4): Stack overflow - code c00000fd (first/second chance not available) MethodDesc: 00007ff8470f71c0 Method Name: Microsoft.SharePoint.Client.ClientRequest.AddQueryIdAndResultObject(Int64, System.Object) Class: 00007ff8470ef838 MethodTable: 00007ff8470f7358 mdToken: 00000000060000db Module: 00007ff845314428 IsJitted: yes CodeAddr: 00007ff846c0e060 Transparency: Transparent MethodDesc: 00007ff845315f10 Method Name: Microsoft.SharePoint.Client.ClientObject.get_Query() Class: 00007ff84534cdf0 MethodTable: 00007ff845315fd8 mdToken: 000000000600002c Module: 00007ff845314428 IsJitted: yes CodeAddr: 00007ff846c0eee0 Transparency: Transparent MethodDesc: 00007ff847124b18 Method Name: Microsoft.SharePoint.Client.ListItem.LoadExpandoFields() Class: 00007ff84710b268 MethodTable: 00007ff847124cc8 mdToken: 0000000006000602 Module: 00007ff845311e08 IsJitted: yes CodeAddr: 00007ff848f26780 Transparency: Transparent MethodDesc: 00007ff845315f10 Method Name: Microsoft.SharePoint.Client.ClientObject.get_Query() Class: 00007ff84534cdf0 MethodTable: 00007ff845315fd8 mdToken: 000000000600002c Module: 00007ff845314428 IsJitted: yes CodeAddr: 00007ff846c0eee0 Transparency: Transparent MethodDesc: 00007ff847124b18 Method Name: Microsoft.SharePoint.Client.ListItem.LoadExpandoFields() Class: 00007ff84710b268 .... ERROR_CODE: (NTSTATUS) 0xc00000fd - A new guard page for the stack cannot be created. (this is repeating until crash) so all points to some problem in Microsoft.SharePoint.Client* Is there any other way to get list item fields connected to file uploaded to the SharePoint instead of doing file.ListItemAllFields. At the end, I need very small subset of fields and always only from exactly 1 document. Thx700Views0likes0CommentsStack overflow in Microsoft.SharePoint.Client.ClientRequest.AddQueryIdAndResultObject
Hi, my application connects to SharePoint Online and download documents which are processed locally (replacements in documents) and then uploaded back to SharePoint Online. Depending on settings application can keep meta data like (modified date, editor name, approval status, major/minor status) but very unpredictably application is crashing due to stack overflow in Microsoft.SharePoint.Client.ClientRequest.AddQueryIdAndResultObject. Unfortunately, as documents are processed in separate threads when this happens main process is closed and I cannot figure what is happening. To make it even more difficult in most cases when I process same location all will work but on some occasions there will be crash. From crash dump I can see: ERROR_CODE: (NTSTATUS) 0xc00000fd - A new guard page for the stack cannot be created. EXCEPTION_CODE_STR: c00000fd EXCEPTION_PARAMETER1: 0000000000000001 EXCEPTION_PARAMETER2: 0000003412a05fe0 FAULTING_THREAD: ffffffff STACK_TEXT: 00000034`12a06600 00007ff8`e2df63be Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientRequest.AddQueryIdAndResultObject+0x3e 00000034`12a06650 00007ff8`e2df6f6a Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x17a 00000034`12a066a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a066f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a06750 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a067a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a067f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a06850 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a068a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a068f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a06950 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a069a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a069f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a06a50 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a06aa0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a06af0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a06b50 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a06ba0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a06bf0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a06c50 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a06ca0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a06cf0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a06d50 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a06da0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a06df0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a06e50 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a06ea0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a06ef0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a06f50 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a06fa0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a06ff0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07050 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a070a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a070f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07150 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a071a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a071f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07250 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a072a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a072f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07350 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a073a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a073f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07450 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a074a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a074f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07550 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a075a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a075f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07650 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a076a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a076f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07750 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a077a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a077f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07850 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a078a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a078f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07950 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a079a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a079f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07a50 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a07aa0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a07af0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07b50 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a07ba0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a07bf0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07c50 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a07ca0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a07cf0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07d50 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a07da0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a07df0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07e50 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a07ea0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a07ef0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a07f50 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a07fa0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a07ff0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a08050 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a080a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a080f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a08150 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a081a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a081f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a08250 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a082a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a082f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a08350 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a083a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a083f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a08450 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a084a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a084f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Microsoft.SharePoint.Client.ListItem.LoadExpandoFields+0x11a 00000034`12a08550 00007ff8`e2df70a1 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.get_Query+0x2b1 00000034`12a085a0 00007ff8`e33b5530 Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientObject.Retrieve+0x10 00000034`12a085f0 00007ff8`e33b244a Microsoft_SharePoint_Client!Mi STACK_COMMAND: ** Pseudo Context ** ManagedPseudo ** Value: ffffffff ** ; kb SYMBOL_NAME: Microsoft_SharePoint_Client_Runtime!Microsoft.SharePoint.Client.ClientRequest.AddQueryIdAndResultObject+3e MODULE_NAME: Microsoft_SharePoint_Client_Runtime IMAGE_NAME: Microsoft.SharePoint.Client.Runtime.dll FAILURE_BUCKET_ID: CLR_EXCEPTION_STACK_OVERFLOW_c00000fd_Microsoft.SharePoint.Client.Runtime.dll!Microsoft.SharePoint.Client.ClientRequest.AddQueryIdAndResultObject but my app works with usually only 4 documents at the same time so I cannot figure why there are so many SP calls. Btw. test documents are fairly small Excel files of around 18-20kb. Consdering that I cannot even find where this is happening any idea will be more than appreciated. Btw. there is no memory leak/issue as application is using around 200-300MB (out of 16GB). Also there is no recursion in coding and Microsoft.SharePointOnline.CSOM versions were: v16.21312.12000 and 16.1.21213.12000 and with both I had same problem Thx1.4KViews0likes0CommentsMissing reference with SharePointPnPCoreOnline 3.17.2001.x
Hi all, In my project I am using SharePointPnPCoreOnline 3.16.1912 which is appearing in list of references but when I install version 3.17.2001.2 (or any 3.17) reference is gone. I was thinking that this has to do something with my project but when I created empty ones (C# and VB.NET) I had the same situation. Btw. when it works I see OfficeDevPnP.Core reference; My project is based on .Net 4.5.2. Any ideas? Thanks, Oliver660Views0likes1Comment
Groups
Recent Blog Articles
No content to show