• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

Unable to Send Email: Outlook data file cannot be accessed (0x8004010F)

Slipstick Systems

› Outlook › Unable to Send Email: Outlook data file cannot be accessed (0x8004010F)

Last reviewed on June 17, 2019     28 Comments

If you are unable to send outgoing email (but incoming email works fine) and you receive an error message that says your 'Outlook data file cannot be accessed' after upgrading either Outlook or Windows it's a sign that your profile is corrupt.

0x8004010F: Outlook data file cannot be accessed

If the text of the message says the operation failed, it could also mean a corrupt profile.

0x8004010F: The operation failed. An object could not be found

If you are using an IMAP account and have contents in folders labels "(This computer only)" export those folders to a new pst before removing the account from your profile.

The recommended fix is to create a new profile, especially if you only have one or two email accounts, in part to prevent problems with the address book. If you have multiple email accounts or just don't want to create a new profile, use the Keep Profile Method instead.

 

Create a New Profile

To create a new profile, close Outlook and open the Control Panel then search for Mail.

  1. Open the Mail applet then click Show Profiles.
    show profiles
  2. Click Add to create a new profile. After the profile is created, you can delete the old one. Does it matter if you delete the old one first? No, not as long as you use a unique new name for the profile.
    add profile first, then delete the old one
  3. Use Auto Account Setup to add the account to your profile.
    use auto account setup
  4. If you are using POP3, after the account is added you'll want to tick the box to Change Account Setup then click Next. This will allow you to use your old pst file.
    change account settings
  5. Select your old pst file then exit the dialogs. (IMAP creates a new data file.)
    Choose the existing pst file
  6. Before closing the Mail dialog (screenshot in step 2), delete the old profile or select the new profile in Always use this profile.
  7. Restart Outlook.

 

Keep Profile Method

If you have a lot of email accounts and don't want to create a new profile, you can try using the following steps. If this doesn't fix the error and messages send, you'll need to create a new profile.

  1. Go to File, Account Settings, Account Settings
    open account settings
  2. Click Change Folder
  3. Click New Outlook Data File and create a data file to use temporarily.
    add a new data file
  4. Enter a name for the data file, such as 'test' or 'delete-me' then click OK.
  5. If the Inbox in the new temporary data file is not selected, expand the subfolders and select Inbox then click OK to close the dialog and return to Account Settings.
    set the delivery location
  6. Click on Change Folder again
  7. Re-select your data file. Expand the subfolders and select Inbox then click OK to close the dialog.
    change the delivery location
  8. Switch to the Data Files tab and remove the temporary pst file from your profile.
    remove the data file
  9. Close the Account Settings dialog.

If this doesn't fix the send error, you'll need to make a new profile. Delete the temporary pst file after closing Outlook.

Unable to Send Email: Outlook data file cannot be accessed (0x8004010F) was last modified: June 17th, 2019 by Diane Poremsky
Post Views: 52

Related Posts:

  • Outlook Errors When You Reply or Create a New Message
  • Add a New Data File (*.pst) to Your Profile
  • Set Another Data File as Default When Using an Exchange Account
  • Common Outlook Outgoing Server (SMTP) Errors

About Diane Poremsky

A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

Comments

  1. john thoren says

    April 14, 2025 at 1:07 am

    Thank you! The keep profile method worked for me and saved me so much time!

    Reply
  2. Yuda says

    May 19, 2024 at 5:51 am

    Using the "Keep Profile" method worked like a charm!
    Two minutes work, and no corruption or lost data.
    Much better than most of the MS support pages.
    Thanks so much!

    Reply
  3. Chris Clarke says

    October 15, 2023 at 9:36 pm

    as per the comment below - excellent

    Reply
  4. J S says

    June 8, 2023 at 7:14 am

    Superb .It really worked .
    I created a folder and all mails were coming in.
    I have been using your website more than 15 years and it really works .
    Keep it up :-)

    Reply
  5. Vincenzo says

    December 8, 2020 at 11:24 am

    Thanks, Diane (as usual).
    Outlook 2019 on a 2 month old computer could not access data files. I created 2 test pst's, switched to them, then switched back. Did the trick!
    I've learned whenever I search Google for an Outlook issue, I put Slipstick in the search to put your solution at the top.
    Vincenzo

    Reply
  6. MarkSz says

    April 25, 2020 at 8:14 am

    Excellent fix, it still helped me in 2020 with Outlook O365 after moving my psts to a different location. On the other hand, it is crazy that MS hasn't fixed this yet. Thank you Diane!
    ps.: as VinceS pointed it out it saves time just to use a random .pst file for selection before reselecting the inbox again instead of creating one. But of course it is helpful for those who doesn't have any .pst file at hand.

    Reply
  7. Nigel Cooke says

    December 18, 2019 at 11:48 am

    This really worked; just chaning the Inbox to another new pst and back again; much better that recreating a new profile.

    Fantastic :-)

    Reply
  8. Lou T says

    October 2, 2019 at 10:35 am

    I'm unable to send email, yes I can receive email.
    I do not get any error messages.
    I tied the above solutions, non worked.
    Built a new profile, changed folder and changed it back.
    still not sending.
    Outlook 2013

    Thanks

    Reply
    • Diane Poremsky says

      October 2, 2019 at 9:39 pm

      So no send/receive error messages? What type of email account do you use?

      Reply
  9. Johns Petrik says

    September 3, 2019 at 3:09 am

    How to Fix ‘Outlook Data File cannot be Accessed’ Error what shulod i have do

    Reply
    • Diane Poremsky says

      September 16, 2019 at 8:47 am

      Reboot to install any updates waiting for a reboot then either make a new profile if that doesn't fix it or rename the data file and let outlook make a new one (if an ost file) . (Don't delete the old profile or ost - wait a few days to see if you are missing calendar and contacts. )

      If a pst file is the problem data file, run scanpst on it.

      Reply
  10. Svein Moen says

    July 15, 2019 at 6:43 am

    Hi, after upgrading Windows to 1903 I cannot send from my Outlook 2016 account, Resceiving is OK, so is the account test messages.
    I have tried to make a new profile bu same result even whit new data file.. Error 0x8004010f when sending.
    What to do?

    Reply
    • Diane Poremsky says

      September 16, 2019 at 8:54 am

      Hmm. That usually means a corrupt data file.

      If you are using a pop account try this: go to File, Account Settings, open the account settings dialog. Select the account then click Change Folder at the bottom. Select a different folder for the delivery location and save then repeat the steps and reselect the inbox.

      If you don't have a change folder button, its an imap or exchange account.

      Reply
  11. Brian Mosher says

    December 11, 2018 at 5:07 pm

    However, this 'Keep Post Method' worked like a breeze. how do i find this article?

    Reply
    • Diane Poremsky says

      December 13, 2018 at 12:04 am

      What article are you looking for? (Or is it a typo).

      Reply
  12. Brian Mosher says

    December 11, 2018 at 5:04 pm

    outlook 2016 - cannot send merge email from my contacts folder. Merge process starts but nothing is sent.

    Reply
  13. Cliff says

    November 22, 2017 at 5:35 am

    We were unable to send and receive email of a couple of accounts in Outlook 2016 after moving the .PST files. We changed location but no avail. However, this 'Keep Post Method' worked like a breeze. Thank you for sharing!

    Reply
  14. Malee says

    September 29, 2017 at 4:09 pm

    Somehow I got lost and I don't know where I am or what to do.

    Reply
    • Diane Poremsky says

      September 29, 2017 at 11:50 pm

      What are you trying to do?

      Reply
  15. Marky Marc says

    August 9, 2017 at 3:15 pm

    Hi there, I followed the advice on the "Keep Profile Method" and it worked exactly as described.

    Reply
  16. Ken Venn says

    March 22, 2017 at 2:04 am

    Hi there, I followed the advice on the "Keep Profile Method" and it worked exactly as described. My pst file was visible, but send and receive could not access the file. I sent you something on Paypal (from South Africa).

    Reply
    • Diane Poremsky says

      March 23, 2017 at 11:21 am

      Thanks! I appreciate it.

      Reply
  17. Jeremy Frost says

    March 14, 2017 at 3:09 pm

    We had moved a data file for a user the other day and she started getting the cannot access data file error. My first step was to run a scanpst, it took several hours and in the log file it repaired many errors (in the 1000s). We still had the same message. I followed the instructions for leaving the profile in place (did not have the end users email credentials), and now all is working.

    Thanks for the GREAT article Diane! Once I found this I was able to fix the issue in less than 15 minutes.

    Reply
  18. Shari says

    March 1, 2017 at 4:53 pm

    Fantastic! Now I'm going to see how to get my Rules working again. Thanks SO MUCH!

    Reply
  19. Tom Scott says

    December 28, 2016 at 5:18 pm

    This worked great. 'Had the same rules issue, but it was still easier than creating a new profile. thanks again for being there.

    Reply
    • Shari says

      March 1, 2017 at 4:56 pm

      I'm checking now to get my Rules working again, now that my emails are sending and receiving. How did you correct the rules issue?

      Reply
  20. VinceS says

    December 14, 2016 at 8:06 pm

    PS: Had to redo Favourites again after this. No problemo and would occur with any solution!

    Reply
  21. VinceS says

    December 14, 2016 at 8:00 pm

    What a beautifully tidy solution this was, thank you Diane. All those Googled results to "make new profile" when this saves the hassle of recreating the 10 email accounts I have. One extra simplification is you can skip the delete-me.pst file creation, all you really have to do is select a different valid folder then reselect the correct Inbox. I used another .pst file I had open but a quick test any other folder in the same file seems to do the trick. I arrived here by relocating the Documents folder to another drive using Windows official Location tab methodology, in preparation for an SSD change. Seems they forgot this bit but at least for Outlook 2016 it was an easy fix. Email started to arrive immediately the settings box was closed after implementing this fix. Thank you again.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 31 Issue 7

Subscribe to Exchange Messaging Outlook






Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Use Classic Outlook, not New Outlook
  • How to Remove the Primary Account from Outlook
  • Reset the New Outlook Profile
  • How to Hide or Delete Outlook's Default Folders
  • Removing Suggested Accounts in New Outlook
  • Disable "Always ask before opening" Dialog
  • Change Outlook's Programmatic Access Options
  • This operation has been cancelled due to restrictions
  • Classic Outlook is NOT Going Away in 2026
  • Understanding Outlook's Calendar patchwork colors
  • Sync Issues and Errors with Gmail and Yahoo accounts
  • Error Opening iCloud Appointments in Classic Outlook
  • Opt out of Microsoft 365 Companion Apps
  • Mail Templates in Outlook for Windows (and Web)
  • Urban legend: Microsoft Deletes Old Outlook.com Messages
  • Buttons in the New Message Notifications
  • Move Deleted Items to Another Folder Automatically
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
  • Google Workspace and Outlook with POP Mail
Ajax spinner

Recent Bugs List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in classic Outlook (Windows).

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

Update history for supported Office versions is at Update history for Office

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Sync Issues and Errors with Gmail and Yahoo accounts

Error Opening iCloud Appointments in Classic Outlook

Opt out of Microsoft 365 Companion Apps

Mail Templates in Outlook for Windows (and Web)

Urban legend: Microsoft Deletes Old Outlook.com Messages

Buttons in the New Message Notifications

Move Deleted Items to Another Folder Automatically

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Google Workspace and Outlook with POP Mail

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2026 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.