I ran the following command in Management Studio for SQL Server Express 2008R2
DBCC DBREINDEX('PropertyPair', '',90)
I received the following error
Could not allocate space for object 'dbo.SORT temporary run storage: 430271000936448' in database 'mydata' 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.
There is plenty of disk space but the data file is approaching the 10 Gig limit.
After studying This question I tried stopping SQL Server and running defrag. I also rebooted the server, but I still get the error.
If I look at the database properties in Management Studio I see that the size is 9661.19Mb and the space available is 2904.34Mb
If I drop the offending table then I can run DBCC Reindex on the other tables without error.