Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Parameters Azure数据工厂-使用包参数执行SSIS包_Parameters_Ssis_Azure Data Factory - Fatal编程技术网

Parameters Azure数据工厂-使用包参数执行SSIS包

Parameters Azure数据工厂-使用包参数执行SSIS包,parameters,ssis,azure-data-factory,Parameters,Ssis,Azure Data Factory,我正在尝试使用“执行SSIS包”活动在Azure Data Factory v2中使用参数执行SSIS包 但是,我得到以下错误: Activity Execute SSIS Package failed: Failed get parameter info of parameter JobID. 管道设置如下: { "name": "Master Load", "properties": { "activities": [ { "name": "

我正在尝试使用“执行SSIS包”活动在Azure Data Factory v2中使用参数执行SSIS包

但是,我得到以下错误:

Activity Execute SSIS Package failed: Failed get parameter info of parameter JobID.
管道设置如下:

{
"name": "Master Load",
"properties": {
    "activities": [
        {
            "name": "Execute SSIS Package",
            "type": "ExecuteSSISPackage",
            "policy": {
                "timeout": "7.00:00:00",
                "retry": 0,
                "retryIntervalInSeconds": 30,
                "secureOutput": false
            },
            "typeProperties": {
                "packageLocation": {
                    "packagePath": "blah/blah/blah.dtsx"
                },
                "loggingLevel": "Basic",
                "environmentPath": "blah/blah",
                "connectVia": {
                    "referenceName": "blah-SSISIR",
                    "type": "IntegrationRuntimeReference"
                },
                "packageParameters": {
                    "JobID": {
                        "value": "@pipeline().parameters.JobID"
                    }
                }
            }
        }
    ],
    "parameters": {
        "JobID": {
            "type": "Int",
            "defaultValue": -1
        }
    },
    "folder": {
        "name": "Master Loads"
    }
},
"type": "Microsoft.DataFactory/factories/pipelines"}
JobID是我拥有的SSIS项目中的一个项目参数。SSIS 2016,我们将该软件包部署到ADFv2/Azure/任何您想要的名称

包在没有packageParameters部分的情况下成功运行,并且只使用包中的默认值,但我们希望在运行时设置这些值

有人遇到过这个问题,或者有什么例子可以分享吗


谢谢

您声明JobID是一个项目参数,那么您应该在json中使用
projectParameters
而不是
packageParameters