Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.45 KB

File metadata and controls

34 lines (29 loc) · 1.45 KB
title MSSQLSERVER_1803 | Microsoft Docs
ms.custom
ms.date 04/04/2017
ms.prod sql
ms.reviewer
ms.technology supportability
ms.topic language-reference
helpviewer_keywords
1803 (Database Engine error)
ms.assetid d4315390-82f1-4c4c-8d1b-1a4989537cca
author MashaMSFT
ms.author mathoma

MSSQLSERVER_1803

[!INCLUDEappliesto-ss-xxxx-xxxx-xxx-md]

Details

Product Name SQL Server
Event ID 1803
Event Source MSSQLSERVER
Component SQLEngine
Symbolic Name NO_SPACE
Message Text CREATE DATABASE failed. Primary file must be at least %d MB to accommodate a copy of the model database.

Explanation

[!INCLUDEssNoVersion] creates a database by making a copy of the model database. Then [!INCLUDEssNoVersion] 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.

User Action

Create the database by using a larger database file size. Then shrink the database if you want by using [!INCLUDEssManStudioFull], or the DBCC SHRINKDATABASE statement.