Exception from hresult: 0 × 80004004 (e_abort) Error

Source: Internet
Author: User
Tags management studio sql server management sql server management studio
1. What is the error?

This is a window error. If C, C # programming or Microsoft related products are used, such errors may occur. For example, use SQL Server or Sharepoint.

2. What is hresult?

HresultIs a simple data type, which is usually used by attributes and ATL as return values. The following table describes different values. The header file winerror. h contains more values.

There are always winerror. H files in Visual Studio (in the path Vc \ platformsdk \ include)

Name Description Value
S_ OK Operation successful Zero X 00000000
E_unexpected Unexpected failure 0x8000ffff
E_notimpl Not Implemented Zero X 80004001
E_outofmemory Failed to allocate the required memory 0x8007000e
E_invalidarg One or more parameters are invalid. Zero X 80070057
E_nointerface This interface is not supported Zero X 80004002
E_pointer Invalid Pointer Zero X 80004003
E_handle Invalid handle Zero X 80070006
E_abort Operation aborted Zero X 80004004
E_fail Unspecified failure Zero X 80004005
E_accessdenied The error message returned when access is rejected. Zero X 80070005

3. Error status and Solution

Status 1: This error occurs on SQL Server because the permission is insufficient.

Add related execution users to DB permissions, and add them to the system admin group if necessary.

Status 2: The transaction log of SQL Server is full. It is solved by truncating the transaction log.

  1. Open SQL Server Management studio and locate the site content dB.
  2. Select the DB and right click to open the backup task.
  3. Select the transaction log to backup, go to options and select the radio button 'truncate log '.
  4. Start the backup.
  5. Done. Transaction log is truncated.

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.