Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSIS: script task (vs15) not work when deploy on sql server 2014

The error:

There was an exception while loading Script Task from XML: System.Exception: The Script Task uses version 14.0 script that is not supported in this release of Integration Services. To run the package, use the Script Task to create a new VSTA script. In most cases, scripts are converted automatically to use a supported version, when you open a SQL Server Integration Services package in %SQL_PRODUCT_SHORT_NAME% Integration Services. at Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask.LoadFromXML(XmlElement elemProj, IDTSInfoEvents events)

I'm doing exactly what it says, but it does not help.

Any solution?

like image 889
Refael Avatar asked Jan 20 '16 06:01

Refael


People also ask

What is Vsta script?

VSTA is the scripting environment that SQL Server 2008 Integration Services (SSIS) uses. In SQL Server 2005, the scripting environment for Integration Services is Microsoft Visual Studio for Applications (VSA).

How do I run a script in SSIS?

SSIS Script Task is an effortless task where not much configuration is needed. The initialize a Script task, the user must specify the programming language to be used, the read-only and read-write variables. Two programming languages are supported in the SSIS Script task: Visual Basic . NET and C#.

Which languages can be used to code a script task in SSIS?

SSIS allows the developer to choose between two different scripting languages: C# or Visual Basic (VB). To see where you can make this choice, drop a Script Task onto the Control Flow design surface.

How do I deploy my SSIs project in Visual Studio 2015?

Open your solution in Visual Studio 2015. Select your SSIS Project in the Solution Explorer. In the Project menu select Properties. Under Deployment Target Version change the Target Server Version to "SQL Server 2014."

How do I precompile scripts in SQL Server 2008 integration services (SSIs)?

In SQL Server 2008 Integration Services (SSIS) and later versions, all scripts are precompiled. In earlier versions, you set a PrecompileScriptIntoBinaryCode property to specify that the script was precompiled. To learn more about the Script task, see Script Task and Configuring the Script Task in the Script Task Editor.

What version of SSDT does the script task use?

package validation failed with "The Script Task uses version 15.0 script that is not supported in this release of Integration Services..." The current SSDT version 17.1 provides a support to target SQL Server 2014 - SQL Server vNext.

Is the script task supported in this release of integration services?

Bookmark this question. Show activity on this post. There was an exception while loading Script Task from XML: System.Exception: The Script Task uses version 14.0 script that is not supported in this release of Integration Services. To run the package, use the Script Task to create a new VSTA script.


2 Answers

This worked for me:

  1. Install SSDT-BI for Visual Studio 2013.
  2. Open your solution in Visual Studio 2015.
  3. Select your SSIS Project in the Solution Explorer.
  4. In the Project menu select Properties.
  5. In the Property Pages dialog select Configuration Properties -> General
  6. Under Deployment Target Version change the Target Server Version to "SQL Server 2014."
  7. Clean and rebuild solution and redeploy.
like image 131
Laurie Koudstaal Avatar answered Jan 03 '23 15:01

Laurie Koudstaal


In the revised version of the SSDT (now 14.0.61x), there is a fix.

  1. Install new version. (SSDT For download)

  2. Right click project > Properties > Configuration Properties > General > TargetServerVersion - Update to SQL Server 2014 > Redeploy.

like image 22
Refael Avatar answered Jan 03 '23 15:01

Refael