FIX: DTS Package Reports Success When FTP Task Doesn't Transfer All Files (288188)



The information in this article applies to:

  • Microsoft SQL Server 2000 (all editions)

This article was previously published under Q288188
BUG #: 351406 (SHILOH_BUGS)

SYMPTOMS

If the FTP task step of a Data Transformation Services (DTS) package is disturbed by a network error, the process may discard the partially downloaded file, continue execution to completion, and report that it "successfully completed execution of package". Because no error is logged in the package error log, the operator may be unaware that files are missing.

CAUSE

DTS responds inappropriately to the operating system's status callback.

RESOLUTION

To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack

STATUS

Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.

MORE INFORMATION

The corrected behavior is that the DTS package completes execution and displays a package error window with the following message:
Package failed because step % failed".
Note that the fix does not attempt to transfer files again; in the event of a network error, you may still find files missing.

Steps to Reproduce

To reproduce this error, follow these steps:
  1. Set up an FTP site on a Windows 2000 server allowing anonymous access. Place some files in the home directory, with a total size of about 70 MB.
  2. From the SQL Server 2000 server, create a DTS package that downloads the files from the FTP server's FTP site to the SQL Server's local drive by means of an FTP task.
  3. Execute the package from the Design window. During execution, disconnect the network by pulling off the network cable. Wait about five seconds and then reconnect the cable. The package completes execution, showing "successfully completed execution of package". No error is logged in the package error log.
  4. When you check the local drive, some files have not been downloaded.

Modification Type:MajorLast Reviewed:11/6/2003
Keywords:kbBug kbfix kbSQLServ2000sp1fix KB288188