Connection to Microsoft Exchange has been lost. Outlook will restore the connection when possible

Status
Not open for further replies.
N

net_tech

I didn't have any connection problems until I injected 700MB pst file in to a users mailbox (cached mode)

So here is the scenario:

Server: Windows 2008 x64 with Exchange 2007 Enterprise (Virtual on ESXi Server)
Client Windows Ultimate x86 with Outlook 2007

As soon as I imported the PST file in to outlook I started getting

Event IDs 9646 on the server

Mapi session " /o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=tom" exceeded the maximum of 32 objects of type " session" .

Increasing the limit in the Registry to 512 didn't fix the connection problem, but took care of the event 9646 on the server.

Clearing Download shared folders (excludes mail folders) in outlook on the client pc didn't fix the problem.
Event id 26 gets logged on the client every 10 sec

Connection to Microsoft Exchange has been lost. Outlook will restore the connection when possible.

then

Connection to Microsoft Exchange has been restored.

Client is located at the remote location with a hardware VPN between locations

Symantec EndPoint Protection is installed on the client, but shutting it down does not make any difference.

This is not a network problem, as I can copy 300MB file from the client to the server and back without any problems.

Does anybody have any ideas?
 
A

AndyD_ [MVP]

Does it getter in online mode or if you delete the .ost associated with that outlook profile and let outlook recreate it?
 
N

net_tech

I just open Outlook client, see it connect automatically to the server then Inbox starts its replication I see " Waiting to update Inbox" message at the bottom starts at 2.17Mb (Inbox Folder size) see it go down to 700Kb and then it disconnects then within 10 seconds it reconnects again starts the replication and fails.

It's kind of in a loop

Folder sizes show

Client (786Mb) Server (137Mb)

So the client has to push over 600Mb to the server
 
N

net_tech

If i delete the OST i will lose emails because some of them have not been synced with exchange.
 
A

AndyD_ [MVP]

the .ost is just the cache of the mailbox. Why would you lose mail?

You still have the original pst yes?

( you can always create a new Outlook Profile with a different name as well and leave that profile as is - the .ost is associated with the profile)
 
N

net_tech

something else to add.

Exchange is on the 192.168.10.0 Network
Client is on the 192.168.11.0 Network

Linksys RV082 is on the client side
Linksys RB042 is on the server side
Hardware VPN is established between the routers.

If I try to RDP from ANY client on the 11 network to a 2008 server on the 10 network RDP session terminates within 5 sec (don't remember the error message)
If I try to RDP from ANY client on the 11 network to a 2003 server on the 10 network RDP session will last forever (no problems)

If I forward 3389 to a 2008 server from outside, RDP will last forever. Even tested with a broadband card connected to the same client (laptop) that was on the 11 network.
 
N

net_tech

Yeah I still have the original PST file. This does not look like a profile problem.

Here is what I am gonna try. I will create a new user on the server and login as that user on the client, configure outlook import my PST again.
I am 100% connection issue will start as soon as replication starts.
 
N

net_tech

Inbox had some email in it before i imported the PST, so now it has a mix of old and current emails.
 
N

net_tech

RDP failures had nothing to do with Outlook disconnects.RDP issue was caused by Large Send Offload disabled on the client but enabled on the server.

I am guessing settings have to match?
 
N

net_tech

Got a wireshark trace from the Client.

Looking at the MAPI protocol I see a pattern.

Outlook was started 41 seconds in to the trace. At 45.4 sec I see a client's request for EcDoDisconnect, but no server response. 10 milliseconds later client send another EcDoDisconnect, still unanswered, third EcDoDisconnect goes out unanswered and finally at 47 sec client sends another EcDoDisconnect which gets answered in the next packet by the server.

I guess at this point MAPI session is torn down and the process starts again

Client sends 3 EcDoDisconnect requests at 48 seconds and 4<sup>th</sup> sent and 50 sec gets answered.
 
A

Ajaj Desai MCP

hi,

try to run these following commands on client using cmd

ipconfig /flushdns

and test the domain controller connectivity by using following command

dcdiag (support tools need to be downloaded)

Regards, Ajaj Desai (India)
 
N

net_tech

Exchange is on the same box with DC.

Will run dcdiag, but not sure if this is a troubleshooting step in the right direction.
 
N

Novak Wu

Hi,

Does the issue occur when importing the PST file to another Exchange user on another machine?

Based on my research, I found that there was a familiar issue in the following article and it was resolved successfully. I suggest you refer to the suggestions from the following article to troubleshoot the issue.

http://social.technet.microsoft.com/Forums/en/exchangesvradmin/thread/2a1df30f-b0f2-47d8-980a-5d82f1087d85

http://technet.microsoft.com/en-us/library/bb266970(EXCHG.80).aspx
Hope this helps.Novak Wu
 
N

net_tech

Router"s MTU didn't match, so there was an issue with fragmentation.
Since the issue was on the lower network level (transport), application errors were misleading.
 
N

Novak Wu

Hi,

I would like to confirm whether the issue is resolved now. If not or there is any other problem, please feel free to let me know.

Regards.

Novak Wu
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
R The action cannot be completed. The connection to Microsoft Exchange is unavailable. outlook must be Using Outlook 1
M connection to the microsoft exchange server has been lost. outlook 2007 Exchange Server Administration 0
S Connection to the Microsoft Exchange Server has been lost. Outlook will restore the connection when Using Outlook 2
D when trying to get into outlook error message reads connection to microsoft exchange is unavailable. Using Outlook 4
J Can I use just my Hotmail account with Outlook 2007? "The connection to Microsoft Exchange is unavai Using Outlook 2
J 'Connection to Microsoft Exchange is Unavailable' for new mail account. Only for one account on PC. Using Outlook 1
C connection to microsoft exchange has been restored Exchange Server Administration 3
B The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complet Using Outlook 6
S The action cannot be completed. The Connection to Microsoft Exchange is unavailable. outlook must be Using Outlook 2
L 'The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action.' Using Outlook 8
D The dreaded: 'the connection to microsoft exchange is unavailable' outlook 2007 exchange 2007 Using Outlook 4
J The connection to the Microsoft Server is unavailable. Unable to open your default mail settings...t Using Outlook 1
Q when i try to use outlook i get the message the name connot be resoved. the connection to microsoft Using Outlook 2
A when I start outlook i get a message 'the connection to the microsoft echange is unavailable. outlook must be connected or online to complete thi Using Outlook 4
Y MicroSoft Office Outlook 2003 error message! Your IMAP server has closed the connection. This may oc Using Outlook 2
W Encrypted connection to server refused Using Outlook 0
A Prevent connection to Public Folders on Exchange? Exchange Server Administration 3
D Outlook 2016 IMAP Connection Returns All Email but outlook.com does NOT Using Outlook.com accounts in Outlook 2
O Outlook 2016 0x800CCC0F 'The connection to the server was interrupted' Using Outlook.com accounts in Outlook 1
J Office 365 and Outlook connection issues Using Outlook.com accounts in Outlook 3
M Outlook 2010 Error: Your IMAP server closed the connection Using Outlook.com accounts in Outlook 1
M Outlook Email Connection Error Using Outlook 3
M BCM remote database connection issue BCM (Business Contact Manager) 1
C Last Connection Using Outlook.com accounts in Outlook 1
K Work Email - Calander Connection to Outlook.com Using Outlook 2
E IMAP server closed the connection Using Outlook 2
P Outlook Connection Issues Using Outlook 3
Z connection to Lotus Notes Using Outlook 4
A Exchange 2003 Outlook 2010 64 Bit- AutoDiscover Connection Err - Certificate Exchange Server Administration 9
K Intermittent ability to send to single domain. "Connection refused" Exchange Server Administration 1
N Connection Error Using Outlook 2
E intermittent "Your imap server closed the connection" messages Using Outlook 6
M "No database found" but successful connection to SQL server.What am I missing? BCM (Business Contact Manager) 5
0 Outlook 2010 causes computer to lose connection when opening and Send/Receive Using Outlook.com accounts in Outlook 14
N Outlooking not connecting. Connection present Using Outlook 1
B can not establish BCM 2010 connection to Shared DB on SQL 2008 Express BCM (Business Contact Manager) 4
S Outlook connector, numerous versions, connection issues Using Outlook.com accounts in Outlook 1
T Outlook keep loosing connection to the exchange server Using Outlook 1
T Lose exchange connection, crash Using Outlook 0
T Outlook 2010 encrypted connection type choices, meaning of Auto? Using Outlook 0
O No SSL-IMAP connection Outlook <-> Exchange 2010 after latest client updates? Using Outlook 3
A outlook 2010, windows 7, exchange server: "The action cannot be completed. The connection to Micro Using Outlook 1
J mobile device connection to exchange Exchange Server Administration 4
P Outlook 2010 random status connection changes Using Outlook 1
C Outlook 2010 with BCM - Database Connection problems using Windows 7 Clients Using Outlook 1
R Outlook 2011 - Connection to Exchange Dropping & Sharing Calendar Issues Exchange Server Administration 2
P Internet Connection is working but Outlook will not connect Using Outlook 2
M Users exceeding the MAPI connection limit Using Outlook 5
S Outlook 2007, Exchange 2010, Forefront 2010: When using Outlook over http, it loses its connection t Exchange Server Administration 8
C Outlook connection to Exchange 2010 showing disconnected Exchange Server Administration 6

Similar threads

Top