Article ID: 200118 - View products that this article applies to.
This article was previously published under Q200118
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 53486 (SQLBUG_70)
If the database file layout is customized during the upgrade of a database from SQL Server 6.5 to SQL Server 7.0, the following error message may be generated during the Database Creation step of the upgrade:
Create Database Errors Detected
Errors were reported while the databases were being created. How do you want to proceed?
A file named Createdb.sql is generated during the upgrade to create the databases on the import server. Because of a bug in the Upgrade Wizard, ALTER DATABASE commands may be scripted incorrectly.
When the error in the Creating Databases step occurs, click on the View Error File button to view the Createdb.sql script using Notepad. Locate the commands in the script that begin with:
Remove all but the last "TO FILEGROUP [filegroupname]" in the ALTER DATABASE statement.
For example, the incorrectly generated statement will look similar to the following:
The corrected statement should look similar to the following:
After modifying all incorrect ALTER DATABASE commands, save the file and quit Notepad. Select the Stop the Upgrade button, then retry the task with the corrected Createdb.sql file by clicking the Retry Task button. The upgrade process will continue.
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:
232570For more information, contact your primary support provider.
(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
Contact us for more help
Connect with Answer Desk for expert help.