FIX: DTS Wizard New Database Causes Errors When Target Server Is SQL Server 6.5

ID: Q219425


The information in this article applies to:
  • Microsoft SQL Server version 7.0

BUG #: 53748 (SQLBUG_70)

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 version 7.0. This problem has been corrected in U.S. Service Pack 1 for Microsoft SQL Server version 7.0. For information about downloading and installing the latest SQL Server Service Pack, see http://support.microsoft.com/support/sql/.

For more information, contact your primary support provider.

Additional query words:

Keywords : kbbug7.00
Version : winnt:7.0
Platform : winnt
Issue type : kbbug


Last Reviewed: November 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.