Can't fix Outlook Anywhere on SBS 2008/Exchange 2007

Posted on 2011-09-30
Medium Priority
Last Modified: 2012-05-12
This is going to kill me eventually, I swear. I'm running Small Business Server 2008 Standard with Exchange 2007 and SharePoint Foundation 2010. Due to some problems running Search Server 2008 on another server, I took a chance and tried installing Search Server 2010 Express on the SBS box. Not so good. Killed companyweb, Outlook Anywhere, all sorts of stuff.

So I uninstalled Search Server Express. Took me a couple of hours to get companyweb and my web parts back up, but finally I've got everything except Outlook Anywhere. I can't count the number of times I uninstalled, rebooted, and reinstalled RPC. Took me several times just to get it to install RPC and RPC with Cert on the SBS Web Applications site. On both the RPC and RPC with Cert applications Require SSL is on, Require 128-bit SSL is off, Client Certificates is Ignore, Authentication is Basic and Windows.

 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc\RpcProxy\ValidPorts is "BPTC-SERVER:593;BPTC-SERVER:49152-65535".

In EMS running Test-OutlookWebServices gives me an error:

Id      : 1013
Type    : Error
Message : When contacting https://mail.bptc.com/Rpc received the error The server committed a protocol violation. Section=ResponseStatusLine

Id      : 1017
Type    : Error
Message : [EXPR]-Error when contacting the RPC/HTTP service at https://mail.bptc.com/Rpc. The elapsed time was 12 milliseconds.

Open in new window

Testing at Microsoft Remote Connectivity Analyzer gives me several green checks, then:

Attempting to ping RPC endpoint 6001 (Exchange Information Store) on server BPTC-SERVER.BioProcessConsultants.local.
 	The attempt to ping the endpoint failed.
 	The RPC_S_SERVER_UNAVAILABLE error (0x6ba) was thrown by the RPC Runtime process.

Open in new window

If I Telnet to BPTC-SERVER.BioProcessConsultants.local: 6001 (running on the server) I get some kind of response: "ncacn_http/1.0".

I've Googled the bejesus out of both those errors and haven't dug up anything that works. Help!!
Question by:JonFleming
  • 3
  • 2

Expert Comment

ID: 36895690

Author Comment

ID: 36896239
Well, I hadn't tried that, so I did. (And there are some major typos on that page that need fixing before the script for SBS willrun). It didn't work, no change. I didn't expect it to, since Outlook Anywhere has to do with the RPC and the RPCWIthCert virtual directories, and that link doesn't do anything with those. You recreate those virtual directories by uninstalling and reinstalling RPC. I've done that several times.

Accepted Solution

JonFleming earned 0 total points
ID: 36896339
YIPPEEE! Fixed it!

The problem was the  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc\RpcProxy\ValidPorts key. I had to add "bptc-server.bioprocessconsultants.local:6001-6004" to that key.

The Microsoft Remote Connecitivity Analyzer error message was trying to tell me what was happening. Clicking on the More Information link took me to RPC Server Unavailable Error was Thrown by the RPC Runtime which lnked to How does Outlook Anywhere work (and not work)? for an explanation of the ValidPorts key.

Sometimes a good night's sleep relly helps ...

Author Closing Comment

ID: 36922943
Fixed it myself.

Expert Comment

ID: 36898585
Brilliant, and thanks for posting the solution/

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

There’s hardly a doubt that Business Communication is indispensable for both enterprises and small businesses, and if there is an email system outage owing to Exchange server failure, it definitely results in loss of productivity.
Let us take a look at the scenario, you have a database that is corrupt and you run the ESEUTIL command only to find you are unable to repair it. How do you now get the data back?
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…
Through the video, you can check the migration process of Outlook PST file to PDF. Kernel for Outlook to PDF tool can convert Outlook emails with all attributes like Subject, To, From, Cc, Bcc and other folders such as Inbox, Outbox, Sent Items, Jun…

600 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