Forum Discussion
Error 500 trying to access ECP - Exchange 2016
I have installed Exchange 2016 on a vm with win server 2016 join in a domain!
Installation completed successfully and did all deployment but when im trying to login on the ECP/OWA am not able.
I`m getting error 500.
and i get error when i try to
Get-EcpVirtualDirectory -ShowMailboxVirtualDirectories | FL Identity,*Site*,*URL*,*Auth*
[PS] C:\Windows\system32>Get-EcpVirtualDirectory -ShowMailboxVirtualDirectories | FL Identity,*Site*,*URL*,*Auth*
The task wasn't able to connect to IIS on the server 'EX1.EmadAdel.Local'. Make sure that the server exists and can be
reached from this computer: The RPC server is unavailable.
+ CategoryInfo : ReadError: (EX1\ecp (Default Web Site):ADObjectId) [Get-EcpVirtualDirectory], IISNotReac
hableException
+ FullyQualifiedErrorId : [Server=EX62016,RequestId=9b55718a-52d4-4540-9db8-cb33b43950b2,TimeStamp=5/2/2020 9:15:4
0 PM] [FailureCategory=Cmdlet-IISNotReachableException] 2F2CA45E,Microsoft.Exchange.Management.SystemConfiguration
Tasks.GetEcpVirtualDirectory
+ PSComputerName : ex62016.emadadel.local
The task wasn't able to connect to IIS on the server 'EXBackEnd1.EmadAdel.Local'. Make sure that the server exists and
can be reached from this computer: The RPC server is unavailable.
+ CategoryInfo : ReadError: (EXBACKEND1\ecp (Exchange Back End):ADObjectId) [Get-EcpVirtualDirectory], II
SNotReachableException
+ FullyQualifiedErrorId : [Server=EX62016,RequestId=9b55718a-52d4-4540-9db8-cb33b43950b2,TimeStamp=5/2/2020 9:15:4
3 PM] [FailureCategory=Cmdlet-IISNotReachableException] CD635A6C,Microsoft.Exchange.Management.SystemConfiguration
Tasks.GetEcpVirtualDirectory
+ PSComputerName : ex62016.emadadel.local
The task wasn't able to connect to IIS on the server 'EXBackEnd1.EmadAdel.Local'. Make sure that the server exists and
can be reached from this computer: The RPC server is unavailable.
+ CategoryInfo : ReadError: (EXBACKEND1\ecp (Default Web Site):ADObjectId) [Get-EcpVirtualDirectory], IIS
NotReachableException
+ FullyQualifiedErrorId : [Server=EX62016,RequestId=9b55718a-52d4-4540-9db8-cb33b43950b2,TimeStamp=5/2/2020 9:15:4
6 PM] [FailureCategory=Cmdlet-IISNotReachableException] CD635A6C,Microsoft.Exchange.Management.SystemConfiguration
Tasks.GetEcpVirtualDirectory
+ PSComputerName : ex62016.emadadel.local
The task wasn't able to connect to IIS on the server 'Ex.EmadAdel.Local'. Make sure that the server exists and can be
reached from this computer: The RPC server is unavailable.
+ CategoryInfo : ReadError: (EX\ecp (Exchange Back End):ADObjectId) [Get-EcpVirtualDirectory], IISNotReac
hableException
+ FullyQualifiedErrorId : [Server=EX62016,RequestId=9b55718a-52d4-4540-9db8-cb33b43950b2,TimeStamp=5/2/2020 9:15:4
9 PM] [FailureCategory=Cmdlet-IISNotReachableException] E9FCE425,Microsoft.Exchange.Management.SystemConfiguration
Tasks.GetEcpVirtualDirectory
+ PSComputerName : ex62016.emadadel.local
The task wasn't able to connect to IIS on the server 'Ex.EmadAdel.Local'. Make sure that the server exists and can be
reached from this computer: The RPC server is unavailable.
+ CategoryInfo : ReadError: (EX\ecp (Default Web Site):ADObjectId) [Get-EcpVirtualDirectory], IISNotReach
ableException
+ FullyQualifiedErrorId : [Server=EX62016,RequestId=9b55718a-52d4-4540-9db8-cb33b43950b2,TimeStamp=5/2/2020 9:15:5
2 PM] [FailureCategory=Cmdlet-IISNotReachableException] E9FCE425,Microsoft.Exchange.Management.SystemConfiguration
Tasks.GetEcpVirtualDirectory
+ PSComputerName : ex62016.emadadel.local
Identity : EX62016\ecp (Exchange Back End)
WebSite : Exchange Back End
InternalUrl :
ExternalUrl :
InternalAuthenticationMethods : {Ntlm, WindowsIntegrated}
BasicAuthentication : False
WindowsAuthentication : True
DigestAuthentication : False
FormsAuthentication : False
LiveIdAuthentication : False
AdfsAuthentication : False
OAuthAuthentication : False
ExternalAuthenticationMethods : {Fba}
Identity : EX62016\ecp (Default Web Site)
WebSite : Default Web Site
InternalUrl : https://ex62016.emadadel.local/ecp
ExternalUrl :
InternalAuthenticationMethods : {Basic, Fba}
BasicAuthentication : True
WindowsAuthentication : False
DigestAuthentication : False
FormsAuthentication : True
LiveIdAuthentication : False
AdfsAuthentication : False
OAuthAuthentication : False
ExternalAuthenticationMethods : {Fba}
[PS] C:\Windows\system32>
From the Exchange Management Shell, run the following commands;
Remove-OwaVirtualDirectory 'servername\owa <Default Web Site>'
Press Y to confirm.
New-OwaVirtualDirectory –WebsiteName ‘Default Web site’
Restart the server, and try and connect to ECP again. Should work now.
From the Exchange Management Shell, run the following commands;
Remove-OwaVirtualDirectory 'servername\owa <Default Web Site>'
Press Y to confirm.
New-OwaVirtualDirectory –WebsiteName ‘Default Web site’
Restart the server, and try and connect to ECP again. Should work now.
- CBDCTMUserCopper Contributor
emadadel2008 - I had similar issue and found out that the Domain Controller and Exchange server was out of sync. Once they were sync'd, I was able to login to OWA and ECP.
- aSimbashaCopper Contributor
CBDCTMUser I'm having the same issue. can't remove the vdir coz the exch and DC is not in sync. How did you sync them ?
- p3dr0b87Copper Contributor