Is it possible to deploy SSIS 2012 package on SQL Server 2008 - sql-server-2008

I have a package that is developed in SSIS 2012 using Visual Studio 2010.
Is it possible to deploy/attach this package on SQL Server 2008
If it is possible, does the licence of the sql server matter

no, you cant. SSIS package are not backwards compatible.
Also it doesn't make much sense if you think about it. If it was the other way around, "maybe" it could be done because 2012 would somehow be aware of 2008 structure, but 2008 engine isn't aware of 2012 package structure.

You cannot run it with the 2008 version of dtexec and you certainly cannot deploy it into the catalog, but if you could install the minimum you need to run SSIS 2012 onto a server somewhere you could then execute the package from filesystem with the 2012 version of dtexec.
See also http://msdn.microsoft.com/en-us/library/bb522577.aspx

Best guess would be no. The engine to run the SSIS package would have to match the release level of the code. You have not been able to run any SSIS package on any release level below the developed level of the package (i.e. 2005 server will not run a 2008 package etc.)
It is not a license issue, it is an engine issue. The SSIS engine code changes with each release and therefore the code would be running in an engine that doesn't support the features or structure of the package.

Related

SSIS 2005 to 2019

In the company where I work I have SSRS, SSIS and SSAS projects done in 2005 and 2008, and at this moment the company has purchased VS 2019, is it possible to migrate ssis packages from 2005 and 2008 to 2019 directly? I can't find anything on the net that is very specific in relation to this matter.
Thank you
greetings
Maybe is the answer.
If the packages were built using only standard, out of the box, tasks and components and there's no scripting involved, you can run that 2005 package with the 2019 execution engine and it'll work.
Behind the scenes, the run-time engine will create an in-memory copy of the old package and upgrade to 2019 and then run it (and then dispose of it).
When you open the package in the VS designer, then that transient upgrade becomes permanent.
With the 2016 release of the VS designer tools, MS gave us "multi-targeting" for SSIS package development. Prior to that, you needed VS 2005 to create SQL Server 2005 packages. VS 2008 or 2010 for SQL Server 2008/2008R2. VS 2012 for SQL Server 2012, etc. With 2016 though, you could now go into the project properties and specify "target 2012, 2014, 2016" etc for deployment. This continues with 2019.
Also new for 2012 is the concept of a Project deployment model. The old stuff is under the Package deployment model. It's still a valid approach and you'll likely want to remain in that model as there are differences for configuration, logging, package execute package task between them.
Script Task/Components are tricky. Some times they upgrade easy. Others you merely need to open the Task/Component and click recompile and errors sort themselves out. If someone got really clever with metadata and pipelines in a Script Component, then you're likely looking at a rewrite. The default language has switched between 2005/2008 which only offered VB.NET to C#. Both compile to IL so it doesn't matter but most folks stick with the default.
If you used custom components, then you'll need to acquire new versions built on the target set of SSIS binaries (and pray they haven't gone out of business). Register in GAC etc
You specify you purchased VS 2019, but do you have a SQL Server 2019 license to go with that? Otherwise, you're pouring new wine into old skins

Copy a SSIS project/package from Visual studio 2017 to 2008 (partial ease accepted)

I have created several packages in Visual Studio 2017 (SSDT) SSIS solution, they are showing target server 2017. This was on my development PC. Now, upon completion of it, I am into a challenge. The Server on which, I am moving my packages, is having Visual Studio 2008.
I can understand that downgrading may not be right away possible, but I will still be happy if I can find a way to minimize my work (i can accept package by package or so). Please note I am accessing the other server on the Remote and not able to use Ctrl+C and Ctrl+V to copy and paste package objects, so if I don't get some easy ways then have to almost write the whole package again.
Thanks for your support.
Install BimlExpress in your Visual Studio 2017 environment. Once installed, you should be able to right click on the package and with your new BimlExpress options, select Convert SSIS Packages to Biml
In the Miscellaneous section of you SSIS project, you should have a BimlScript.biml file. That is the Biml representation of an SSIS package but in a much more terse, yet user friendly syntax. This XML describes in a version independent way what the SSIS package did. Here's where it's cool as a cucumber: The Biml for a 2005 SSIS package is exact same as a 2019 package and vice versa. The Biml Engine has to "know" how to translate the package definition into version specific .dtsx but the smart folks at Varigence have already solved that problem.
Now, you need to take that generic Biml and match it up to a Visual Studio 2008/2010 installation that has the Business Intelligence Design Studio (BIDS) bits installed on it. For SQL Server 2005/2008, BIDS only came on the SQL Server installation media as that is how the product is licensed. A developer license cost 25-50 USD but you can no longer purchase it. Hopefully, the target server has BIDS installed on it.
If so, then you need to find a copy of BidsHelper or maybe the renamed product BI Developer Extensions and then you can use the Biml engine embedded in that product to emit a 2008 correct package.
If none of that works, you can try getting a free 7/14 day license for BimlStudio and the 2018 release still allows for the targeting of SSIS 2008.
Now, all of that supposes you haven't used any features in SSIS 2012+ that didn't exist in 2008 (Expression tasks, Parameters, project connection managers, etc) and I doubt a Script Task/Component is going to downgrade but the good news there is you should be able to mostly copy/paste the code into the 2008 version of the object.

Upgrade SSIS 2008 R2 package to SSIS 2016 package

I need to upgrade my SSIS package developed in SQL Server 2008 R2 to Sql Server 2016 package. What is the easiest way to upgrade my package.dtsx file.
I am looking at an option where the upgrade happens on the file system. I would need to then open it using Visual studio 2015 editor and extend it further. The package should be compatible to run on SQL Server 2016 database server.
The easiest upgrade method is just to open the file in VS 2015.
You will need to make sure the correct provider for OLEDB conns.
Also, watch out for script tasks. They don't always upgrade properly.

Which version of SSIS track versions of SSIS Package deployed to Server?

Which version of SSIS track versions of SSIS Package deployed to Server ? Please provide version.
DTS (very old version of SSIS) used to do it automatically. But as far as I know no versions of SSIS do it. You use TFS for that, but it just manages all the source code.
To check the package format version you have to open .dtsx file itself .
If PackageFormatVersion>3 then its 2008 when PackageFormatVersion>6 then its 2012 and when PackageFormatVersion>8 then 2014.
I have added snapshot it might help you to understand how to check version in SSIS.
SSIS 2012, 2014 and 2017 can track versions of SSIS Package deployed to Server. SSIS 2005, 2008 did not have this features.

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)