I have a linq code like below
itemCol.Where(x => Convert.ToString(x[internalColumn]) == filter)
.Select(x => x[internalColumn].ToString())
.Distinct()
.ToList();
itemCol is a Sharepoint List Item collection in managed CSOM (ListItemCollection) . I am getting an error like "specified method is not supported" .
Stack trace is
at Microsoft.SharePoint.Client.ClientQueryable'1.GetEnumerator()
at System.Collections.Generic.List'1..ctor(IEnumerable'1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable'1 source)
This issue is happening in client machine alone not in any dev machines.