Error 1803
Severity Level 17
Message Text
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 accommodate a copy of the model database.
Explanation
This error occurs when there is not enough space on the device to create the tempdb database.
Action
The procedure for handling this error depends on whether the error occurred on a user database or on tempdb.
If the error occurred on a user database
- Create the database on a different disk.
Or
- Delete some files to free space on the disk.
If the error occurred on tempdb
If you moved tempdb from one device back to any default device and you do not 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 free at least 2 MB on the device, or create a new device with at least 2 MB. 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.