Clients unable to connect to Exchange through RPC/HTTP

Tim
Tim used Ask the Experts™
on
Yesterday i had a problem with my clients being unable to connect to our Exchange server with the mobile devices and I fixed that probelm but now when my clients try to connect to the Exhcange server through the internet using RPC/HTTP in the Outlook they are unable to connect. When I run a test for functionality at this site: https://www.testexchangeconnectivity.com 
The test fails. with this message


Testing HTTP Authentication Methods for URL https://mail.doaminname.com/rpc/rpcproxy.dll.
       The HTTP authentication test failed.
       
      Additional Details
       Exception details:
Message: The underlying connection was closed: The connection was closed unexpectedly.
Type: System.Net.WebException
Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Exchange.Tools.ExRca.Extensions.RcaHttpRequest.GetResponse()

What do I need to do now to get this fixed?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Technical Director
Top Expert 2015
Commented:
Check the permissions within IIS for RPC.

Its normally found in IIS Manager > Server > Website > default web site > RPC

Check Authenticated Users have Read/Execute.  And check the directory security settings by right clicking and then going to the directory security tab
Shreedhar EtteTechnical Manager
Top Expert 2010

Commented:
- Browse https://mail.doaminname.com/rpc/rpcproxy.dll you should get blank page after authentication.

- Which Antivirus application being used on exchange server?
TimSr. System Admin

Author

Commented:
I did what you suggested and still no luck. When I went to the RPC and checked to see if Authenticated users had the correct rights it wasn't even there so I added it. I also went to the rpcproxy.dll site and received a blank page but no go when I ran the test on the Remote Connectivity Analyzer.

Also when I check the logs on the server it is still telling me that the secondary virtual directory is still set to use SSL yet when I look at it that checkbox is disabled.

What I nightmare this is.

By the way we are using Trend Micro Worry-Free Advanced on the exchange server.
11/26 Forrester Webinar: Savings for Enterprise

How can your organization benefit from savings just by replacing your legacy backup solutions with Acronis' #CyberProtection? Join Forrester's Joe Branca and Ryan Davis from Acronis live as they explain how you can too.

TimSr. System Admin

Author

Commented:
Oh, and when I go the the rpcproxy.dll page it does not ask for authentication.
Shreedhar EtteTechnical Manager
Top Expert 2010
Commented:
- Ensure that RPC virtual directory has only basic authentication Enabled and disable rest of the authentication methods.

- SSL Enabled

- If you make any changes. execute iisreset to restart IIS related services.
TimSr. System Admin

Author

Commented:
still didn't work. I have been reviewing other forums on this and think I might have configured the virtual directories incorrectly and should delete all the virtual directories and start over. One of the things I have seen is that I was supposed to remove the SSL certificate from the default website before I copied the Exchange directory and created the Exchange-oma directory. I think because of this it keeps saying that SSL is enabled on the Exchange-OMA directory. Your thoughts or am I grasping at straws? What a huge pain this is.

Also, I was looking at my default website and it looks like it has more folders than it should. I have attached a screen shot of my Default Web Site directory for you to look at.
Shreedhar EtteTechnical Manager
Top Expert 2010

Commented:
Post Screen Shot Please...

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial