Causes and workarounds for the errors of the SharePoint report hresult:0x80131904

Source: Internet
Author: User

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:

    1. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.