Welcome to MSDN Blogs Sign in | Join | Help

News

  • Add to Technorati Favorites
Data file checks and you

When Outlook doesn’t shutdown cleanly, your Outlook Data File (either a .pst or .ost file) can be left in an unverified state that can cause one of the following errors to appear the next time you boot Outlook:

“Outlook cannot open the data file filename until it has been checked for problems.”

“Microsoft Office Outlook’ exited without properly closing your Outlook data file ‘drive:\Users\username\AppData\Local\Microsoft\Outlook\outlook.ost’. ‘Microsoft Office Outlook’ must be restarted. If this error message recurs, contact support for ‘Microsoft Office Outlook’ for assistance.”

“The data file filename was not closed properly’. This file is being checked for problems.”

At this point Outlook needs to perform a reconciliation of the data file, a simple process that ‘cleans up’ the file from an incorrect shutdown. While the verification is happening, you will see a small ‘gear’ icon in the lower-right corner of Outlook:

clip_image002

Again, it’s okay to continue using Outlook as you would normally while this is happening as this reconciliation process happens in the background. When this icon disappears, the .pst file or the .ost file is verified.

clip_image004

If you shutdown Outlook while the gear icon is present, then verification must restart the next time you run Outlook. We recommend that you leave Outlook running until the gear icon disappears before shutting down.

An incorrectly shut down Outlook Data File may occur for one of the following reasons:

  • Another program that is accessing your Outlook Data File doesn’t exit cleanly
  • Antivirus scanning of the file
  • Outlook add-ins
  • Outlook crashing
  • Forced Microsoft Windows shutdown before the Outlook.exe process shuts down completely

If you believe you’re seeing this last issue often and need to shutdown Outlook shortly before shutting down your computer, then it may be better to shut down Windows when the Outlook window is still open instead of shortly afterwards.

Michael Affronti
Outlook Program Manager

Posted: Thursday, May 08, 2008 10:00 PM by outblog

Comments

davidacoder said:

I have a large outlook file (1.5 GB), an up to date computer (dual core, 7200 rpm hard drive etc), no addins to Outlook installed (also no other programs accessing it). Outlook almost NEVER manages to propery shut down, I almost always get the check when I start it again. I do follow all the suggestions you make in this point. I really hope that Outlook 14 completly replaces the storage story to something that works, because the current one simply is an embarassment.

I wonder how common this is. You must have data on that from the customer experience program, right? Mind to let us know? After all, when we voluntarily agree to share the data, you might as well tell us the results, right? :)

# May 8, 2008 5:55 PM

outblog said:

David, when you say it doesn't shut down properly, do you mean that you see the data file check nearly every time you restart Outlook?  Does the check finish before you shut down Outlook?

Also, are you running the latest version of Windows Desktop Search?

# May 9, 2008 2:19 AM

davidacoder said:

Yes, the check finishes before I restart. Latest version of everything: Vista SP1, Outlook 2007 SP1, the WDS version that is included in Vista. Also, when I look around, at friends computer etc, they all seem to have this problem. This is why I wonder what your customer experience data program tells you about this problem... Or does it not collect the necessary data?

# May 9, 2008 3:24 AM

Ian Murphy said:

I see the same problem - though I only have a 900mb ost file. Outlook 2007 takes an age to shut down - several minutes. Outlook 2003 was also slow but 2007 seems to take longer.

I happen to have a laptop with a clean xp install on which I have installed just outlook 2007 (I only use it for remote access and email) - no addins nothing extra. It pretty much always has to repair the db on startup.

It seems a bad idea for the window to disappear before the application has closed - surely it would be better to have outlook display something while it shuts down?

Why does it take *so* long to shut down in any case - close network connections, sync io, close file - is there more to it?

# May 9, 2008 9:56 AM

John said:

I had the same problem until I figured out that Avira anti-virus Professional was causing the problem. I hope this helps.

# May 9, 2008 10:23 AM

Brian Hoyt said:

I want to agree with David here.  I have users running Vista SP1, Outlook 2007 SP1 on Core 2 Duo tablets with 2 GB of RAM.  Those with larger mailboxes see this problem almost every time they open Outlook after a booting up.  They close Outlook before shutting down windows but there is no way (other than watching outlook process in Task Manager) to know when outlook has completely exited.  How can I help the users resolve this?

# May 9, 2008 12:33 PM

Jimmy Bergmark said:

Here is a related tips I found after having this problem.

http://blog.jtbworld.com/2008/04/solution-to-outlookexe-keep-running.html

# May 10, 2008 5:21 PM

DanRidley said:

I also see this happening on every or nearly every Outlook launch for most of the 30 users I support with Outlook 2007 & Exchange 2007.

The Salesforce add-in seems to make it happen on every single launch, but even the users with no add-ins see this check at least a couple times a week. The larger the mailbox, the more frequent the data file checks; users with mailboxes over 1 GB are pretty much assured of a data file check on every launch.

This is particularly frustrating, because for users with large mailboxes it can be devastating to performance for an hour or two. (During the data file check, selecting a folder can hang for 3-4 minutes before the message list appears; with the unstyled title bar and an hourglass. This is on ThinkPads with 2.0-2.2 GHz Core 2 Duos and 3-4 GB of RAM, XP Pro 32-bit.)

# May 12, 2008 8:00 PM

DRappaport said:

I have to agree to the previous posters: Almost every of my customers reports at least from time to time problems with Outlook. Usually Outlook doesn’t close properly but also crashes at runtime can be observed.

The reasons are mainly

- Large OST files (> 1 GB)

- Faulty Outlook plugin

In theory I could tell my customers to uninstall the plugin but in practice they rely on it and have to use it. Therefore I would highly suggest to somehow harden the Outlook plugin API so that these plugins can’t destabilize Outlook in the way seen today.

# May 15, 2008 6:23 PM

Robert said:

There are untold stories of problems Outlook causes with backup programs, notably with online backup services such as Carbonite and Mozy.

Outlook never seems to release the file for backup and even VSS doesn't seem to help here.

I agree with the first post that the way Outlook stores data is simply f*cked and must be changed.

All too often I have problems with the PST files. I've now resorted to running a weekly check on them just to be safe. Every week I find problems, almost always with the main PST file.

# May 17, 2008 12:35 AM

Robert said:

Why are you not authorising all comments to this post?

# May 19, 2008 12:30 AM

Randy said:

My PST file is much smaller that discussed and have similar issues. Office 2007 has been problimatic since I instaled it on my XP-laptop. 40-50% of the time when I start my computer I can not connect to my Business Contact Database or I have messaging that outlook did not shut down properly.

# May 22, 2008 2:29 PM

Rodney said:

I have an HP Pavillion laptop with Intel Core 2 Duo T7700 (2.4 ghz), 4 GB RAM, Vista Home Premium SP1, Office 2007 SP1 and a 198 megabyte Outlook 2007 PST.The only addin I have is the Live Search Maps for Outlook and it has been disabled due to some problem Outlook had with it.

I almost ALWAYS have the "The data file was not closed properly’. This file is being checked for problems" error.

Also, Outlook 2007 takes at least twice as long to start up and shut down as Outlook 2003 did on this machine. I've had no luck fixing either issue yet.

I'm running Symantec Antivirus Corporate 10.2.0.276. Has anyone had any luck with some solution?

# May 23, 2008 2:52 PM

David Shackelford said:

Is there a resource somewhere that deep-dives into what's happening with .ost files and caching, what the sync checking process looks like, etc? I spend a lot of time helping people with .ost issues and it seems like there aren't many resources for knowing what's going on under the hood. If I understood the architecture and the "what gets looked for" stuff, it would make things easier. And I'd rather read something than spend a weekend with filemon/regmon/procmon/etc running to try and figure it out.

# June 11, 2008 12:08 PM

sjmnyc said:

I agree 100% with davidacoder.  This happens 75% of the time ever since I installed Vista and Outlook 2007.  I have all the updates.  I only have Microsoft add-ins.  You would expect that with all the competition brewing out there that the Outlook (and other MS product)teams would be a little more concerned and a little more inclined to use their customer experience data to identify and fix these problems.

# June 20, 2008 3:42 PM

Rick Dafoe said:

I echo David Shackleford's request for a tool that can help to figure out what is going on. I've just spent the entire day investigating this issue for a customer only to find that it seems that it has been happening forever and there does not seem to be any resolution. Unfortunately this response will NOT be acceptable to the customer! We can’t event recommend upgrading from OL2K2 to OL2K7 because it isn't fixed there either. This customer recently migrated from Notes - now they are contemplating migrating back!    

# June 20, 2008 4:22 PM

outblog said:

If you are running into the pop up balloon that indicates Outlook is checking data in the background, then this isn’t an error and it’s completely ignorable. As part of the next service pack we are continuing to investigate and address the issues around this prompt. We’ve heard your feedback about seeing them too often, and we’re working on ways to solve the problem.

The prompts can be caused by a number of different conditions, some internal and some external to Outlook. To reduce the frequencies of the prompts before an update is available, you can consider disabling Outlook integration features in other programs you are using, uninstalling any custom add-ins or solutions that use Outlook data, and making sure you are running the latest Windows Search 4.0 components (http://support.microsoft.com/?kbid=940157). Other programs that terminate while using Outlook data, or that terminate Outlook can cause the prompt to appear as well.

If you or your users are running on Windows Vista and are seeing the prompt after ending their user session (logging off or shutting down), instead of shutting down Outlook and then ending their session, have them leave Outlook open. Windows will shut down Outlook in a smoother fashion without causing the prompt next time Outlook is started.

--Ryan

# June 20, 2008 9:04 PM

jarrod said:

outblog (ryan), I don't think your final answer addresses the real issue.  It doesn't matter when or how we close outlook.  I can close outlook 2 hours before I shut down windows and when I open outlook again the same problem occurs.  In fact, if I just close outlook and open it back up 10 minutes later, i get the same problem.

Again, I have the latest everything on my Vista Ultimate Dell XPS M1530.  4 gigs of ram with a 2.5ghz duo core processor.  It's not our machines that are causing the issue.  And it's not the Windows shutdown either.  Outlook doesn't seem to be able to handle large PST files or Multiple large PST files anymore.

I'm sure that many of us would be willing to allow you to remote into our machines to see the actual issues.

And by the way.  Thanks for having this blog!

# July 9, 2008 10:00 AM

Ulf Holt said:

Had the problem for some time. Solved after deinstalling Google Destop and Google Toolbar.

# July 14, 2008 4:42 PM

Jan said:

I have the same problem.  The data file check runs every time i open outlook 2007 and never completes...even after 12 hours.

# July 26, 2008 12:38 AM

Steve Roth said:

I have all the same problems with Outlook as discribed above.  It does not seem stop Outlook for working, but it is just very annoying and slows Outlook down.  There is definitely a bug in the systems somewhere and I hope you get a fix in a new release.  I have Vista SP1 and Outlook 2007 with SP1 as well.

# July 26, 2008 1:34 PM

Jim said:

I just recently started seeing this error, about two weeks now. Just checked to see what updates were installed recently. Update for Outlook 2007 (KB952142) was installed pn 12 July. Coincidence?

I have not installed the new search 4, not clear how this might affect Outlook.

Also, I note many failed attempts to install update for SQL server 2005 SP2 (KB948109) and when I checked I do not have SQL listed as an installed program. Maybe another clue?

# July 29, 2008 7:47 PM

Ashley said:

After I have responded to a message, I need to go back and close it - I didn't have to do this before, and had a setting I could selct to make it happen.

Can this be done with this version, and where do I find it?

Assistance much appreciated!!!

# July 31, 2008 4:44 PM

outblog said:

Ashley: The option you are looking for is in Tools -> Options -> E-mail Options, check the box that says "Close original message on reply or forward". Outlook will now close the message when you respond to it.

--Ryan

# July 31, 2008 4:51 PM

Julie P said:

I too continually have the problem when opening outlook 2007. Approximatley every other time I open it, it says something along the lines of: a data file did not shut down properly and a few minutes later it says data file check complete. I am NOT that computer literate and even some of the above lingo confuses me. I simply want to know: 1. what the heck have I done to cause this (shutting down in different orders does not seem to help) 2. what do I need to do to fix this and make the problem stop 3. why can not find anything in outlook in reference to this problem that even comes close to figuring out what is going on and how to stop it. I try to solve any problems myself, and for weeks I've tried clicking on the error message, searching under tools, etc.. to find out the problem and I can find nothing. I guess I'm use to programs that when they say there is a problem, you simply click and it takes you to the source of the problem and how to fix it.

# August 2, 2008 10:44 AM

SamK said:

I'm running Vista, Office 2007, all updates and McAfee AntiVirus.  After 18 months of service, Outlook began the "Data File Correction" notice every time Vista is restarted.

I've checked that Outlook is not running as a process before restarting Vista.  Outlook still has a problem.

Disabled McAfee email scanning.  No change.

No Add-ins.

# August 4, 2008 8:08 AM

Joe said:

I have been experiencing similar problems with Outlook 2007 checking disk more or less forever. I've tried the "Shutdown" from Windows prompt (in stead of Outlook) but no success. Each time I start up Outlook my laptop starts checking and thrashing to disk rendering my system unresponsive and virtually unusable.

# August 4, 2008 3:02 PM

Carol said:

I got this error this morning but with a twist... Outlook appears, then the error then outlook immediately shuts down.  I'm running on XP SP2.

I uninstalled and reinstalled Office (5 times now) and every application connected to Outlook (Plaxo, Stamps.com).  I renamed my outlook.pst file to outlook.bad.  I bought a registry cleaner and cleaned the registry.  I no longer get the error message but Outlook still starts and then immediately shuts down.  what else can I nuke?

# August 5, 2008 9:44 PM

DHTS said:

Hi,  i have this problem and found that RSS feeds can cause this problem as well. Dan

# August 6, 2008 6:13 AM

Dave said:

I find that this occurs every single time on my Dell XPS laptop after it comes back from hibernate.  Other than that, it closes properly.

# August 8, 2008 1:16 AM

JP said:

I am having data check problems when upgrading form O2K3 to O2K7.  I can see all of the things in the imported *.pst file (tasks, calendar, notes, e-mail) and can even do a "test account" e-mail that shows complete.  I just can't actually DO anything without the message coming up that it can't see data files that are clearly there. (So I can't send/recv e-mail either) I am guessing from the comments that the "plug in" causing the problem is the synch to my cell phone which is running on Windows Mobile 5 and Microsoft Active Sync 4.2.  This is pretty sad because they are all MS products and shouldn't bork up this process.  I shouldn't have to uninstall all the phone software.

# August 8, 2008 2:07 PM

JGR said:

Removed the RSS feeds and problem disappeared.

# August 9, 2008 10:00 AM

Denise said:

I continue to have the same pop-up when I open Outlook saying outlook.pst cannot be accessed. Data Error (cyclic redunancy error).  I have left my outlook up for over 5 hours this afternoon for the files to be checked and the message is still there.  How long does this process take.  When I first open Outlook, it acts as though it is going to open and will even attempt to download my email from Google, then as soon as I click to open a message the above message is displayed.  The "gear" icon is still showing the the bottom right hand corner of the screen.  Do I need to completely re-install Outlook for my email to work?  THis has been going on for months.  I did not have this problem with my old system which had Windows XP and Office 2003.  My new system has Vista and Office '07.

# August 10, 2008 6:51 PM

Margaret M. said:

We have two computers in Office, Laptop running Vista and desktop running XP Pro. Problem only began occurring within last month. Help! Eset Nod virus current on both.

# August 10, 2008 8:50 PM

outblog said:

Denise: The error you are seeing with Data Error (cyclic redundancy error) is a different problem, indicating that your PST or OST file has become corrupt. You can find more information on repairing the PST file in this KB article: http://support.microsoft.com/kb/287497

# August 11, 2008 2:08 PM
New Comments to this post are disabled
Page view tracker