Article ID: 219425 - Last Review: March 14, 2006 - Revision: 3.1

FIX: DTS Wizard new database causes errors when targer server is SQL Server 6.5

This article was previously published under Q219425
BUG #: 53748 (SQLBUG_70)
Expand all | Collapse all

SYMPTOMS

When the DTS Export Wizard is used to export a database from SQL Server 7.0 to SQL Server 6.5 and the destination database is created from the Choose A Destination dialog box, the transfer fails and a dialog box titled DTS Wizard Error is displayed with the following message:
Must declare variable @dbpath
The size (512) given to the parameter '@dbpath' exceeds the maximum. The largest size allowed is 255.

CAUSE

Data Transformation Services (DTS) incorrectly sends SQL Server 7.0 CREATE DATABASE syntax to SQL Server 6.5.

WORKAROUND

Before invoking DTS to perform a transfer, create the destination database on SQL Server 6.5 using either of the following:
  • The SQL Server 6.5 version of SQL Enterprise Manager.

    -or-
  • The CREATE DATABASE Transact-SQL DDL statement.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 1 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
232570  (http://support.microsoft.com/kb/232570/ ) INF: How to Obtain Service Pack 1 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.

APPLIES TO
  • Microsoft SQL Server 7.0 Standard Edition
  • Microsoft SQL Server 6.5 Standard Edition
Keywords: 
kbbug kbfix KB219425
 

Article Translations

 

Related Support Centers