What is causing the Error 0x80070021 error?
We investigated this particular issue by analyzing various user reports and the repair strategies that are commonly being used to fix this problem. Based on our investigations, there are several different repair strategies that are known to trigger this error code: If you’re currently struggling to resolve the very same error code, this article is going to provide you with several troubleshooting steps. Down below, you’ll find a collection of methods that other users in a similar situation have also used to either fix or circumvent the problem. If you want to remain as efficient as possible, we advise you to follow the methods in the order that they are presented since they are ordered by efficiency and difficulty. One of them is bound to resolve the issue regardless of the scenario that is applicable.
Method 1: Enabling HTTP Activation from .NET Framework 4.5 Advanced Services (if applicable)
If you get this error message while trying to host a WCF service in an empty ASP.NET application, chances are the error message is appearing because the host computer doesn’t have the HTTP Activation enabled. Several users that encountered the Error 0x80070021 in this particular scenario have reported that the issue was no longer occurring after they enabled the .Net Framework 4.5 Advanced Services using the Windows Features menu. Note: This fix is confirmed to work on both Windows 10 and Windows 7 (as long as the current scenario is applicable). Here’s a quick guide on how to do this: If you’re still encountering the Error 0x80070021 or this scenario was not applicable to your current situation, move down to the next method below.
Method 2: Enabling ASP.NET 4.5, 4.6, 4.7 (if applicable)
If you’re encountering the issue on Windows version older than Windows 10 in conjunction with IIS 8.5 or newer, chances are you will be able to resolve the issue by registering ASP 4.5 ASP 4.6 or ASP 4.7 via the Windows Features screen. Several users for which this scenario have managed solve the Error 0x80070021 indefinitely after following the steps below and restarting their computer. Here’s what you need to do: If the same error code is still occurring or you this method wasn’t applicable, move down to the next method below.
Method 3: Closing Outlook using Task Manager
If you’re seeing the Error 0x80070021 while trying to copy Outlook Data files to a different location (flash drive, OneDrive, different HDD,etc.) chances are the reason why your operating system doesn’t let you complete the process is that the file is still used by Outlook. This happens because Outlook has a tendency to keep running in the background even after it’s being closed conventionally. In most cases, older Outlook versions are reported to behave like that. Note: if you’re using Cloudmark DesktopOne’s spam filter, close the program before attempting the steps below. Here’s a quick on ensuring that the Outlook service is closed:
Method 4: Uninstalling the Search Email Indexer
Another potential culprit that might be causing this issue is a COM Add-In that is known to prevent Outlook from closing down completely. Essentially, it forces Outlook to leave behind a background process even when the main application is closed. This ends up conflicting with certain chores and is known to trigger the 0x80070021 error. Several users struggling to resolve this particular issue have managed to fix it after uninstalling a certain Outlook add-in called Search Email Indexer. But keep in mind that there might be other add-ins that will end up causing the same behavior. Here’s a quick guide on uninstalling Search Email Indexer or a similar add-in:
Method 5: Uninstalling MS Office Communicator (if applicable)
Another possible reason that might trigger the 0x80070021 error is a nearly extinct application called Microsoft Office Communicator. This unified communication client where users could initiate conversations and conduct live videos is no longer supported Microsoft, but some users still have it installed on their PCs. But having this obsolete application on your computer can end up conflicting with newer Office applications, particularly with Microsoft Outlook. Several users that have been encountering this issue have reported that the 0x80070021 error was no longer occurring after they uninstalled MS Office Communicator from their computer. Update: MS Office Communicator’s successor, MS Lync is also known to cause the exact same issue. If you have this application installed uninstall it using the steps below. Here’s a quick guide on how to do this: If the issue is still occurring, move down to the next method below.
Method 6: Booting into Safe Mode
Several affected users that have managed to resolve the 0x80070021 error by booting into Safe Mode. While in Safe Mode, chances are you will be able to move, delete or modify the Outlook Data File without seeing the same error code. Here’s a quick guide on booting your computer into Safe Mode:
FIX: Windows Defender Error The service couldn’t be started Error code:…How to Fix PlayStation “An Error Has Occurred” (no error code)?Fix: Error 1310 Error Writing to FileFix: DirectX Setup Error ‘An internal error has occurred’ in Origin