CREATE DATABASE failed. Could not allocate enough disk space for a new database on the named disks. Total space allocated must be at least %d MB to a accommodate copy of the model database.
This error occurs when there is not enough space on the device to create the tempdb database.
The procedure for handling this error depends on whether the error occurred on a user database or on tempdb.
Or
If you moved tempdb from one device back to any default device and you don’t have enough space on the device (2 MB), Microsoft® SQL Server™ will attempt to create tempdb on another device. If you do not have a device with at least 2 MB free, SQL Server will not start. Start SQL Server using the -f minimum configuration option.
You can create a new device with at least 2 MB or free at least 2 MB on the device. If you create a new device, make sure it is specified as a default device, as in this example:
sp_diskdefault new_device_name, defaulton
If no default is specified, SQL Server sends an “out of memory” message (you can ignore this message) and then moves tempdb to RAM automatically.
Errors 1000 - 1999 | sqlservr Application |