I have a scenario where I have to move all my data in a SharePoint 2010 list (name= \"VersionTestList\") to a SQL server database. Since versioning is enabled in the list, I wan
You have to initialize web.ServerRelativeUrl like this
web.ServerRelativeUrl
oldVersions = clientContext.LoadQuery(versions.Where(v => v != null)); clientContext.Load(web, w => w.ServerRelativeUrl); clientContext.ExecuteQuery();