SQL Server version - 9.0.4266.We have database which has 34 data files 8GB each. When the last file was half full I tried to add new database file and get and error:Msg 1105, Level 17, State 2, Line 8Could not allocate space for object 'dbo.tst_Large' in database 'TestAddFile' 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.Maximum number of data files for the database is 32,767. I tried to add 35th file. We did not have this problem before we needed 35th file (I was able to add data files).Workaround:1) Enable file growth for the first data file2) Add new file3) Disable file growth for the first data file
Version
Category
Operating System
Platform