Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Outlook 2007 under Windows XP connecting to Exchange 2003 SP2: when started, it flips back and forth between "Connecting to Exchange Server" and "Disconnected" three or four times, then gives up and stays disconnected.

I tried deleting the ost file (which was nearly 2GB), turning Cached mode on and off, recreating the account inside the Mail control panel, changing the account to use HTTP, and probably some other things. None of it seemed to make any difference, until …

After fiddling with it for a while, I got this absurd error message dialog at startup, and it exits after I click OK:

Cannot start Microsoft Office Outlook. Cannot open the Outlook window. The set of folders cannot be opened. Microsoft Exchange is not available. Either there are network problems or the Exchange server is down for maintenance.

(I'm not sure if I can even trust that message. It's so long, it just feels like a random offset into Outlook's stack of error messages.)

Either way, the Exchange server is available to everyone else, and is available via OWA from that computer. I ran Process Explorer against Outlook and it showed 5 or so ESTABLISHED connections to our Exchange server, plus listening on two UDP ports, and two CLOSE_WAIT connections to localhost. If I managed to look at Outlook's IP connections while it was doing its Connecting/Disconnected dance, it had a huge number of connections open to the Exchange server. It more than filled ProcExp's dialog box; I'm guessing at least 20, probably more.

The only other odd thing is that our network admin at some point added a wildcard DNS record to the domain name that we use for email, and now Outlook will sometimes (always?) start by complaining about's SSL certificate. There is a web server there, but it doesn't have any sort of email autodiscover anything on it. It doesn't make any difference if I click "OK" or "Cancel" (or whatever the buttons are). I also added a bogus entry for the hostname to Windows' hosts file, pointing it at, and it stopped complaining about the certificate. (The CLOSE_WAIT sockets above were from before I made this change, and went away after.) I don't think this is related, as the same problem should exist for everyone, but it might be.

This is the second time this user has had this problem. The first time, I never found a solution other than reinstalling Outlook. Now that it's a pattern, I'd like to find a permanent solution, rather than assume it's a random glitch.

The user's Outlook started working again, partially, last night while at home connected to the office via VPN. It's unclear how much of the "partially" is due to me screwing around with his account settings. Probably a large portion. That said, once I recreated his account settings properly this morning, he says that a large number of folders were moved around. Honestly, this feels to me like user error, but it might also be a symptom of the problem.

I'll have to come back to this if and when the problem crops up again.

share|improve this question
Have you tried creating a new Outlook profile? – xeon Apr 14 '10 at 22:29
No, I didn't try a whole new profile. That's something to check. – wfaulk Apr 15 '10 at 14:12

Sounds like you may have hit the 32 connections limit with Exchange 2003. We've been battling that for years without a fix for some users. A reboot of the Exchange server will clean up the connections, but I've got no clue what causes it for some users.

share|improve this answer
Do you have a link for this "32 connections limit"? – wfaulk Aug 13 '10 at 19:49
Check the server logs for this: – Tatas Aug 16 '10 at 21:10

Simple..Just open outlook from the 'run' command using the command line 'Outlook.exe /profiles'. The profile screen will come up...go through the advanced options and create new profile ,name it and make it the default option(very imp or u will have the same problem again!) and your outlook will open up. Once there, you can then see your corrupt profile and delete or view it and create new connection settings for your new profile. Had to try lots of stuff before i found this solution. I know how frustrating this can be so good luck guys!Post back if it works for you!

share|improve this answer

Had this problem before and I really had a hard time getting answers for this. I found some simple trick on the net to make it work. Try disable then re-enable your NIC or flushing your dns then registering it again. But this problem will occur again if your restart your pc. I almost lost hope til I had this crazy idea. On your TCP/IP settings, i put the IP of my mailserver to WINS server settings then the problem just went away. I still dont know how did that resolved the problem so I'm still researching to get a clearer answer.

share|improve this answer

I've seen the same things happen when DNS isn't working quite correctly.

Check DNS settings on the client, it should only have internal AD/DNS servers listed. Check on the Exchange server, should be the same (internal DNS servers only). Check the DNS records to be sure that whatever the exchange server's name is (the A record/s) correct, and there are no "extra" entries or anything strange there.

Do you have a WINS server, if so check records in there, make sure they match DNS. Again if you have a WINS server, is WINS-to-DNS configured? And is DNS-to-WINS configured?

share|improve this answer
If and when the problem recurs, I'll definitely check this. – wfaulk Apr 15 '10 at 17:09
Definitely sounds like a DNS problem, especially if it mysteriously started working when the user opened a VPN connection (which would have changed/reset DNS settings). If the problem recurs: can the user nslookup exchange-hostname? What about exchange-hostname.yourdomain? – Skyhawk Jul 19 '10 at 19:59

I'd run a repair on Office. You are getting errors relating to general functionality as well as connection errors.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.