Link to home
Start Free TrialLog in
Avatar of Netexperts
NetexpertsFlag for United Kingdom of Great Britain and Northern Ireland

asked on

RPC IIS settings

I'm having problems (as are most) getting RPC over HTTP to work. I've got an old SBS2003 box to which i've installed a new Server2008 box with Exchange 2007 along side to handle the mail. I have a self signed cert which i've installed to the client i'm testing and OWA connects without issue. I have setup RPC over HTTP on the Exchange box but when i try to connect Outlook it just keeps asking for username and password. I know i can run RPCDIAG but how do i run this if i can't create the Outlook profile to begin with ? also are there any settings i need to change on the Server 2008 with regards to RPC or RPCwithCert sites ?
I have had RPC over HTTP working previously on the old SBS box by the way.

Thanks
Avatar of master135
master135
Flag of Ukraine image

Do you have installed RPC over HTTp windows component?
Avatar of Netexperts

ASKER

On the Exchange box ? Yes i've installed it.
ASKER CERTIFIED SOLUTION
Avatar of shauncroucher
shauncroucher
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What about  RPCDIAG. You can first configure Outlook Account in your network, recieve some mail and then configure Outlook anywhere on your client and diagnose.
Your default log files should be stored in C:\WINDOWS\system32\LogFiles\W3SVCX1 folder on server.
Look there, it should be written the error code for your client connection.
Thanks for both the above,

I've checked the settings and both appear ok. I've also connected via VPN and obviously it's worked fine so then ran RPCDIAG but it just keeps coming up directory/ referral and i cannot find C:\WINDOWS\system32\LogFiles\W3SVCX1 on the server. Should this be on the Exchange server ?
I have also already tried the testexchangeconnectivity but it keeps erroring on the certificate as it's self signed.
Any more ideas or help would be great .

Thanks
I've also just noticed something that might be of no relevance but....  after connecting a remote mailbox through RPC over HTTP but with a VPN up it connects fine but when there is no VPN it just shows as connecting and then dissapears and then connecting again however it is showing the server name as mailserver.domain.local but without the VPN this is obviously not going to resolve. Is this just because i set it up first on the VPN because as i stated earlier i can't find how to do RPCDIAG without setting it up through VPN first.
Also just to check that when entering the servername in the Outlook setup i do just enter the normal internal mail server name don't i ?

Thanks
There is no reason why this should not work, even with a self signed certificate as long as the correct URL's are specified.

It is not advisable to use a self signed, but it will technically work.

See my blog entry here: http://exchangeshell.wordpress.com/2009/09/20/create-ucc-san-private-ca-issued-certificate-to-replace-self-signed-certificate-exchange-2007/

Shaun
Thanks Shauncroucher,

we've gone and ordered a 3rd party now anyway but i have just read your Blog and i had already done that and imported it to the client machines but it still wouldn't work. I can;t understand why this would not work with a self signed cert but then there is a Microsoft page that says it won't. I'll wait for the 3rd party cert and try that and post back, if this then works then that was obviously the issue.

Many Thanks
Thanks Shaun,

I managed to get it sorted.

The 3rd party cert helped the test run through but failed on pinging the Endpoint which also is a bug in that you need to add the servername and FQDN to the HOSTS file on the Exchange server.
Points awarded as the link sent allowed me to confirm Authentication settings and is a great tool for future troubleshooting.

Thanks