Outlook client continually disconnects/connects with Exchange every few seconds

Posted on 2014-01-24
Medium Priority
Last Modified: 2014-08-05
Warning: this will be a fun one I think

 I have a client that uses Exchange 2007 for their mail server.   I have one user that's at the end of a VPN using Outlook 2010.

 Recently, he's getting a situation where he'll contect to Exchange for a few seconds, then get an error, it disconnects, and then reconnects.  This happens during syncing (using cached mode with exchange).

 Looking at the connection status, it's always on the cache and background tasks.  The foreground task never has a problem.

Only error I see in the server event logs is an occasional event that the max number of session objects for MAPI has been reached for this user.  I had upped that to 48, which has helped, but now were right back here a few weeks later.

Nothing's really changed for this user in a couple of years, and his e-mail has worked fine till now.   Three other users in the same office (also on the end of the VPN) have no issues.

 Server is fully patched as is Outlook and the station.   I have already investigated the VPN and network to some degree, and adjusted the MTU to avoid packet fragmentation.

 I believe it's the result of simply a mailbox that has grown too large; current mailbox size is 5.3GB with approx twenty thousand items in it.   But outside of the event log entry on the server, which doesn't match up in frequency with the number of disconnects and re-connects by far, I can't find anythign else wrong.

 Any suggestions on how I might pin this down further?

Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 58
ID: 39806037
BTW, the other error I see on the client side often for him is event 27 "Calendar Folder property is missing"

LVL 63

Assisted Solution

by:Simon Butler (Sembee)
Simon Butler (Sembee) earned 750 total points
ID: 39806126
The MAPI sessions error is a clear sign that the sessions aren't being ended correctly.
Something is interrupting the MAPI traffic. Large mailboxes in cached mode shouldn't be a problem. If you suspect the mailbox might have a problem, simply moving it to a new database will usually correct things.

If other users on the same VPN are working correctly, then it would point at the machine maybe, or the network port. Have you tried changing either? Of course getting a 5gb mailbox in cached mode on a second machine might take a while.

LVL 58
ID: 39806294
<<If other users on the same VPN are working correctly, then it would point at the machine maybe, or the network port. >>

 I've been thinking it was the machine.  I haven't switched ports, but I did disable power management features on the NIC.

 I will investigate the networking on that station further.

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.


Expert Comment

ID: 39811201
Can you check if the outlook client  has "Download Shared Folders" option enabled for cached mode. If so, uncheck and test.
The above could minimise the session objects.

Are there any session limits on the vpn device.
Is it possible to check for RPC Client Access Service errors during that time on the server.
LVL 74

Accepted Solution

Jeffrey Kane - TechSoEasy earned 750 total points
ID: 39811727
That error (Calendar Folder property is missing) is caused by Outlook 2010 SP2.

There is a hotfix package that will resolve it:

I don't know if that is your problem, though -- I would generally NOT configure Outlook to run over the VPN.  Instead, just use Outlook Anywhere:

LVL 58
ID: 39811828

  I reconfigured Outlook on Saturday to force it to use HTTP over TCP/IP; errors went down significantly and the constant disconnect/reconnect stopped.

  That helped as it now isolates the problem a bit more.  Seems as everything is OK with Exchange and the "Calendar Folder property is missing" error is un-related.

  What it leaves me with and points to is a network issue, yet others in the same office are having no issues, nor are any other apps having an issue on this station.  Monitoring the networking shows no real amount of packet loss or fragmentation.  Fundamentally, his network setup seems OK.

 That would narrow it down to something specifically with RPC on this station.  Nothing shows up on the client or on the server side in regards to RCP and I don't know how to troubleshoot RPC calls that are failing.

 I'm going to be on-site in the next few weeks at which point I will remove TCP/IP and re-install.   If that doesn't do it, then just on the off chance it is network related and I'm not catching it, I'll put in a new NIC card and run a new cable (I've already updated the NIC drivers and turned off all the power management features with no change).

LVL 58
ID: 39811842

<<I don't know if that is your problem, though -- I would generally NOT configure Outlook to run over the VPN.  Instead, just use Outlook Anywhere:>>

 Why not?


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question