Skip to main content

Task Database - Execute DTS Package​

The Execute DTS package Task runs a DTS (Data Transformation Services) package from a file or from a SQL Server database. The DTS runtime must be installed on the VisualCron Server. To run a package on a remote server, use the Job sub tab of the SQL Task with a SQL Server Agent job for the package.

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

warning

The Task does not run the package as the user in SQL Credential. With Use trusted connection, the package is loaded from the database under the account of the VisualCron Server, which must have access to the SQL Server.

Variables in the Value of a package variable are not replaced: the value is passed to the package as entered. Variables can be used in the variable name.

Execute DTS package tab​

Execute DTS package tab with the package location settings and the Variables list

Main settings

  • Package located in file: Select to run a package from a structured storage file
  • Package path: The full path of the package file
  • Password: The password of the package file, if it has one
  • Package located in database: Select to run a package stored in a SQL Server database
  • SQL server host name: The host name or IP address of the SQL Server where the package is stored. When it is empty, the domain of the SQL Credential is used as the host name
  • Package name: The name of the package in the database
  • SQL Credential: Required with Package located in database. Without Use trusted connection, the user name and password of this Credential are used to log on to SQL Server. Click the icon next to the list to open Manage credentials; see Global - Credentials
  • Use trusted connection: When selected, the package is loaded with Windows authentication, under the account of the VisualCron Server

Variables

The global variables to set in the package before it runs. Click Add to add a variable, Edit to change the selected variable, or Delete to remove it.

Output and errors​

  • With "Fail on error" selected on the On error tab, the default, the package stops at its first failed step
  • When the SQL Credential is not found, the error "Could not find specified Credential" is written to the error output