Welcome to Office and SharePoint Pro Sign in | Join | Help
in Search

SUBSCRIBE to Windows IT Pro Magazine & SAVE 30%      FREE Email Newsletters Vista UPDATE, Windows IT Pro UPDATE & More

Dan Holme's Office and SharePoint Pro Perspectives

Troubleshooting Outlook Error: "A data file did not close properly"

Recently, I upgraded to a brand, spanking-new Dell Latitude D830 (a fantastic machine thus far, by the way!).  It came preloaded with applications, as vendors tended to do until Dell (in early July) announced its Vostro line, which enables you to "opt out" of all that garbage.  Anyway, the D830 came preloaded with applications (all of which I like) including Google Desktop, which I'd not used since upgrading to Vista Beta 1 with the integrated Windows Desktop Search.

I installed OUTLOOK 2007 (and the rest of Office 2007) on my laptop and immediately began getting error messages on Outlook startup: "Microsoft Office Outlook; A data file did not close properly the last time it was used and is being checked for problems. Performance might be affected while the check is in progress."  It happened every time, or almost every time, I started Outlook.  I was concerned about possible corruption to my mail, of course, so I began troubleshooting.  I've fixed these erros before, but this experience reminded me that it would be worth documenting for you, the Microsoft Office community. 

 So here's the bottom line: GOOGLE DESKTOP OUTLOOK TOOLBAR (GDOT).  Disabling it, restarting Outlook (several times) and reenabling it fixed it.

Here are the details:

IT IS ALMOST ALWAYS GOING TO BE AN ADD-IN THAT GIVES YOU THIS PROBLEM

As you close Outlook, add-ins don't always gracefully "let go" of the data files.

The first step in troubleshooting this error is make sure OUTLOOK itself is closing properly.  If it's not, then Outlook is the culprit.  Open Outllok then open Task Manager (CTRL+SHIFT+ESC) and click the PROCESSES tab.  Look for outlook.exe.  Exit Outlook and watch that the process does, in fact, disappear.  Then re-open Outlook.  Do you get the "Data file" error?  If you get the error, and outlook DID close completely, that's a sign that it's likely an addin.

Next, open Outlook 2007 and go to Addins:

  1. Choose Tools > Trust Center
  2. In the drop-down list at the bottom of the dialog box, choose COM Addins and click the Go button.

Test your add-ins one at a time (I recommend GDOT first, since that was the culprit in this example). Disable one.  Exit Outlook (making sure the process is cleared in Task Manager).  Reopen.  If you still get the error, reenable that addin and disable another.  Repeat until you find the offending addin.

In my case, it was GOOGLE DESKTOP OUTLOOK TOOLBAR.  Interestingly, it appears that just by disabling it (which stopped the error!) then re-enabling it later fixed the problem.

That reminded me about what is different about this computer versus my previous build.  First, my previous build didn't have GDOT (sign #1) and the previous build worked perfectly.  Second, this computer had GDOT installed FIRST, THEN Outlook 2007 was installed.  Perhaps that is a clue.  Especially since disabling, restarting Outlook, then reenabling seems to have fixed it.

That leads me to another lesson I've learned: Always install MS Office early in your "build" so that Add-ins are added and are added correctly.  Lots of applications hook into Outlook and other Office apps: Adobe Acrobat, Mind Manager, Snag-It, Camtasia, Google Desktop Search, and so many others.  I've run into several situations where removing apps that "hook in" to Office, then re-installiing them, fixed the problem.

A bit more detail, in case it helps you.  My full experience in this particular troubleshooting exercise, in detail, was:

  1. Disable GDOT
  2. Exit Outlook
  3. Restart
    • No Error
  4. Exit Outlook
  5. Restart
    • Got a warning that "Outlook encountered problems with GDOT. Do you want to disable the Addin?"  Interesting... I HAD disabled it!... but I clicked YES to disable it.  Figured if Outlook still thought it was having issues, I should agree with Outlook.  Glad I did.
  6. Outlook continued starting
    • No Error
  7. Exit Outlook
  8. Restart
    • No problem
  9. Reenable GDOT
  10. Exit Outlook
  11. Restart.
    • No problem.  seems to be fixed!

Hope this helps some folks!!

Published Friday, July 20, 2007 1:30 PM by danholme

Comments

No Comments
Anonymous comments are disabled

About danholme

A graduate of Yale University and Thunderbird, Dan has spent over a decade as a consultant and trainer, delivering solutions to tens of thousands of IT professionals from the most prestigious organizations and corporations around the world. He has recently supported Microsoft technologies design and implementation at enterprises such as Raytheon, ABN AMRO, Johnson & Johnson, and General Electric. He was also the Windows Technologies Consultant for NBC during the Torino Winter Olympics, and is helping NBC to prepare for the Beijing games in 2008. Dan’s company, Intelliem, specializes in boosting the productivity of IT professionals and end users by creating advanced, customized solutions that integrate clients’ specific design and configuration into productivity-focused training and knowledge management services. Dan is also a contributing editor for Windows IT Pro magazine, a Microsoft MVP (Windows Server & Directory Services) and is currently penning his third book, to be released later this year by Microsoft Press.

This Blog

Syndication

Tags







SPONSORED LINKS FEATURED LINKS

Extend SharePoint to the ExtranetView this web seminar to learn how SharePoint administrators can improve partnering and collaboration effectiveness. Order Your Fundamentals CD Today!Get up to speed quickly and learn how to uncover rich information management capabilities with this free SharePoint CD. Keep Project Teams on TrackProtect you project team productivity by keeping SharePoint running. Download this white paper to learn about Continuous Data Protection for SharePoint. Leverage Hosted Exchange and SharePoint See how a business of any size can strategically acquire the messaging and collaboration infrastructure of a Fortune 50 enterprise. Top Factors in a Successful Disaster Recovery PlanAre you gambling with disaster? Chances are, you won't ever experience a Level Four disaster, but even the smaller-scale disasters can paralyze business operations unless you've developed a plan for rapidly restoring IT services. The Essential Guide to Fax Server SoftwareThis fundamentals eBook will introduce you to the IT benefits of fax servers. Learn how you can better serve your company’s customers while still implementing a solution that is easy to support, secure, and integrate. Maximize your SharePoint InvestmentLive, in-person training on how to architect and administer the optimal SharePoint infrastructure. Take advantage of Early Bird pricing - $99! Find a new job on the all new IT Job Hound!Search jobs, post your resume, and set up job e-mail alerts! Get Specialized SharePoint Training!SharePoint MVPs Dan Holme, Michael Noel, and Andrew Connell share their perspective and expertise in these exclusive eLearning seminars. One Event for developers and one for IT pros. Choose the one that fits your needs! Top 5 SharePoint Migration StrategiesAchieve stress-free content and user migration to an online collaboration platform! View this on-demand seminar to learn how. Access Expert SharePoint Solutions for only $5.95!With the online Monthly Pass, you can have all the SharePoint solutions in Windows IT Pro right at your fingertips, including access to the more than 10,000 articles in our content archives! You'll also receive a full digital copy of the latest issue of W Leverage Your SharePoint InvestmentAre you losing productivity or profit due to poor document management processes? View this seminar to learn how MOSS can help.