Table of Contents
Many people want to know more about how to Fix ‘Outlook Data File Cannot Be Accessed’ issue. When an Exchange or IMAP email account is set up in MS Outlook, a local file called an Offline Storage File (OST) is created. In the same way, when you add a POP account to Outlook, a Personal Storage Table (PST) file is made. The email server stores a copy of all the information in your mailbox in these Outlook data files (OST and PST). In a nutshell, an OST or PST file is a copy of the user’s mailbox because it stores all mailbox items locally, like emails, attachments, contacts, notes, calendar items, etc.
Even if the system is offline or the Exchange server is down for maintenance or technical problems, users can still use Outlook. In this case, users can keep using Outlook without being stopped. Also, any changes they make to the account or emails they send from Outlook are saved locally in the OST file and synchronized with the mailbox on the server when the system connects to the Exchange server or the server comes online.
When users try to access their mailbox data through the Outlook data file, they could run into problems. There could be a problem with the OST or PST file or Outlook and the email server might not be in sync. Most of the time, problems with the OST or PST file are to blame for access and send/receive errors in the mailbox. We mentioned below are the ways to Fix ‘Outlook Data File Cannot Be Accessed’ issue. If you want to know more information about this Visit Official Microsoft Outlook Support site.
Perform a Clean Boot of the System
Outlook might show the message “data file cannot be accessed” if another program or service on the system is blocking Outlook from getting to its data file. In this case, a clean boot of the system might stop the application or service that is causing the problem from starting, which could fix the problem.
- Start by giving your PC a clean boot.
- During the clean boot process, make sure to turn off OneDrive and any services it uses.
- This is because OneDrive is known to mess up Outlook data files.
- Once you’re done, open Outlook and see if the Outlook data file accessed problem is fixed.
Repair the Office Installation
- Restart your PC.
- Ensure no MS Office processes are running in Task Manager.
- Right-click on Windows.
- Choose Apps & Features.
- Expand Microsoft Office installation.
- Click the Modify button.
- In the menu that appears, click on Quick Repair.
- Click on Repair.
- Wait for the repair process to complete.
- Check if the Outlook problem is fixed.
- If not, repeat steps 1 and 2.
- Open the Office Repair menu again.
- Choose Online Repair.
- Ensure the system is connected to the Internet.
- Note that this may use a lot of data (around 3GB).
- Wait for the online repair process to complete.
- Check if the Outlook data file problem is fixed.
Disable Exchange Cached Mode of Outlook
If the related Outlook account is used in Exchange cached mode, then the “Outlook data file cannot be accessed” error could be caused by corrupted cached data. In this case, you can fix the “Outlook data file cannot be accessed” error by turning off the Exchange Cached Mode in Outlook.
- Close Outlook, and then use the system’s Task Manager to end all of its related processes.
- Now, click on Windows, look for the Control Panel, and open it.
- Then, choose Large Icons from the View drop-down menu and open either Mail or Mail (32-bit). Click on Email Accounts after that.
- Now, on the Email tab, choose the email account that’s giving you trouble and click Change.
- Then, open More Settings near the right bottom of the window shown and go to the Advanced tab.
- Now uncheck “Download Shared Folders” and click “Apply” to save the changes.
- Then open Outlook and make sure it works well.
- If not, go to the Email account’s More Settings > Advanced tab (repeat steps 1–5) and uncheck Use Cached Exchange Mode.
- Then, save the changes and open Outlook to see if the problem with the data file not being accessible has been fixed.
Perform an Inbox Repair by Using the ScanPST Utility
Outlook’s problem with accessing the data file could be caused by a broken data file. If the data file is in the PST format, running an Inbox Repair with the ScanPST utility may fix the problem.
- Make sure that the system allows you to see hidden and protected operating system files.
- Close Outlook and make sure that all of its processes in the Task Manager are closed.
- Right-click on Windows and choose “Run.”
- Go to the following path according to the Office installation:
- For Office 64-bit, go to Program Files\Microsoft Office\root\Office16.
- For Office 32-bit, go to Program Files (x86)\Microsoft Office\root\Office16.
- Find ScanPST.exe and right-click on it.
- Click “Run as Administrator,” and in the Inbox Repair Tool, click “Browse” to find the PST file’s location.
- Click “Start,” and wait for the process to finish. Depending on how big the PST file is, this could take a while.
- If you get the “PST file is in use” error, do a “clean boot,” and then try the steps above again.
- Turn off Outlook Sync on a mobile phone, like an iPhone, or turn off the phone altogether, and then try to use the ScanPST utility again.
- Once you’re done, open Outlook and check if the problem with the data file has been fixed.
Launch Outlook as Administrator
If Outlook doesn’t have permission to access the directory where the Outlook data file is stored as an administrator, it might not be able to access the file. In this case, the problem might be fixed by running Outlook as an administrator. But it’s important to know that when Outlook is started in administrator mode, some features, like the search function, might not work right. Once the Outlook data file has been added successfully, the user can go back to normal mode to use the Outlook client.
- Close Outlook, and in the system’s Task Manager, close all of its related processes.
- Now, click on Windows, look for Outlook, right-click on it, and choose “Run as Administrator“.
- Then, check to see if the problem where the data file can’t be opened has been fixed or if the user can choose the needed Outlook file.
- If that didn’t work, click Windows, look for Command Prompt, right-click on it, and choose Run as Administrator.
- Now, do the following (if the Outlook data file is in PST format; if not, change the extension in the command to match the file):
- icacls *.pst /setintegritylevel m
- If that didn’t work, try turning off UAC (at your own risk) on the computer in question to see if that fixes the problem.
Why does Outlook data file cannot be accessed message appear?
Here are a few reasons why Outlook 2016 gives you the error “Outlook data file cannot be accessed”:
- Corrupt user profile: Most of the time, the error was caused by a corrupt profile, and rebuilding the Outlook profile fixed everything.
- Problems with Microsoft Office: When there are problems with Microsoft Office, they can sometimes cause problems with Outlook and the other programs in the suite.
- The location of the data file has been changed. If you moved the Outlook files or used a tool to move the data while upgrading, the data file is probably not in the default location and can’t be accessed.