FIX: A DTS package that uses global variables ignores an error message raised by RAISERROR

Article translations Article translations
Article ID: 815115 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 364150 (SHILOH_BUGS)
Expand all | Collapse all

On This Page

SYMPTOMS

If all of the following are true, a Data Transformation Services (DTS) package may incorrectly report that it ran successfully:
  • It uses an Execute SQL task.
  • It uses Microsoft OLE DB Provider for SQL Server for making a connection to the data source.
  • It uses global variables.
  • The Execute SQL task invokes a stored procedure or a batch that uses a RAISERROR statement to raise user-defined errors.
The package ignores the errors initiated by the RAISERROR statement. Therefore, it incorrectly reports a success when it should report a failure, with the appropriate user-defined error message.

RESOLUTION

Service pack information

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

Hotfix information

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version        Size             File name
   --------------------------------------------------------------
   22-Feb-2003  01:51  2000.80.775.0  1,905,216 bytes  Dtspkg.dll
Note Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Microsoft SQL Server 2000 Service Pack 4.

MORE INFORMATION

This hotfix is also available in the MS03-031 security patch. For more information about the MS03-031 security patch, click the following article number to view the article in the Microsoft Knowledge Base:
821277 MS03-031: Security patch for SQL Server 2000 Service Pack 3

Properties

Article ID: 815115 - Last Review: February 27, 2014 - Revision: 7.3
APPLIES TO
  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2000 Personal Edition
  • Microsoft SQL Server 2000 Desktop Engine (Windows)
  • Microsoft SQL Server 2000 Enterprise Edition 64-bit
Keywords: 
kbnosurvey kbarchive kbhotfixserver kbqfe kbqfe kbsqlserv2000presp4fix kbfix kbbug KB815115

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com