Quantcast
Channel: Microsoft SQL Server Community Samples: Integration Services
Viewing all articles
Browse latest Browse all 582

Commented Issue: Adapters fail in Claims environment. [18463]

$
0
0
When trying to connect the adapters to SharePoint lists in a SharePoint farm configured to use Claims authentication, the following error message is return when Visual Studio attempts to validate the SSIS package, and also when attempting to run the package.

System.ServiceModel.Security.MessageSecurityException: The HTTP request was forbidden with client authentication scheme 'Ntlm'. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.

The same package, with the adapters pointing to lists in a SharePoint farm that does not use Claims works perfectly.
Comments: ** Comment from web user: ChadC **

I'm running claims and kerberos, and I ran into these same errors. I think it is because the Security being set in the SharePoint Utility ListsAdapters and ViewsAdapter class are using a ClientCredentialType = HttpClientCredentialType.Ntlm. This is forcing the services to try and negotiate an NTLM based authentication. If you switch the type to Windows, then it seems to be able to negotiate the appropriate protocol to authenticate (at least this fix worked for me in my environment).

ViewsAdapter.VB, make the change on line 77 to:
binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Windows

ListsAdapter.VB, make the change on line 79 to:
binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Windows


Viewing all articles
Browse latest Browse all 582

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>