Appears when you create a new file library. Upload files and Change permissions, are reported this hresult:0x80131904 error, basic all operations reported the same error, such as:
- Cause of error
In fact, the problem is that theSharePoint configuration file (Sharepoint_config.log) log is too large to occupy the database space and cannot be uploaded
2. Solution:
- Search using SQL Server's administration Tools
To compress the database log, first change the database to simple mode, such as:
Then shrink the database, such as:
After the contraction is complete, change the database schema to: Full mode
- Use the script to shrink, as follows:
--Set to Simple modeALTER DATABASE [database_name] SETRECOVERY Simple;--Shrink the DBDBCCShrinkfile ('Database_log_name',1);--Set Optional Depending on backup method usedALTER DATABASE [database_name] SETRECOVERY Full;--SELECT * from Sys.database_files
Causes and workarounds for errors in the hresult:0x80131904 SharePoint report