How to Fix Error "Could not allocate space for object 'X' in database"?

Error Message

Could not allocate space for object 'dbo.ABC_XYZ_XYZ'.'AB__ABC_XYZ__XYZ' in database 'ABC' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.


Solution

  1. Login to SQL Server Management studio with sa user.

  2. Expand databases tab.

  3. Right click on database in question and click on Properties.

  4. Go to Files tab.

  5. Click on Browse button for Autogrowth option.

  6. Increase size as per your requirement in Maximum file sizeRestrict File Growth option.




  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to install MS SQL Server 2016?

Microsoft® SQL Server® 2016 is the latest version of Microsoft's relational database management...

How to change password for MS SQL admin user?

Following tutorial will guide you to reset the MS SQL server sa user password. We assume that you...

Fix - Microsoft SQL Server, error: 10053 - An established connection was aborted by the software in your host machine

One of our Windows VPS customers received following error while connecting to MS SQL server....

Microsoft SQL Server 2016 Recommendation

The SQL Server 2016 Express is the latest data management system from the Microsoft. Like the...

How to install SQL Server Reporting Service (SSRS) on MSSQL 2014 Express Edition?

SQL Server Reporting Services is used for creating, publishing, and managing reports, and...