How to Fix Error 0x80040115 in Outlook

Are you trying to send or receive items in your Outlook and do you get the error 0x80040115? Then Outlook is unable to connect to the mail server.

error 0x80040115

The error 0x80040115 is quite common and sometimes resolves itself after a few minutes. But if the problem is persistent or you don’t want to wait a few minutes, we can easily resolve it with the steps below.

Resolve Error 0x80040115 in Outlook

The error 0x80040115 indicates that your Outlook is unable to connect to the server. The most common reason for this is a corrupted DNS cache, which we can easily fix.

Just before we start, make sure that you can actually connect to the internet on the computer. Because without internet connection you can’t reach the mail server either. Also make sure you have enough (more then 1 GB) disk space free on your C: drive.

1. Flush DNS Cache

Flushing the DNS cache is something you can do without any problem on your computer. We only clear the local cache after which your computer automatically will rebuild it.

Flush DNS to solve send receive error
  1. Press Windows key + X (or right-click on the start menu)
  2. Select Windows PowerShell or Command Prompt
  3. Type: ipconfig /flushdns and press enter
  4. Close PowerShell
  5. Restart Outlook and try to send and receive your mail.

For most users, this should resolve the 0x80040115 send and receive error in Outlook. If not, keeping reading for other solutions.

2. Disable Add-Ins

Add-ins in Outlook can cause issue with sending or receiving mail. Before we start with disabling add-ins, we can first test if the add-ins at all are causing the error 0x80040115. To do this we open Outlook in safe mode:

outlook 0x80040115
  1. Press Windows key + R
  2. Type Outlook /safe and press enter
  3. You can choose a profile, just click OK
  4. Try to send and receive mail

If the problem persist, continue to the next step. However if you can send or receive mail with Outlook in safe mode, then we need to check the plugins. Follow the steps below to disable the non Microsoft add-ins.

If you have multiple add-ins, then disable then one at a time and test everytime if you can send or receive mail after restarting Outlook.

Disable addins in outlook
  1. In Outlook click on File
  2. Select Options
  3. Click on Add-ins on the left side
  4. Click on Go… at the bottom of the screen to open the Add-in dialog
  5. Disable the add-ins that don’t start with Microsoft.
  6. Close the dialog and restart Outlook
  7. Test if the error 0x8004115 is resolved.
outlook 80040115

3. Repair corrupte OST file to fix 0x80040115

Outlook stores a local copy of your mail in an OST file. These file can get quite large, espacially if you have a lot of mail or managing multiple mailboxes. When an OST file gets corrupt you won’t be able to receive or sent any new emails.

In most case you can repair the OST file. You can use the built-in repair utility from Microsoft for this. Repairing can take some time tough, up to 30 minutes on large mailboxes.

scanpst to repair ost file
  1. Close Outlook
  2. Navigate to C:\Program Files\Microsoft Office\root\Office 16 or
    C:\Program Files (x86)\Microsoft Office\root\Office16 depening on how you installed Office.
  3. Open SCANPST
fix 0x80040115

If it finds issue with your OST file you will get the option to repair it at the end. Reopen Outlook when the tool is finish and see if the error 0x80040115 is resolved when your send and receive emails.

4. Create a new Outlook Profile

If the problem error 0x80040115 persist and you can access the internet then creating a new Outlook profile can solve the issue. But keep in mind, any email that is still in the Outbox or Concept folder we be lost with this step. You can export these first if you want or save them to Word for example.

  1. Open the Start Menu
  2. Type Control Panel
  3. Select the Control Panel App
fix 0x80040115
  1. Select Mail (Microsoft Outlook) (32-bit). If you don’t see it, make sure you change the view to Small Icon’s in the top right corner
Show control panel
  1. Choose Show Profiles
  2. First add a new Profile – just give it a random name and enter you account details
  3. Change Always use this profile to the new profile
  4. Open Outlook and test if you can send and receive mail
remove mail profiles in OUtlook

We added a new profile and left the old one in place so you can always switch back. If the new profile solved the error 0x80040115, then go back to the mail profiles and remove the old one. This will remove the local copy of the mail from your computer, freeing up space.

In rare cases you may need to remove all old profiles and data first. Just remove the profiles from the Mail dialog and remove all files from the following location:

C:\Users\UserName\AppData\Local\Microsoft\Outlook

Replace Username with your account or use the shortcut: %localappdata% in the addressbar.

Wrapping Up

In most cases flushing the DNS should solve the error 0x80040115 in Outlook. Make sure you restart Outlook after clearing the DNS. If you have Office 365, then as a temporary workaround, you can always access your mail through Outlook Online.

If you have any questions just drop a comment below.

Get more stuff like this

IT, Office365, Smart Home, PowerShell and Blogging Tips

I hate spam to, so you can unsubscribe at any time.

Leave a Comment

0 Shares
Tweet
Pin
Share
Share