You may get the following error sometimes when trying to do something in SharePoint: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))
This is not actually a SharePoint issue but more a SQL issue...usually a result of the transaction log being full or no drive space available to it.
To view the log information use DBCC LOGINFO('[dbName]')
To fix the issue above, use the following code to reduce the size of the transaction log (replacing the items in square brackets with your variables - [dbName]):
go
BACKUP LOG [dbName] TO DISK = N'[driveLetter]:\SQL Backup\[backupName].trn'
WITH NOFORMAT, NOINIT, NAME = N'[dbName]-Transaction Log Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10
GO
DBCC SHRINKFILE (N'[dbLogFileName]' , 0, TRUNCATEONLY)
GO
DBCC LOGINFO('[dbName]')

Comments