Microsoft KB Archive/291780

= FIX: DTS Transfer Objects May Fail if Dependent Objects Are Not in Alphabetical Order =

Article ID: 291780

Article Last Modified on 11/6/2003

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q291780



BUG #: 351620 (SHILOH_BUGS)



SYMPTOMS
The DTS Transfer Manager may fail to transfer all objects if the dependencies do not occur in alphabetical order and you attempt to copy specific objects.

The DTS package reports the following message:

Invalid Object Name



CAUSE
The objects are scripted out in alphabetical order; therefore, not all dependent objects may have been created.



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



WORKAROUND
To work around this problem, enable the Include Dependent Objects property.



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
To reproduce the problem, you can use the following script as an example: CREATE TABLE [dbo].[New_Table] (   [Name] [char] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,    [Age] [decimal](18, 0) NULL , ) ON [PRIMARY] GO

CREATE VIEW E_Main_View AS SELECT * FROM [dbo].[New_Table] GO

CREATE VIEW D_Dependent_View AS SELECT [Name] FROM [dbo].[E_Main_View] During the transfer, if you select to transfer all three objects, DTS fails when trying to transfer D_Dependent_View, with the following message:

Invalid Object Name 'dbo.E_Main_View'

The failure occurs because E_Main_View has not been transferred.

Keywords: kbbug kbfix kbsqlserv2000sp1fix KB291780

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.