Recently we had a couple of issues on a project setting up Continuous Integration when working with SQL Server 2016. I thought it was worth blogging this in case anyone else had come across similar issues.
The issue was occurring because we had taken the latest source code for the Integration Services Build and deploy dll’s which have had a couple of new parameters added. These must be supplied otherwise a failure will occur when you try to deploy the project if working with the templates provided in the earlier blog.Obviously the addition of parameters is no bad thing as now we have support for deployment of environments – (for more information on this see this post from Ritchie Lee here :https://redphoenix.me/2015/07/09/msbuildssis2012-now-available-or-rather-ssis-2012-deployment-fail-revisited-again/ ) However, it does require making a couple of tweaks to the script otherwise it will fail Full credit to Christo Olivier for picking up on this and resolving the issue.
The error
When we were running run a build using the template SSIS Build was returning an error and the build log looked like this :
The error “MSB044: the “DeployProjectToCatalogTask” task was not given a value for the required parameter “Environment””” is actually quite clear – a required parameter “Environment” is not being supplied. However having used the scripts without issue previously it took a little time to determine the underlying cause.
The amendment therefore is to modify the file that you are using for your MSBuild script (referred to in my previous tutorials as SSISDeploy.proj)
Whereas the last line of the MSBUildScript previously looked like this:
We now need to add the following code to the template:
I have updated the previous blog to include this information, however if you are receiving this error and have made a recent change to the dll’s and upgraded to SQL 2016 this is worth checking that this is not the cause.
Celebrating International Women’s Day: from Classroom to Code
As we celebrate International Women’s Day, I want to share my journey of breaking stereotypes
Mar
Pretty Power BI – Adding Pagination to Bar Charts
Good User Experience (UX) design is crucial in enabling stakeholders to maximise the insights that
Feb
Pretty Power BI – Creating Dynamic Histograms
Good User Experience (UX) design is crucial in enabling stakeholders to maximise the insights that
Feb
Top Tips to Pass the Databricks Certified Data Engineer Professional Exam
Having recently passed the Databricks Certified Data Engineer Professional exam, this blog post covers some
Jan
Python vs. PySpark Navigating Data Analytics in Databricks – Part 1
Introduction When it comes to conquering the data analytics landscape in Databricks, two heavyweights, Python
Jan
Impact of AI on Business Analysis
Artificial intelligence (AI) is rapidly transforming our world, and this blog post concentrates on the
Jan
Creating Clickbait Using Python
In 2023, about 5 billion people used the internet. With so many people contributing and
Dec
A Brief Overview of Security in Microsoft Fabric
Where Fabric Sits in the Hierarchy As you are probably aware, Microsoft Fabric is Microsoft’s
Dec