web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

Sharepoint Client Connection Online

(0) ShareShare
ReportReport
Posted on by 247

Getting error when attempting to connect to sharepoint online:

An unexpected error occurred from ISV code. (ErrorType = ClientError) Unexpected exception from plug-in (Execute): foo: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=16.1.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.

ctx = new ClientContext(siteURL);
ctx.Credentials = new SharePointOnlineCredentials(userName, securePassword);
ctx.RequestTimeout = 5000 * 60 * 10;

I have the same question (0)
  • LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    This community is used to asking and answering the quesions of Dynamics 365.

    I suggest that you could ask your questions in sharepoint community.

    techcommunity.microsoft.com/.../SharePoint

    Best Regards,

    Leo

  • IwishIknow Profile Picture
    247 on at

    Leo,

    Thanks for the reply but my question is about CRM 365.  As i stated my issue deals with 365 generating an error, the same code works as a console app. So by that logic the problem is wth 365 not Sharepoint. 

    Again this is a 365 issue.

  • LeoAlt Profile Picture
    16,331 Moderator on at
  • IwishIknow Profile Picture
    247 on at

    Leo,

    Your response is greatly appreciated, but both are online.

  • LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    I suggest that you could raise a ticket to Microsoft Support Team for more professional help.

    Best Regards,

    Leo

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 75 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans