Outlook shows this error with the path of the OST file and stops opening the profile. Switch Cached Exchange Mode off and on to test it. Repair the OST file and rename it so Outlook creates a new copy. Create a new profile when the error returns. Recovery software saves mail from a faulty OST file.
Outlook data file cannot be configured is the message that appears at startup with the path of your OST file. Outlook stops opening the profile until you fix the file or the setting behind it.
This guide explains five ways to clear the error and shows how to save your mail from the OST file.
Microsoft publishes the scan steps in its Outlook data file repair article.
What Triggers the Configuration Error?
Microsoft publishes no cause list for this message. Four clues shape the fixes:
- Cached mode. In one Microsoft Q&A thread from 2019 the error appeared only while Cached Exchange Mode was on.
- Thread advice. Office 365 forum support in that thread suggested repairing the OST file with Microsoft's repair article.
- Profiles. Microsoft's article on error 0x8004010F names a corrupted profile as the cause of a different message about an inaccessible data file. Treat it as a related clue.
- Virtual desktops. Citrix article CTX238629 attributes the error on a virtual desktop to corrupt local user profiles.
Forum support also named Microsoft Support and Recovery Assistant as a next step. That poster reported no result and had already tried a new profile with cached mode on.
Which Trigger Fits Your Case?
Match the trigger to a method first:
| Trigger | Test First | Method |
|---|---|---|
| Error appears with cached mode on | Cached Exchange Mode | Method #1 |
| Outlook names the OST file path | Repair the file | Method #2 |
| Repair finds nothing | Rename the file | Method #3 |
| Error returns for the same user | New profile | Method #4 |
| Outlook never opens the file | Recovery software | Method #5 |
5 Ways to Fix Outlook Data File Cannot be Configured
Outlook and Windows steps make up four methods. Software handles the fifth:
| Choice | Addresses | Price |
|---|---|---|
| Cached Mode Test | Mode conflict | Free |
| Repair Tool Scan | File errors | Free |
| OST Renaming | Damaged local copy | Free |
| New Profile | Profile damage | Free |
| Recovery Software | Unreadable file | Trial limit |
Method #1: Disable Cached Exchange Mode and Enable It Again (Free)
In that thread the error appeared only with the mode on. Six steps test it:
- Follow File > Account Settings > Account Settings.
- Select your Exchange account and click Change.
- Clear Use Cached Exchange Mode and click Next.
- Finish the wizard and restart Outlook.
- Check whether Outlook opens the profile.
- Repeat the steps and tick the mode again.
Note: Tick the mode again after the test.
Method #2: Scan the OST Copy With SCANPST (Free)
Office 365 forum support suggested this repair when Outlook data file cannot be configured appears. SCANPST is the Inbox Repair Tool. Follow six steps to scan it:
- Close Outlook.
- Paste
%ProgramFiles(x86)%\Microsoft Office\root\Office16into the File Explorer address bar. - Start SCANPST.EXE and click Browse.
- Select the OST file from the path in the error message.
- Click Start and then Repair.
- Scan again until the tool shows no errors and start Outlook.
Note: Microsoft's repair article lists the Office16 location for Outlook 2016 and 2019 and says repeated scans can be needed.
Method #3: Rename the OST File and Let Outlook Sync a New Copy (Free)
Microsoft states in its repair article that deleting the offline file of an Exchange account makes Outlook create a new one. Renaming is the safer version of that step because you keep the old file. Outlook finds no OST file under the original name and builds a new one. Five steps rename it:
- Close Outlook.
- Paste
%localappdata%\Microsoft\Outlookin the File Explorer address bar. - Rename your account's OST file to end in .old.
- Open Outlook and wait while the new file syncs.
- Check the mail and the calendar.
Note: Items that never synced to the server remain only in the old file. Keep the renamed file until you confirm your mail.
Method #4: Build a Fresh Profile in Control Panel (Free)
Microsoft's article on error 0x8004010F names a corrupted profile as its cause and advises a new profile. Six steps create one:
- Open Control Panel and select Mail.
- Click Show Profiles and then Add.
- Enter any profile name and confirm.
- Add your email account and finish the setup.
- Select Always use this profile and choose the new profile.
- Start Outlook.
Note: In that Microsoft Q&A thread a new profile did not help while cached mode was on. Test Methods #1 to #3 first. Citrix article CTX238629 lists deleting the corrupt local user profile as its fix on a virtual desktop.
Method #5: Export the Mail From a Faulty OST File With EmailDoctor OST File Recovery Tool (Trial Limit Applies)
Try EmailDoctor OST File Recovery Tool if Outlook refuses to open the OST file. Product page says the software handles orphan OST files and corrupt Exchange mailboxes without Outlook.
Add the OST File
Add the file copy with these three steps:
- Open the recovery software and press Add File.
- In the Open window choose the OST copy and press Open.
- Select a scan mode when the software asks for one.
Open the Folders and Export
Three steps export the mail:
- Click a mailbox folder under Folder List and view the preview.
- Press Export and choose the format you need.
- Choose where to save the output and press Export again.
Note: Product page lists a demo limit of 25 items per folder. Test one folder before you buy.
What do Your Results Show?
Compare the outcome before the next fix:
| After Test | Meaning | Next Fix |
|---|---|---|
| Error ends with cached mode off | Mode involved | Tick the mode again and try Method #2 |
| Error ends after the repair | OST file errors | Confirm the mail syncs |
| Error ends after renaming | Damaged local copy | Delete the old file later |
| Error remains for the profile | Profile problem | Method #4 |
| Outlook refuses the file | Unreadable OST file | Method #5 |
Frequently Asked Questions
What Does Outlook Data File Cannot be Configured Mean?
Outlook cannot set up the data file that your profile uses. Outlook shows the OST file path in the message.
Does Cached Exchange Mode Cause This Error?
In one Microsoft Q&A case the error appeared only with the mode on. Microsoft names no cause for the message.
Will Renaming Delete My Mail?
Not for server mail. Exchange accounts download mail again from the server. Items that never synced remain only in the renamed file so keep it.
Can the Inbox Repair Tool Fix the Error?
Not confirmed. Office 365 forum support advised this repair in one thread and it records no result. Scan the file again until it shows no errors.
Does a New Profile End the Error?
Not in one Microsoft Q&A case. Test cached mode and the file first.
Can I Save Mail From the OST File Without Outlook?
Yes with recovery software. Product page says it opens corrupt OST files without Outlook.
How Many Items Does the Demo Export?
Product page lists 25 items per folder for the demo.
Author’s Verdict
Test Cached Exchange Mode first and repair the file next. Rename the OST copy when the scan finds nothing.
Create a new profile when the error returns. Choose recovery software when Outlook never opens the file.
Store a duplicate of the OST file in another folder before any step.
- Test Cached Exchange Mode first.
- Repair or rename the OST file.
- Create a new profile when the error returns.
- Recovery software saves mail from a faulty OST file according to the product page.