Solved

RPC Proxy Server troubleshooting

Posted on 2004-03-30
17
3,381 Views
Last Modified: 2012-05-04
I have a single W2k3 server running a single Exchange server 2k3 installation and I am trying to get RPC over HTTP working... but with no luck.

- The RPC Proxy is running on the same machine.
- I've made all the registry changes detailed in Microsoft's RPC over HTTP deployment document.

I'm pretty sure it's a problem with the proxy and I've been using rpcping to try to make sense of it all. What I really need is some help troubleshooting the error I'm getting back.

I'm using rpping like this:

rpcping -t ncacn_http -s ExchServer -o RpcProxy=RPCProxyServer -P "user,domain,*" -I "user,domain,*" -H 2 -u 10 -a connect -F 3 -v 3 -E -R none

... and I'm getting this back:

401: Client is not authorized to ping RPC proxy

... and Microsoft say this:

You receive this response if the RPC Ping Utility test failed. The PRC Ping Utility test may have failed if HTTP access is denied, if there are incorrect credentials on the –P switch, or if the user does not exit.

So basically, if you can get me pinging the proxy...you get the points.
0
Comment
Question by:dmjabbo
[X]
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
  • 10
  • 7
17 Comments
 
LVL 11

Expert Comment

by:ewtaylor
ID: 10717881
Did you run rpings on the server first?
0
 

Author Comment

by:dmjabbo
ID: 10718010
no - what does that do...?
0
 
LVL 11

Expert Comment

by:ewtaylor
ID: 10718145
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 11

Expert Comment

by:ewtaylor
ID: 10718217
Shoot just saw you are running 2k3 do not think you need it then sorry...
0
 
LVL 11

Expert Comment

by:ewtaylor
ID: 10718270
Are you using certificates?
0
 

Author Comment

by:dmjabbo
ID: 10721936
Yep, I'm using certificates and the default website (containing the RPC dir) is protected by SSL.

Does that mean I need some extra switches when running rpcping?
0
 

Author Comment

by:dmjabbo
ID: 10723111
I have changed the -H switch from 2 to 1. This uses basic auth instead of NTLM and the server is set to use basic auth.

So, now it seems to authenticate but now I get error 501 returned.

MS say this about error 501:

The PRC Ping Utility test may have failed because the RcpProxy.dll could not be contacted, because the wrong virtual root folder (Vroot) was being accessed, if a RPC Proxy server has not been installed, or if Vroot is not accessible.

Any clues?
0
 
LVL 11

Expert Comment

by:ewtaylor
ID: 10723685
Try adding this switch

-B Mutual authentication. You must specify the server certificate subject that is being used.
0
 
LVL 11

Expert Comment

by:ewtaylor
ID: 10723695
The syntax is

–B msstd:server_certificate_subject
0
 

Author Comment

by:dmjabbo
ID: 10723725
No change I'm afraid - still an error 501
0
 
LVL 11

Accepted Solution

by:
ewtaylor earned 400 total points
ID: 10723777
On the RPC Proxy server computer, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
Expand your domain, double-click Default Web Site, right-click RPC, and then click Properties.
Click the Directory Security tab, and then click View Certificate.
Make sure that the certificate is issued to the same server that is used by the client for authentication.
0
 

Author Comment

by:dmjabbo
ID: 10723983
I've fixed it - I have SharePoint running on the same sever and I hadn't defined the rpc virtual dir as an excluded path in the SharePoint admin.

Thanks for your help with rpcping - am I allowed to just give you the points?
0
 
LVL 11

Expert Comment

by:ewtaylor
ID: 10724370
Ahh nice, sure.
0
 

Author Comment

by:dmjabbo
ID: 10724459
There you go... enjoy. Thanks again.
0
 
LVL 11

Expert Comment

by:ewtaylor
ID: 10724535
Thanks, are you using a sharepoint server? If so what do you think of it?
0
 

Author Comment

by:dmjabbo
ID: 10724811
It's just the free one, not the full blown portal server but it seems brilliant - exactly what a lot of companies have been wanting for a long time...
0
 
LVL 11

Expert Comment

by:ewtaylor
ID: 10724826
I just received my technet beta's and that and the comm server are both I would like to setup and try.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
An article on effective troubleshooting
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 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