Article ID: 268413 - View products that this article applies to.
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:
If you run the package by using the dtsrun utility, the following error message occurs:
Need to run the object to perform this operation.
(SQL-DMO) Code execution exception :
This problem only applies to Microsoft SQL Server 7.0 Service Pack 2.
DTSRun OnError: Transfer SQL Server Objects, Error = -2147221499
The destination does not have the local server name set correctly.
To verify the server name run the following query from Query Analyzer:
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:
If the server name does not exist you must run the following query to resolve the issue:
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:
274799For more information, contact your primary support provider.
(http://support.microsoft.com/kb/274799/ )INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0