Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8401541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:50:07+00:00 2026-06-09T21:50:07+00:00

I am trying to connect to sharepoint 2010 using DOTCMIS in C#. In a

  • 0

I am trying to connect to sharepoint 2010 using DOTCMIS in C#.
In a very similar fashion to this question:

Connecting via CMIS (dotCMIS) to SP2010: exception unauthorised

(However, my code is running in a MSCRM 2011 custom workflow activity)

My code is:

        var parameters = new Dictionary<string, string>();

        parameters[SessionParameter.BindingType] = BindingType.AtomPub;
        parameters[SessionParameter.AtomPubUrl] = "http://mySPServer/sites/scans/_vti_bin/cmis/rest/MyRepositoryIDGUID?getRepositoryInfo";
        parameters[SessionParameter.User] = "MyUser";
        parameters[SessionParameter.Password] = "MyPassword";
        parameters[SessionParameter.AuthenticationProviderClass] = "DotCMIS.Binding.NtlmAuthenticationProvider";

        var sessionFactory = SessionFactory.NewInstance();
        return sessionFactory.GetRepositories(parameters)[0].CreateSession();

However whenever I run it I am currently getting the following exception:

Sif General Error: DotCMIS.Exceptions.CmisRuntimeException: Could not load authentictaion provider: Value cannot be null.
Parameter name: type —> System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at DotCMIS.Binding.Impl.CmisBinding..ctor(IDictionary2 sessionParameters, AbstractAuthenticationProvider authenticationProvider)
--- End of inner exception stack trace ---
at DotCMIS.Binding.Impl.CmisBinding..ctor(IDictionary
2 sessionParameters, AbstractAuthenticationProvider authenticationProvider)
at DotCMIS.Client.Impl.CmisBindingHelper.CreateAtomPubBinding(IDictionary2 parameters, AbstractAuthenticationProvider authenticationProvider)
at DotCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary
2 parameters, IObjectFactory objectFactory, AbstractAuthenticationProvider authenticationProvider, ICache cache)
at TPR.SIF.WorkflowActivity.SessionService.CreateNewSession(String dmWebServiceUrl, String userName, String password)
at TPR.SIF.WorkflowActivity.SifService.SetUpServices(CodeActivityContext codeActivityContext)
at TPR.SIF.WorkflowActivity.SifService.Execute(CodeActivityContext codeActivityContext)

The error happens on the following line:

  sessionFactory.GetRepositories(parameters)[0].CreateSession();

which calls this line in the CMIS library

       if (sessionParameters.TryGetValue(SessionParameter.AuthenticationProviderClass, out authenticationProviderClass))
            {
                try
                {
                    Type authProvType = Type.GetType(authenticationProviderClass);
                     authenticationProvider = (AbstractAuthenticationProvider)Activator.CreateInstance(authProvType);

Does anyone know why “DotCMIS.Binding.NtlmAuthenticationProvider” cannot be created?

Thanks very much.

Sean.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T21:50:08+00:00Added an answer on June 9, 2026 at 9:50 pm

    NTLM support will released with DotCMIS 0.5. If you are using DotCMIS 0.4, it cannot work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to connect to a Sharepoint instance to publish some content via a
I'm trying to build a visual web part for SharePoint 2010 which should connect
Trying to connect to exchange 2010 SP1 using EWS & VB.Net. When i try
Im trying to connect my project via sFTP. and everytime I run the project
Im trying to connect MySql from VB.NET in visual basic 2010. I wanted to
I am trying to connect to a MySQL Server using JDBC tool in java
I am trying to connect the JSF to database. This are the files web.xml
I'm trying to connect to a FTP using Apaches FTPSClient but I keep getting
Trying to connect to sql server 2005 with delphi 2010 gives me the following
When trying to connect to a .mdf databse in ASP.NET (using c#) I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.