401 authentication error testing rpc over http proxy

Posted on 2014-08-14
Medium Priority
Last Modified: 2014-08-14
I'm prepping another server for an exchange 2003 to office365 migration and am getting an error message when running the outlook connectivity test at https://testconnectivity.microsoft.com/.

It passes all tests up to the point where it pings the RPC Proxy.
The error is:

Attempting to ping RPC proxy ourdomain.com.
RPC Proxy can't be pinged.
Additional Details
An unexpected network-level exception was encountered. Exception details:
Message: The remote server returned an error: (401) Unauthorized.
Type: Microsoft.Exchange.Tools.ExRca.Extensions.MapiTransportException
Stack trace:
at Microsoft.Exchange.Tools.ExRca.Extensions.MapiRpcTestClient.PingProtocolProxy(String endpointIdentifier)
at Microsoft.Exchange.Tools.ExRca.Tests.MapiPingProxyTest.PerformTestReally()
Exception details:
Message: The remote server returned an error: (401) Unauthorized.
Type: System.Net.WebException
Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at RpcPingLib.RpcPing.PingProxy(String internalServerFqdn, String endpoint)
at Microsoft.Exchange.Tools.ExRca.Extensions.MapiRpcTestClient.PingProtocolProxy(String endpointIdentifier)
Elapsed Time: 2683 ms.

The server is SBS 2003.
I have confirmed the RPC over HTTP Proxy is installed.
I have confirmed that the correct domains are added to the correct ports in the ValidPorts registry key (however, it does list 593 as well as 6001-6002 and 6004).
I have confirmed that the "white page" is displayed when I visit https://ourdomain.com/rpc/rpcproxy.dll and log in with user credentials.
Question by:Reece Dodds
  • 3

Accepted Solution

Reece Dodds earned 0 total points
ID: 40262212
never mind.  I found that I was using the wrong credentials in the connectivity test.
I was using "user@ourdomain.com" and I actually needed to use "internaldomain.local\user".

It now proceeds past the RPC Proxy ping and fails at:

Attempting to ping the MAPI Mail Store endpoint with identity: ourdomain.com:6001.
       The attempt to ping the endpoint failed.
        Tell me more about this issue and how to resolve it
      Additional Details
The RPC_S_SERVER_UNAVAILABLE error (0x6ba) was thrown by the RPC Runtime process.
Elapsed Time: 4346 ms.

Assisted Solution

by:Reece Dodds
Reece Dodds earned 0 total points
ID: 40262217
again - I found where I was going wrong.
The connectivity test was being tested using the Exchange Server as "ourdomain.com" rather than "mailserver.internaldomain.local".  Changing this and all tests pass fine.

Damn SBS2003.  The other 2003 server I did was configured as a public facing server with no internal domain.

Should I close this question accepting my own comments or delete it?

Author Closing Comment

by:Reece Dodds
ID: 40262298
self resolved.
accepting answers in case someone else has the same issue.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
Exchange administrators are always vigilant about Exchange crashes and disasters that are possible any time. It is quite essential to identify the symptoms of a possible Exchange issue and be prepared with a proper recovery plan. There are multiple…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

862 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