The task was not able to connect to IIS on the server
Hi,I am wondering if someone can help. Our setup:Exchange has been installed on a single forest multi tree domain. The primary exchange server exists on the UK domain and i recently configured another exchange server on the HK domian, which is part of the same forest. When i launchEMC (Exchange Management Console)onthe UK exchange server, i see the messages belowMicrosoft Exchange Error--------------------------------------------------------The following error(s) were reported while loading topology information: Get-ActiveSyncVirtualDirectoryFailedError:The task was not able to connect to IIS on the server 'REPEHK-EX01.hk.repe.local'. Ensure that the server exists and is reachable from this computer: The RPC server is unavailable. Get-OabVirtualDirectoryFailedError:The task was not able to connect to IIS on the server 'REPEHK-EX01.hk.repe.local'. Ensure that the server exists and is reachable from this computer: The RPC server is unavailable. Get-OWAVirtualDirectoryFailedError:The task was not able to connect to IIS on the server 'REPEHK-EX01.hk.repe.local'. Ensure that the server exists and is reachable from this computer: The RPC server is unavailable. Software Config:UK - Virtual Machine - Windows Server 2003 x64BIT, Exchange 2007 Standard + SP1 and rollup 6HK -Physical Machine - Windows Server 2003 x64BIT, Exchange 2007 Standard + SP1 and rollup 6Can someone please helpRegardsNeil
October 27th, 2009 3:48pm

WIndows Firewall running on any of those servers?Run ExBpa against those servers as well , it will flag on that.
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2009 3:51pm

Looks like your exchange server is not talking to the gc/dc correctly. Have a look if there's any DC/GC servers under, server configuration -> hub transport -> properties of your server and under"system settings" also make sure prior to installing exchange in domain you have prepared the domain by running /Preparedomain command. How to Prepare Active Directory and Domains Vinod |CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3|
October 27th, 2009 3:55pm

Hi Andy,Thanks for your prompt reply. I have checked windows Firewall on Both Servers and it is not running. EXBPA permissions check does not show any errors, should i run the connectivity test in EXBPA?Hear from you shortlyRegardsNeil
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2009 3:56pm

Hello,Domain has been prepared and the DC / GC are visible. Also teh windows firewall is disbaled on both serversRegardsNeil
October 27th, 2009 3:58pm

Hi Guys,Would you happen to have any other ideas, pleaseRegardsNeil
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2009 4:22pm

any ISA servers in the mix?It works fine when you connect directly to the HK server correct?Sure there arent any other firewalls between the 2 sites?
October 27th, 2009 5:33pm

Hi,Please try to connect to 'REPEHK-EX01.hk.repe.local' from IIS server in UK.1. Open IIS.2. Hit Internet Information Service.3. Click "Action" from the tool bar.4."Connect..."5. Try to find 'REPEHK-EX01.hk.repe.local' and then connect.Also please try to run "Get-ActiveSyncVirtualDirectory", "Get-OabVirtualDirectory", "Get-OWAVirtualDirectory" from 'REPEHK-EX01.hk.repe.local' and then post the result here.Regards,Xiu
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2009 11:53am

Hi Andy,There are no ISA servers in the mix
October 28th, 2009 2:14pm

Hi XiuWhen i try to connect to the HK Server Via IIS as stated in your last post. I receive a message saying "unable to connect"I ran "Get-ActiveSyncVirtualDirectory", "Get-OabVirtualDirectory", "Get-OWAVirtualDirectory" from 'REPEHK-EX01.hk.repe.local' and the results are below [PS] C:\Documents and Settings\Administrator.HK\Desktop>Get-ActiveSyncVirtualDir ectory Get-ActiveSyncVirtualDirectory : The task was not able to connect to IIS on the server 'REPEUK-EX01.uk.repe.local'. Ensure that the server exists and is reac hable from this computer: The RPC server is unavailable. At line:1 char:30 + Get-ActiveSyncVirtualDirectory <<<< [PS] C:\Documents and Settings\Administrator.HK\Desktop> [PS] C:\Documents and Settings\Administrator.HK\Desktop>Get-OabVirtualDirectory Get-OabVirtualDirectory : The task was not able to connect to IIS on the server 'REPEUK-EX01.uk.repe.local'. Ensure that the server exists and is reac hable from this computer: The RPC server is unavailable. At line:1 char:30 + Get-ActiveSyncVirtualDirectory <<<< [PS] C:\Documents and Settings\Administrator.HK\Desktop>I receive teh same result for Get-OwaVirtualDirectoryHope you can helpRegardsNeil
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2009 3:12pm

Small updatei used RPCCFG.exe to find out which ports were being used for RPC. Ran trace on the firewall and found that the ports used for RPC traffic were being blocked. Unblocked ports and it seems to have solved the issue. Any idea why RPC was using ports 6001 - 6004. Are these default portsI can now connect to the HK server via IIS
October 28th, 2009 6:32pm

RPC ports are not fixed unless you configure it that way:http://technet.microsoft.com/en-us/library/bb331973.aspx Data Path Security Referencehttp://support.microsoft.com/?kbid=154596How to configure RPC dynamic port allocation to work with firewalls
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2009 7:35pm

That ports are used by Outlook Anywhere. Have you enabled Outlook Anywhere in your ORG?Vinod |CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3|
October 28th, 2009 7:45pm

HI Andy,It was your second link that helped me find a resolution to the issue. I can confirm that opening the ports on teh firewall fixed the issue. We didnt configure any ports for RPC, but i am guessing these are pre configured ports which Exchange 2007 uses to communicate.Thanks to all for your helpBy the way.....Did anyone know installing Exchange 2007 SP1 on a virtual Windows 2003R2 SP2 x64bit is not supported by Microsoft. Apperently they came across many performance issues during their testing whichrendered it unsupported. I spoke to Micorosoft and have asked for testing documentation and the types of issues tehy encountered. Lets see what they comeback with.
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2009 7:53pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics