How to Fix Error Code 0x80070021 (Solved)



Updated April 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

Many Windows users encounter the error 0x80070021 when trying to copy a file from one location to another. Other users see this error when they try to host a WCF service in an ASP.NET application. However, in most cases, the problem is reported when users try to manage Outlook data files (.pst and.ost).

Microsoft Outlook 0x80070021 An error usually occurs when you use Outlook Express. This error makes your Outlook inaccessible. Users may find errors such as “the process cannot access the file because another process has locked a part of the file. So before moving on to methods, we should find the reasons for the Outlook 0x80070021 error.

What are the reasons for the error 0x80070021?

There are several reasons for the error 0x80070021 and some of them are:

  • This type of error is usually displayed when MS Outlook was not closed correctly last time.
  • It is possible that Outlook will still run in the background even if it is closed.

If the system is installed with some Outlook-based add-ins. it will continue to run after the Outlook window application closes.

Enabling HTTP activation via.NET Framework 4.5 Advanced Services

Try to unlock the relevant IIS configuration settings (7.5) at the server level as follows:



April 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

download



  1. Open IIS Manager
  2. Select the server from the Connections pane.
  3. Open the configuration editor from the main menu.
  4. From the Sections drop-down list, select the section to unlock, for example system.webServer > defaultPath.
  5. In the right pane, click Unlock Attribute.
  6. Repeat this operation for all other settings that you need to unlock.
  7. Restart IIS (optional) – Select the server in the Connections pane, then click Restart in the Actions pane.

Using System Restore

system restore1

  1. Log in to your system as an administrator.
  2. Click the Start button on the desktop >> Click All Programs >> Windows Accessories >> System Tools >> System Tools >> System Tools >> System Restore.
  3. Now select “Restore my computer at an earlier time”.
  4. Under the option, click on a “Restore Point” in this list, select the last recovery option of the system, and then click Next.
  5. In the confirmation window, click on Next.
  6. Reboot your system when the recovery process is complete.

Manual installation of the ASP.NET Role Service for IIS

a. Open Server Manager > Roles and search for the Web Server Role (IIS). Right-click and select Add Role Services.

b. Locate and highlight the element named ASP.NET in the IIS Role Application Development section.

c. Click Next and Exit to install these components.

Close Outlook with the Task Manager

If you see the error 0x80070021 when you try to copy Outlook data files to another location (USB stick, OneDrive, various hard drives, etc.), it is likely that your operating system will not let you complete the process because the file is still used by Outlook.

This happens because Outlook tends to run in the background even after the traditional shutdown. In most cases, it is reported that older versions of Outlook behave in this way.

https://stackoverflow.com/questions/20048486/http-error-500-19-and-error-code-0x80070021



Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here