Export (0) Print
Expand All
Expand Minimize



Product Name

SQL Server

Event ID


Event Source




Symbolic Name


Message Text

CREATE DATABASE failed. Primary file must be at least %d MB to accommodate a copy of the model database.

SQL Server creates a database by making a copy of the model database. Then SQL Server renames the copy, and enlarges the new database to the requested size. In this case, the user tried to create a database smaller than the model database. The operation failed because the copy of the model database could not fit on the primary data file, because the file was smaller than the model database.

Create the database by using a larger database file size. Then shrink the database if you want by using SQL Server Management Studio, or the DBCC SHRINKDATABASE statement.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft