FIX: SP2 Regression: DTS Transfer Fails with Access Violation if Destination Server is Unnamed

This article was previously published under Q268413
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 58148 (SQLBUG_70)
A Data Transformation Services (DTS) package that includes a "Transfer SQL Server Objects" task might fail with an access violation if the destination server is unnamed. If the package is run from the Enterprise Manager the following error message occurs:
Need to run the object to perform this operation.
(SQL-DMO) Code execution exception :
If you run the package by using the dtsrun utility, the following error message occurs:
DTSRun OnError: Transfer SQL Server Objects, Error = -2147221499
(80040005) "
This problem only applies to Microsoft SQL Server 7.0 Service Pack 2.
The destination does not have the local server name set correctly.

To verify the server name run the following query from Query Analyzer:
select @@servername				
If the query returns "Null" the local server name is not set correctly.
If the server name exists, but is not identified as the local server, then you must run the following queries to resolve the issue:
sp_dropserver 'servername'gosp_addserver 'servername', local				
If the server name does not exist you must run the following query to resolve the issue:
sp_addserver 'servername', local				
For the name change to become effective, you must stop and restart the SQL Server service.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.
dts transfer exception access violation service pack

Article ID: 268413 - Last Review: 02/28/2014 00:33:20 - Revision: 5.1

Microsoft SQL Server 7.0 Standard Edition, Microsoft SQL Server 7.0 Service Pack 2

  • kbnosurvey kbarchive kbbug kbfix KB268413