Monday, December 22, 2008

Outlook's persistent problem with closing the outlook.exe process

I frequently run into problems where Outlook 2007 is behaving oddly - including not sending mail, not responding to some instructions, using up CPU, etc.

On inspection I often find several instances of the Outlook.exe process running. Terminating them all fixes the problem.

This multiple-instance non-existing process problem is longstanding. It's easy to find reports for Outlook 2000 to 2007. Part of the problem is that Outlook's COM add-in infrastructure smells like raw sewage.

This Slipstick page gives a good overview of known causes and management options: Microsoft Outlook: Outlook.exe won't exit.

Other more or less useful references all illustrate how damned problematic Outlook is:

Using File:Exit rather than Alt-F4 helps some people. Certainly everyone should be very cautious about installing any Add-Ins to Outlook -- not least Add-Ins authored by Microsoft.

Note that many corporate customers cannot turn off antiviral scanning of Outlook, a common problem that I suspect occurs when PST files get large (mine are GBs).

Rumor has it Office 2007 SP2 will fix these problems, but the Outlook shutdown and COM architecture problems have been around for over 9 years. They won't go away easily.

Update 12/23/08: In comments William Lefkovics points us to more optimistic  spin on SP2. Microsoft will cut off dangling references – whether the Add-ins are ready or not.

My cynical suspicion is that Microsoft will find they’re going to kill large pieces of their LiveMeeting/Sharepoint/Communicator platform by doing this. I’m also a bit skeptical of Ryan’s explanation; the problem is not only that the processes hang, it’s that on relaunch Outlook creates a new process rather than reconnecting to the running process.

1 comment:

William Lefkovics said...

I think they will go away easily. The onus is being placed upon add-on developers to manage their code in a different manner, something Microsoft has been reluctant to do in the past, I suspect.