Hi,
I'm trying to upgrade from SQL Server 6.5 to 2000 using
the Upgrade Wizard. Everything runs fine until I hit the
Creating Databases task. I get a popup window saying with
the title "Create Database Errors Detected". The error
says "Errors were reported while the databases were being
created. How do you want to proceed?" My options are View
Error File, Continue With Errors (tried this, didn't
work), and Stop the Upgrade. My createdb.sql file is below
(with shortened file path names). Any ideas what might
cause this, or how to fix it.
-- ********** Statement #3 FAILED **********
CREATE DATABASE [DefectUser] ON
(NAME = [master1Data], FILENAME
= 'c:\..\data\master1.mdf', SIZE = 210608 KB)
LOG ON
(NAME = [master1Log], FILENAME
= 'c:\..\data\master1.ldf', SIZE = 1409024 KB)
GO
/******
MESSAGE: Microsoft SQL-DMO (ODBC SQLState: 42000)
DESCRIPTION: [Microsoft][ODBC SQL Server Driver][SQL
Server]Cannot create file 'c:\..\data\master1.mdf' because
it already exists.
[Microsoft][ODBC SQL Server Driver][SQL Server]CREATE
DATABASE failed. Some file names listed could not be
created. Check previous errors.
sysmessages error: '5170', SCODE_SEVERITY: '1'
******/
-- ********** Statement #4 FAILED **********
sp_dbcmptlevel [DefectUser], 65
GO
/******
MESSAGE: Microsoft SQL-DMO (ODBC SQLState: 42000)
DESCRIPTION: [Microsoft][ODBC SQL Server Driver][SQL
Server]The database 'DefectUser' does not exist. Use
sp_helpdb to show available databases.
sysmessages error: '15010', SCODE_SEVERITY: '1'
******/
I verified before running the upgrade that the
master1.mdf file didn't already exist.
Thanks,
Tom