INF: SQL 6.5 Database Upgrade with a Space in the Path to Master.dat Fails (246181)
The information in this article applies to:
- Microsoft SQL Server 7.0
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q246181
BUG #: 56979 (SQLBUG_70)
SUMMARY
When you attempt to perform a database upgrade with the Upgrade Wizard, the SQL Server Upgrade Script Interpreter screen displays a message box at the point of EXPORT and IMPORT VIA NAMED PIPES titled Informational Files Found. The message box contains the following two files:
EXPORT and IMPORT VIA NAMED PIPES - 003MODEL.ERR
EXPORT and IMPORT VIA NAMED PIPES - 003MODEL.OUT
The contents of the EXPORT and IMPORT VIA NAMED PIPES - 003MODEL.ERR file is as follows:
Export Exit Code: -1 - d:\mssql7\upgrade\export.exe -CodePage 1252
-DeviceType Pipe -AllTables yes -MasterPath C:\MSSQL\test bug
DATA\MASTER.DAT -DatabaseName model -DevicePath \\.\pipe\~cnvpipe0
I do not recognize the option <b>
Usage :
export.exe
-MasterPath _MASTER_DEVICE_PATH_
Import Exit Code: -1 - ~cnvpipe0
Msg 4854, Level 21, State 1, Server LARRYCHE2, Procedure , Line 1
[Microsoft][ODBC SQL Server Driver][SQL Server]****
Time:11-15-1999 10:49:10.558
Error return from function CreateFile
in file CnvPipe.cpp
Line=140
rc=2
Msg=The system cannot find the file specified.
****
The EXPORT and IMPORT VIA NAMED PIPES - 003MODEL.OUT file contains the following:
One Machine Data Transfer...
Export Exit Code: -1 - ~cnvpipe0
Import Exit Code: -1 - ~cnvpipe0
This condition may be caused by the SQL Server 6.5 installation having one or more spaces in the path of the directory to the Master.dat file.
For example: C:\MSSQL\test bug DATA\MASTER.DAT
The following excerpt is from SQL Server 6.5 Books Online:
The default SQL Server 6.5 root directory is C:\MSSQL, although during installation the setup program allows you to change this setting. SQL Server directory names must conform to the FAT 8.3 naming convention, even if the directory is installed on an NTFS volume. Do not use spaces in the directory name.
Modification Type: | Major | Last Reviewed: | 10/17/2003 |
---|
Keywords: | kbinfo kbpending KB246181 |
---|
|