![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi there, We don’t know how we ended up with more Tasks then Steps, but when we look in Disconnected Edit we see that that is the case. When we look closely in al the individual Steps we see that some Tasks are never connected to a Step. Is their a way to remove these obsolete Tasks? Annick van den Broek |
#4
| |||
| |||
|
|
Thread-Topic: How to remove obsolete Tasks thread-index: AcRz+eQNrbPBmsJTTTuK0pGWx3JQtQ== X-WBNR-Posting-Host: 212.241.41.253 From: =?Utf-8?B?QW5uaWNr?= <carel (AT) sfbgroep (DOT) nl References: <7AB695C4-D744-488B-9DC8-97D65E9CEA64 (AT) microsoft (DOT) com mTmwwRWcEHA.2924 (AT) cpmsftngxa06 (DOT) phx.gbl Subject: RE: How to remove obsolete Tasks Date: Tue, 27 Jul 2004 09:50:58 -0700 Lines: 14 Message-ID: <69DA9B5A-BE5B-473B-B97D-B0D8A2ECE239 (AT) microsoft (DOT) com MIME-Version: 1.0 Content-Type: text/plain; charset="Utf-8" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft CDO for Windows 2000 Content-Class: urn:content-classes:message Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Newsgroups: microsoft.public.sqlserver.dts NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29 Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl Xref: cpmsftngxa10.phx.gbl microsoft.public.sqlserver.dts:50077 X-Tomcat-NG: microsoft.public.sqlserver.dts Hi, I found how our package obtained more Tasks then Steps in Disconnected Edit. What you do is: 1) Create a Task using the GUI 2) Using Disconnected Edit --> Steps --> DTSStep_DTSDataPumpTask_1 -- change the TaskName to a nonexistent Task 3) Delete the Task/Step using the GUI Result: The Step is deleted but the Task still exists. If I could connect 2 Tasks to 1 Step and then delete the Step using the GUI, I could remove surplus Tasks. Is it possible to connect more then 1 |
|
Thanks, Annick van den Broek |
#5
| |||
| |||
|
|
Hi, I see that you use Disconnected Edit to reproduce the problem. I am afraid that there is not a method to do through Enterprise Manager UI. You may try Farid's programmatic method. When we use Disconnected Edit feature, we need to be very careful. Books Online has cautioned us. Caution Because Disconnected Edit does not validate changes to property values, entering invalid data can result in package failure and unwanted effects on your system. Disconnected Edit is similar to Registry Editor. Both are powerful tools for editing properties directly, and it is recommended that both be used only by advanced users when there are no alternative methods of modifying values. |
![]() |
| Thread Tools | |
| Display Modes | |
| |