简体   繁体   中英

SSIS - Execute task works quickly but execute package works as lifelong

I installed the most recent version of visual studio and SSDT (so all settings are default) and I created a simple package which works completely fine in less than two seconds when I execute it by right click and then press "execute task".

However when I right-click on package and then press "execute package" it takes more than three minutes and in progress no error.

How can I resolve this problem? i also cannot connect my SSIS when i open it "Run As Administrator". Both SSMS and SQL Server are 17 and on the same machine.

SSIS usually takes a bit longer than 1 sec to run a package as it has to do a full validation phase first.

Also -You might have multiple tasks in your package (not necessarily connected)... When you "execute package" - all tasks are ran but when you "execute task" then only the selected task is being ran.

I would not worry too much about this warning message. It is not strictly related to your issue as I have seen it lots of times and usually just filter it out as it only appears via VS. You can demonstrate this by opening up a cmd shell and running the package via DTEXEC.exe. EG:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional>dtexec.exe
Microsoft (R) SQL Server Execute Package Utility
Version 12.0.4100.1 for 64-bit
Copyright (C) Microsoft Corporation. All rights reserved.

pass in your saved ssis package and you will see the output of the package execution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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