"Database could not allocate space for object [TableName] in database [DatabaseName] because the primary filegroup is full" error when logging to SQL Server
When logging to a SQL Server database I get the following error in the event log:
"Database could not allocate space for object [TableName] in database [DatabaseName] because the primary filegroup is full."
Then data stops being logged to my database.
This error occurs when the SQL Database is running out of space. Check 'autogrowth' is enabled for datafiles. This can be found in the properties for each individual database. Also, check if your hard disk has enough space for the datafiles to grow.