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

Article translations Article translations
Article ID: 291780 - View products that this article applies to.
This article was previously published under Q291780
BUG #: 351620 (SHILOH_BUGS)
Expand all | Collapse all

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.

Properties

Article ID: 291780 - Last Review: November 6, 2003 - Revision: 3.2
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbbug kbfix kbsqlserv2000sp1fix KB291780

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