Solved

Exchange 2003 RPC over HTTP Disconnection- ValidPorts entries disappear

Posted on 2004-08-11
7
741 Views
Last Modified: 2012-05-05
Hello,

I have setup Exchange 2003 for RPC over HTTPS. It connects fine and stays connected for a while, then it will disconnect and not reconnect. When I look on the proxy server, the "ValidPorts" in the register is cleared. I re-enter the setting in the register, then Outlook can connect. Then the disconnection starts all over again.

This happens periodically. I don't see anything in the logs at all.

Anyone have an idea?

Thanks in advanced,
Tareef
0
Comment
Question by:TareefA
  • 4
  • 3
7 Comments
 
LVL 104

Expert Comment

by:Sembee
ID: 11774964
More info please?

Single Server or frontend / backend.

Service Pack for Exchange installed?

Is the certificate a homegrown or purchased?

What have you put in the valid ports section?

Simon.
0
 

Author Comment

by:TareefA
ID: 11778595
Simon,

- It is in a Front-end/Back-end topology
- SP1 on both the Front and Back-end server
- The certificate is self-created, but the Cert Server is on the Public net

This is what we have in the ValidPorts section:

server-fe:100-5000;
server-be:6001-6002;
server-be.domain.com:6001-6002;
server-dc:6001-6002;
server-dc.domain.com:6001-6002;
server-be:6004;
server-be.domain.com:6004;
server-dc:6004;
server-dc.domain.com:6004;
mail.external.com:6001-6002;
mail.external.com:6004;
server-dc:593;
server-dc.domain.com:593;
server-be:593;
server-be.domain.com:593;
mail.external.com:593;

Thanks,
Tareef
0
 
LVL 104

Expert Comment

by:Sembee
ID: 11783355
Those settings do seem very familar... :-)

Has the certificate been added to the client machine? So many of the problems with this technology are down to the certificate and getting a purchased certificate fixes them.

This may not be the cause here. I should have this before - what is between the Exchange frontend server and the Internet? A firewall of some kind?
This sounds like the port is being closed and not reopened.

What happens if you run Outlook like this after it has been disconnected:

outlook /rpcdiag

This will show you where the problem is.

Simon.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:TareefA
ID: 11785858
Simon,

Yes, I added the cert to the client. I don't think it is the cert because as soon as I add the ValidPorts entries again, the client can connect fine.  For some reason the ValidPorts key keeps getting cleared.

When I run outlook /rpcdiag, it just says disconnected when the entries are missing.

 Any idea why the ValidPorts reg key keeps getting cleared?

Thanks,
Tareef
0
 
LVL 104

Accepted Solution

by:
Sembee earned 250 total points
ID: 11787498
I haven't seen the registry settings being cleared myself, but there have been some reports of this. I am trying to provoke a test system in to doing it so that I can track down the problem but it is proving ellusive.

Have you attempted to configure RPC/HTTP using EMS as well as the manual (registry) method? I suspect that this is the cause. It could be one of those "do it one way or the other but not both" issues.

Simon.
0
 

Author Comment

by:TareefA
ID: 11787763
Do you mean setting the RPC over HTTP front-end option on my Front-end Exchange server? Yes, I set it as a 'RPC over HTTP' front-end. But I see what you are saying. I will remove it in EMS and monitor it.

Tareef
0
 

Author Comment

by:TareefA
ID: 11796357
Simon,

I think removing the RPC setting out of ESM and just using the registry did it. I haven't had a disconnect since yesterday.

Thanks for your assistance.

Tareef
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

840 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