How do you make Codeplex 2017 SharePoint List adapter work with SQL Server 2019 dev/prod environments, where you run your SSIS jobs? -- The Codeplex adapter was last updated in 2017 and there appears to be no plans of upgrading it. The adapter doesn't install/register in the newer folders established through SQL Server 2019 because they only install on the following folders \140\DTS and below.
C:\Program Files (x86)\Microsoft SQL Server\140\DTS
(SQL Server 2019 has folder \150\DTS):
We had experienced this issue and struggled with migrating some packages to SQL Server 2019 because we had to perform inserts and updates onto a SharePoint List. Trying to write our own custom C# script to handle inserts/updates didn't meet our urgency needs and are not experts in that language.
Things we considered or tried:
- CozyRoc is expensive (about $5k server license) solution for just interacting with SharePoint.
- Installing Codeplex 2017 SharePoint List Adapter, but it still didn't work, more steps are needed I believe to make it work.
- Compared the Source Code for the Adapter Source/Destination archived in Codeplex; surprisingly it was very much the same between 2014/2017 versions.
- Researched other alternatives, but nothing really fit our needs.
OData Sourcealone doesn't fulfill our requirements because there is noOData Destination
Our set up:
- Local computer program SSDT 2017 [targeting either 2017/2019 SQL Server]
- Dev/Prod environment SQL Server 2019 where we run our jobs.
If you upgraded your SSIS SQL Server dev/prod environments to 2019 & have packages from 2012/2014/2016 that perform SharePoint List Record downloads/inserts/updates; you will soon notice the 2017 SharePoint List Adapter installation does not target SQL Server 2019. You may use OData Source to download list records, but sometimes your business needs require more than that.
To overcome this, try the following steps. This worked well for our needs and are now running packages that use Codeplex 2017 SharePoint List Adapter from SQL Server 2019, Jobs.
Step 1: If you don't have it already, get the 2017 SharePoint List Adapter here
Step 2: Locate path >>> in dev/prod: C:\Program Files (x86)\Microsoft SQL Server\150\DTS
Step 3: Register the adapter using the script below with Powershell Admin mode
When adapter registers successfully, run your SSIS Package from SQL Server Agent, Jobs. Remember to run in 32-bit mode
You should able to now perform the following actions in a SharePoint List from your 2019 Server:
✕ Deleting SharePoint List rows from Server Job didn't work for me, but I'll update this post in case I figure out why.
All of the above can also work from your client side computer. You should be able to use steps 1 through 2 to make the adapter work when you build packages on your computer targeting 2017/2019 SQL Server.