Version compatibility issue in SQL Server and SSIS Packages - ssis

Currently in my machine visual studio community version 2017 version 15.9.3 has been installed and in server Microsoft SQL Server 2016 (SP1-CU3) has installed.
The issue is once I build the solution with available version and deploy it to server it gives following errors
even if i rebuild the ssis packages using old VS version and deploy it in server, still shows same error,
seems SSIDB keep tracking some meta data related to latest version deployment ispac.
still trying to figure it out the cause for this.
Initially what I want to do is using older version of VS ,need to deploy the ispac SSIS packages.
Thanks.

I encountered similar issue while upgrading from 2008/2012 to 2017. Somehow VS is not able to upgrade .NET version, even if you do so manually, it keeps coming back to the previous one. Your problem might be related to yet another issue though, but the last message in that validation outcome you pasted actually says about invalid script version and a failure while upgrading it automatically. If you only have a few of those scripts that are causing the problem, I would copy and paste the script to a brand new script component. If you have more, what helped us was this answer.

This is a common issue. If you build SSIS packages in VS(SSDT) 2017 and they have script components/tasks, they will not work on SQL Server 2016. Even though you set 2016 as the Target Version.
The only solution I know is to build your SSIS packages in VS(SSDT) 2015.

Related

SSIS destination component failing due to current version of the data flow

I have a working SSIS package. It works from vs, meaning it builds and executes as expected producing results in the CRM.
After I get the generated .ispac file and deploy it in MSSQL server, I fail on executing.
I get an error that looks like this:
Test Package:Error: Microsoft.SqlServer.Dts.Pipeline.ComponentVersionMismatchException: The version of Create Records is not compatible with this version of the DataFlow. [[The version or pipeline version or both for the specified component is higher than the current version. This package was probably created on a new version of DTS or the component than is installed on the current PC.]]
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostCheckAndPerformUpgrade(IDTSManagedComponentWrapper100 wrapper, Int32 lPipelineVersion).
The aforementioned 'Create Record' is the 'Dynamics CRM Destination' component.
There are many who have such issue, I searched the web, but what all suggest is that we change the target version of the MSSQL server from VS, but I tried that and it doesn't work.
Additional information:
System: Windows 10 pro
VS: 2015
MSSQL: 13.0.6300.2(so it's sql server 2016)
Kingsway version: v21.2(21.2.0.31501)
The 'TargetServerVersion' is set to: 'SQL Server 2016'
What have I tried ?
I have tried to deploy straight from VS, but no luck there.
I ran the same(separately built) SSIS on my local machine where I have vs2019 and sql server 2019, it works fine in here.
I tried to build the project in vs2019 on the main machine and I'm still getting the same error.
So, do you have any idea what's happening, can you give me some advice ?
Thank you for the question about our integration toolkit. To use any of our toolkits for deployment and scheduled execution, the same version should be installed in possibly three places:
On your development machine (this is generally covered by our free Developer license)
On your SSIS Integration server
On the machine which is used to deploy your SSIS packages to your Integration server (if different from your development machine)
Based on the error message, it is either that you didn't install our Dynamics 365 toolkit or otherwise the installed version on the server is lower than what you have installed on your development workstation.

SSIS Package Migration from 2008R2 to 2016 version

I am upgrading SSIS packages created and running in 2008R2 to 2016 version.
Facing various issue where ever there is a script task inside a package.
Can anyone help me with any generic way to upgrade script tasks like upgrading assemblies or libraries in it ?
or
Do I have to pitch into each script and make changes individually inside ?
Tried upgrading the assemblies in one of the script task, the cross sign dissappeared however, there were still some errors in the script related to few classes.

VS2017 15.8.0 - no longer able to downgrade SQL version on SSIS package

I updated to 15.8.0 yesterday. Today, when trying to change my SQL version to anything other than SQL 2017 the process crashes. I first tried rebuilding and that failed. I am currently removing 15.8.0 and reinstalling 15.7.6
I was unable to find anyone mentioning the issue and wanted to ask if anyone knew of a better way to fix it other than install an older Visual Studio version
I had problem populating data from database using LINQ in the visual studio 15.8.0 environment.
15.7.3 works well.
https://social.msdn.microsoft.com/Forums/en-US/2c063b57-8571-41e7-8a95-3ce4a105a5e3/unable-to-deploy-ssis-after-vs-2017-update-1580?forum=sqlintegrationservices
https://developercommunity.visualstudio.com/content/problem/311891/error-deploying-ssis-package.html
looks like there was an issue with 15.8.0

Visual Studio 2012 Entity Framework don't have MySQL Data Source Type

I'm using visual studio 2012 and installed MySQL 5.7 and all the developer tools. After I added EF 6.0 etc from Nuget and try to link to my database, MySQL is not part of the available data source as depicted below.
I can however, see the selection when trying to add connection at Server Explorer. May I know if anybody knows how to fix it? What have I missed? Thank you.
Update 1:
These are what I have installed.
After trying with my local PC and my VM, I found out the problem. Since I installed mysql-connector-net-6.10.5.msi, it's not supported. At my VM I had installed the mysql-connector-net-6.9.10.msi instead.
After changing the local PC to mysql-connector-net-6.9.10.msi, I'm able to see the data source. Is MySQL trying to phase out the support in the future?

SSIS SSDT - Deploying A DTSX to a Server

I have been searching for a while on this and have no real direction on what the problem may even be. I haven't done SSIS for about 5 years and even 5 years ago I only did one or two.
I have Visual Studio 2012 on my machine. I installed SSDT so that I could write an SSIS package. I have the package written and working locally but when I try to set up a job in the SQL Agent on the server I get this error after selecting the package:
I have looked into this error and none of the resolutions I have found are working. My project is already set to not use 64 bit mode. I'm kind of thinking this might have to do with the fact that the version of SQL Server on that machine is just 2008 and that maybe that means it has an incompatible SSIS runtime. I don't know if there is an additional runtime I need to install to get this to work and I don't know if it's backward compatible with the old runtime they are using if that's even the problem.
I can't find any information online about setting up the environment for an SSDT SSIS package..
Please help.
Thanks
You have a package built against the SQL Server 2012 Integration Services object model. You are attempting to execute it on a 2008 instance. Backwards compatibility is not an option.
You need to either update the 2008 instance to 2012 (there is a licensing change to be aware of) or recreate your package using the 2008 model.
There are 2 steps you have to do:
1) Build you package using correct version - Update 2208 Instance to 2012
2) If you have multiple versions install and you try to deploy using .ispac file, it will most likely pick the latest version. To resolve the issue, you have to pick the correct version of Installer by going to where it is installed. In my case it is (C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn)