You see Outlook error 0x80040119 when trying to send, receive, or open emails. This error means your Outlook Data File, which stores all your emails and calendar items, is damaged. The file corruption prevents Outlook from reading your messages correctly. This article explains why the PST or OST file gets corrupted and provides steps to repair it.
Key Takeaways: Fixing Outlook Data File Corruption
- Inbox Repair Tool (Scanpst.exe): Microsoft’s built-in utility scans and repairs most corruption in PST and OST data files.
- File > Account Settings > Data Files: Use this menu to locate the exact path of your corrupted Outlook Data File for repair.
- New Outlook Profile: Creating a fresh mail profile in Control Panel isolates the problem if the data file itself is unrecoverable.
Why Outlook Data Files Become Corrupted
Outlook error 0x80040119 is a data access failure. It occurs when the structure of your PST or OST file is broken. A PST file is used for POP, IMAP, and some older Exchange accounts to store data locally. An OST file is an offline copy used with a Microsoft 365 or Exchange account in Cached Exchange Mode.
Corruption typically happens due to sudden interruptions. Examples include a power loss while Outlook is running, a Windows crash, or closing Outlook improperly. Large file sizes, often over 10 GB for PST files or 50 GB for OST files, also increase the risk of corruption. Antivirus software that directly scans these live data files can sometimes damage them as well.
PST vs OST File Corruption
The fix differs slightly based on the file type. A corrupted PST file must be repaired directly. A corrupted OST file can often be resolved by deleting it, as Outlook will automatically synchronize a fresh copy from the mail server. However, if you are working offline, repairing the OST is necessary to recover unsent items.
Steps to Repair a Corrupted Outlook Data File
First, close Outlook completely. Check the Task Manager to ensure the process outlook.exe is not running. Then, find the location of your data file.
- Locate Your Data File
Open the Control Panel and go to Mail > Show Profiles. Select your profile and click Properties. Then, click Data Files. The file path listed is your primary data store. Note this location. - Find and Run the Inbox Repair Tool
The tool, Scanpst.exe, is installed with Outlook. Search for it using the Windows Start menu. Run the tool as an administrator. In the window, click Browse to navigate to the data file path you noted. Select the file and click Start. - Begin the Scan and Repair
The tool will analyze the file. If errors are found, click Repair. The process may take a long time for large files. When finished, the tool will show a summary. Click OK to close it. - Reopen Outlook
Launch Outlook. Your repaired data file should open. Check your inbox and sent items to verify the error is gone. The tool creates a backup of the original corrupted file, usually named with a .bak extension, in the same folder.
Alternative Method: Create a New Outlook Profile
If the Inbox Repair Tool fails, the corruption may be too severe. Creating a new mail profile is often a faster solution, especially for Exchange or Microsoft 365 accounts using an OST file.
- Open Mail Setup in Control Panel
Close Outlook. Open Control Panel and go to Mail > Show Profiles. Click Add. - Set Up a New Profile
Type a name for the new profile, like “OutlookNew”. Follow the prompts to re-add your email account with your password. - Set the New Profile as Default
Back in the Mail setup window, select “Prompt for a profile to be used” if you want to choose, or select your new profile and click “Set as Default” to use it automatically. Click Apply, then OK. - Test the New Profile
Open Outlook. If you set a default, it will open with the new profile. Your old data will sync fresh from the server. Your old profile and its corrupted data file remain untouched.
If the Standard Repair Does Not Work
“Scanpst.exe encountered an error” Message
This means the file is severely damaged. Try running the Inbox Repair Tool from the Outlook installation folder, typically C:\Program Files\Microsoft Office\root\Office16. Run it directly as an administrator. If it still fails, your only option is to restore from a backup or use the new profile method and rely on server data.
Error Persists After Creating a New Profile
If error 0x80040119 appears even in a brand-new profile, the issue may be with Windows file permissions or a damaged Outlook installation. Run Outlook in Safe Mode by holding Ctrl while clicking the Outlook icon. If the error disappears in Safe Mode, a conflicting add-in is likely the cause. Disable add-ins via File > Options > Add-ins.
Outlook Cannot Open the Default Data File
Sometimes the file association in the profile is broken. In Control Panel > Mail > Show Profiles, select your old profile and click Properties. Then click Data Files. If the file path shows an error, remove the account and re-add it to the profile, or simply delete the old profile entirely after confirming your data is safe elsewhere.
Repair Methods for PST vs OST Files
| Item | PST File (POP/IMAP/Local Copy) | OST File (Exchange/Microsoft 365 Cache) |
|---|---|---|
| Primary Repair Method | Run Inbox Repair Tool (Scanpst.exe) | Delete the OST file and let Outlook sync a new one |
| Data Source After Fix | Repaired local file; no server sync | Fresh download from mail server |
| Risk of Data Loss | Higher; only local copy exists | Lower; server is primary storage |
| Best for Large Files | Use Archive feature to split data | Adjust Cached Exchange Mode slider to sync less mail |
You can now recover from Outlook error 0x80040119 by repairing the data file or creating a new profile. Use the Inbox Repair Tool for PST files and consider a fresh OST sync for Exchange accounts. For advanced data management, regularly use the Archive feature in Outlook to move old items to a separate PST file, keeping your primary data file small and less prone to corruption.