1

I am attempting to query a SharePoint site and write data to the console. I am getting an error of

the version of the request is 15.0.0.0 and it is not supported by the server. The server supports the following versions 14.0.0.0

On this line in my code:

ctx.ExecuteQuery();

But I installed both the Microsoft.SharePoint.Client and Microsoft.SharePoint.Client.Runtime from NuGet and if I click on the reference and look at the version the version for both shows 14.0.0.0

What must I do to overcome this error and allow my code to execute properly?

3
  • Which version of SharePoint are you using ? SP Online or On premise 2013 or 2016 ? Commented Aug 17, 2018 at 12:57
  • Sharepoint Online Commented Aug 17, 2018 at 13:02
  • did you use this nuget package ? If not, create a new project and add this nuget and try Commented Aug 17, 2018 at 13:03

1 Answer 1

1

This error is completly related to dlls only. Try to copy the dlls from SharePoint 2010 server and check it

3
  • I used Nuget to get the .dll where can I get the dll from SharePoint 2010? It is not installed on the PC I am working on (why I am using CSOM) Commented Aug 17, 2018 at 13:02
  • do you have access to the server
    – Prasanna
    Commented Aug 17, 2018 at 13:03
  • I do not have access to the server Commented Aug 17, 2018 at 13:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.