简体   繁体   English

SSIS:执行执行包任务时出错

[英]SSIS: Error when executing a Execute Package Task

I have a project where I have 1 master package and several child packages which I call in the master. 我有一个项目,其中有1个主程序包和几个在主程序包中称为的子程序包。 However when I launch the master package it goes into error on one "Execute Package Task" See below for the ouput from the Output-Window: 但是,当我启动主程序包时,它在一个“执行程序包任务”上出错,请参见以下输出窗口中的输出:

Information: 0x40016042 at build_NAV_sources: The package is attempting to configure from the parent variable "var_actual_timestamp".
.
.--more variables configuration
.
Information: 0x40016042 at build_NAV_sources: The package is attempting to configure from the parent variable "var_table_prefix".
Error: 0xC00220E0 at Execute Package Read Dim norriq data to sources: The connection is not specified.
Error: 0xC0024107 at Execute Package Read Dim norriq data to sources: There were errors during task validation.
Error: 0xC00220E4 at Execute Package build nav sources: Error 0xC0012050 while preparing to load the package. Package failed validation from the ExecutePackage task. The package cannot run.
.
Task failed: Execute Package build nav sources
SSIS package "F:\Workspaces\KPA\TFS\Norriq\BI\SQL 2012\NAV 2015\SSIS\NAV Datamart\build_NAV_datamart_master.dtsx" finished: Success.

When I check the package where it indicates that the connection is not specified I clearly see that there is an connection specified. 当我检查指示未指定连接的软件包时,我清楚地看到有指定的连接。 In my connection manager I see the connection and when I edit this one and check for connectivity everything works fine. 在我的连接管理器中,我看到了连接,当我编辑该连接并检查连接是否正常时,一切正常。

To make it weirder: When I launch the package (build_NAV_sources) seperatly, it executes without any errors or warnings 使其变得奇怪:当我分别启动软件包(build_NAV_sources)时,它执行时没有任何错误或警告

Anyone has a clue on whats happening? 任何人都知道发生了什么事吗?

Thx 谢谢

在不做任何重要更改的情况下,我已经在TFS中签入了我的解决方案,关闭了VS,再次打开该解决方案,并进行了构建/重建,它神奇地工作了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM