SOLVED

Error 500 trying to access ECP - Exchange 2016

%3CLINGO-SUB%20id%3D%22lingo-sub-1355650%22%20slang%3D%22en-US%22%3EError%20500%20trying%20to%20access%20ECP%20-%20Exchange%202016%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355650%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20installed%20Exchange%202016%20on%20a%20vm%20with%20win%20server%202016%20join%20in%20a%20domain!%3CBR%20%2F%3EInstallation%20completed%20successfully%20and%20did%20all%20deployment%20but%20when%20im%20trying%20to%20login%20on%20the%20ECP%2FOWA%20am%20not%20able.%3C%2FP%3E%3CP%3EI%60m%20getting%20error%20500.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20i%20get%20error%20when%20i%20try%20to%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EGet-EcpVirtualDirectory%20-ShowMailboxVirtualDirectories%20%7C%20FL%20Identity%2C*Site*%2C*URL*%2C*Auth*%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%5BPS%5D%20C%3A%5CWindows%5Csystem32%26gt%3BGet-EcpVirtualDirectory%20-ShowMailboxVirtualDirectories%20%7C%20FL%20Identity%2C*Site*%2C*URL*%2C*Auth*%3C%2FP%3E%3CP%3EThe%20task%20wasn't%20able%20to%20connect%20to%20IIS%20on%20the%20server%20'EX1.EmadAdel.Local'.%20Make%20sure%20that%20the%20server%20exists%20and%20can%20be%3C%2FP%3E%3CP%3Ereached%20from%20this%20computer%3A%20The%20RPC%20server%20is%20unavailable.%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20CategoryInfo%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20ReadError%3A%20(EX1%5Cecp%20(Default%20Web%20Site)%3AADObjectId)%20%5BGet-EcpVirtualDirectory%5D%2C%20IISNotReac%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3EhableException%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20FullyQualifiedErrorId%20%3A%20%5BServer%3DEX62016%2CRequestId%3D9b55718a-52d4-4540-9db8-cb33b43950b2%2CTimeStamp%3D5%2F2%2F2020%209%3A15%3A4%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E0%20PM%5D%20%5BFailureCategory%3DCmdlet-IISNotReachableException%5D%202F2CA45E%2CMicrosoft.Exchange.Management.SystemConfiguration%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3ETasks.GetEcpVirtualDirectory%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20PSComputerName%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20ex62016.emadadel.local%3C%2FP%3E%3CP%3EThe%20task%20wasn't%20able%20to%20connect%20to%20IIS%20on%20the%20server%20'EXBackEnd1.EmadAdel.Local'.%20Make%20sure%20that%20the%20server%20exists%20and%3C%2FP%3E%3CP%3Ecan%20be%20reached%20from%20this%20computer%3A%20The%20RPC%20server%20is%20unavailable.%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20CategoryInfo%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20ReadError%3A%20(EXBACKEND1%5Cecp%20(Exchange%20Back%20End)%3AADObjectId)%20%5BGet-EcpVirtualDirectory%5D%2C%20II%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3ESNotReachableException%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20FullyQualifiedErrorId%20%3A%20%5BServer%3DEX62016%2CRequestId%3D9b55718a-52d4-4540-9db8-cb33b43950b2%2CTimeStamp%3D5%2F2%2F2020%209%3A15%3A4%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E3%20PM%5D%20%5BFailureCategory%3DCmdlet-IISNotReachableException%5D%20CD635A6C%2CMicrosoft.Exchange.Management.SystemConfiguration%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3ETasks.GetEcpVirtualDirectory%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20PSComputerName%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20ex62016.emadadel.local%3C%2FP%3E%3CP%3EThe%20task%20wasn't%20able%20to%20connect%20to%20IIS%20on%20the%20server%20'EXBackEnd1.EmadAdel.Local'.%20Make%20sure%20that%20the%20server%20exists%20and%3C%2FP%3E%3CP%3Ecan%20be%20reached%20from%20this%20computer%3A%20The%20RPC%20server%20is%20unavailable.%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20CategoryInfo%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20ReadError%3A%20(EXBACKEND1%5Cecp%20(Default%20Web%20Site)%3AADObjectId)%20%5BGet-EcpVirtualDirectory%5D%2C%20IIS%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3ENotReachableException%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20FullyQualifiedErrorId%20%3A%20%5BServer%3DEX62016%2CRequestId%3D9b55718a-52d4-4540-9db8-cb33b43950b2%2CTimeStamp%3D5%2F2%2F2020%209%3A15%3A4%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E6%20PM%5D%20%5BFailureCategory%3DCmdlet-IISNotReachableException%5D%20CD635A6C%2CMicrosoft.Exchange.Management.SystemConfiguration%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3ETasks.GetEcpVirtualDirectory%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20PSComputerName%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20ex62016.emadadel.local%3C%2FP%3E%3CP%3EThe%20task%20wasn't%20able%20to%20connect%20to%20IIS%20on%20the%20server%20'Ex.EmadAdel.Local'.%20Make%20sure%20that%20the%20server%20exists%20and%20can%20be%3C%2FP%3E%3CP%3Ereached%20from%20this%20computer%3A%20The%20RPC%20server%20is%20unavailable.%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20CategoryInfo%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20ReadError%3A%20(EX%5Cecp%20(Exchange%20Back%20End)%3AADObjectId)%20%5BGet-EcpVirtualDirectory%5D%2C%20IISNotReac%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3EhableException%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20FullyQualifiedErrorId%20%3A%20%5BServer%3DEX62016%2CRequestId%3D9b55718a-52d4-4540-9db8-cb33b43950b2%2CTimeStamp%3D5%2F2%2F2020%209%3A15%3A4%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E9%20PM%5D%20%5BFailureCategory%3DCmdlet-IISNotReachableException%5D%20E9FCE425%2CMicrosoft.Exchange.Management.SystemConfiguration%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3ETasks.GetEcpVirtualDirectory%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20PSComputerName%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20ex62016.emadadel.local%3C%2FP%3E%3CP%3EThe%20task%20wasn't%20able%20to%20connect%20to%20IIS%20on%20the%20server%20'Ex.EmadAdel.Local'.%20Make%20sure%20that%20the%20server%20exists%20and%20can%20be%3C%2FP%3E%3CP%3Ereached%20from%20this%20computer%3A%20The%20RPC%20server%20is%20unavailable.%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20CategoryInfo%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20ReadError%3A%20(EX%5Cecp%20(Default%20Web%20Site)%3AADObjectId)%20%5BGet-EcpVirtualDirectory%5D%2C%20IISNotReach%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3EableException%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20FullyQualifiedErrorId%20%3A%20%5BServer%3DEX62016%2CRequestId%3D9b55718a-52d4-4540-9db8-cb33b43950b2%2CTimeStamp%3D5%2F2%2F2020%209%3A15%3A5%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E2%20PM%5D%20%5BFailureCategory%3DCmdlet-IISNotReachableException%5D%20E9FCE425%2CMicrosoft.Exchange.Management.SystemConfiguration%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3ETasks.GetEcpVirtualDirectory%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%2B%20PSComputerName%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20ex62016.emadadel.local%3C%2FP%3E%3CP%3EIdentity%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20EX62016%5Cecp%20(Exchange%20Back%20End)%3C%2FP%3E%3CP%3EWebSite%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20Exchange%20Back%20End%3C%2FP%3E%3CP%3EInternalUrl%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%3C%2FP%3E%3CP%3EExternalUrl%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%3C%2FP%3E%3CP%3EInternalAuthenticationMethods%20%3A%20%7BNtlm%2C%20WindowsIntegrated%7D%3C%2FP%3E%3CP%3EBasicAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20False%3C%2FP%3E%3CP%3EWindowsAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20True%3C%2FP%3E%3CP%3EDigestAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20False%3C%2FP%3E%3CP%3EFormsAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20False%3C%2FP%3E%3CP%3ELiveIdAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20False%3C%2FP%3E%3CP%3EAdfsAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20False%3C%2FP%3E%3CP%3EOAuthAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20False%3C%2FP%3E%3CP%3EExternalAuthenticationMethods%20%3A%20%7BFba%7D%3C%2FP%3E%3CP%3EIdentity%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20EX62016%5Cecp%20(Default%20Web%20Site)%3C%2FP%3E%3CP%3EWebSite%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20Default%20Web%20Site%3C%2FP%3E%3CP%3EInternalUrl%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fex62016.emadadel.local%2Fecp%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noreferrer%20noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fex62016.emadadel.local%2Fecp%3C%2FA%3E%3C%2FP%3E%3CP%3EExternalUrl%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%3C%2FP%3E%3CP%3EInternalAuthenticationMethods%20%3A%20%7BBasic%2C%20Fba%7D%3C%2FP%3E%3CP%3EBasicAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20True%3C%2FP%3E%3CP%3EWindowsAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20False%3C%2FP%3E%3CP%3EDigestAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20False%3C%2FP%3E%3CP%3EFormsAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20True%3C%2FP%3E%3CP%3ELiveIdAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20False%3C%2FP%3E%3CP%3EAdfsAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20False%3C%2FP%3E%3CP%3EOAuthAuthentication%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3A%20False%3C%2FP%3E%3CP%3EExternalAuthenticationMethods%20%3A%20%7BFba%7D%3C%2FP%3E%3CP%3E%5BPS%5D%20C%3A%5CWindows%5Csystem32%26gt%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1355650%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1355684%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20500%20trying%20to%20access%20ECP%20-%20Exchange%202016%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1355684%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F293460%22%20target%3D%22_blank%22%3E%40emadadel2008%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFrom%20the%20Exchange%20Management%20Shell%2C%20run%20the%20following%20commands%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ERemove-OwaVirtualDirectory%20'servername%5Cowa%20%3CDEFAULT%20web%3D%22%22%20site%3D%22%22%3E'%3C%2FDEFAULT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPress%20%3CSTRONG%3EY%26nbsp%3B%3C%2FSTRONG%3Eto%20confirm.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ENew-OwaVirtualDirectory%20%E2%80%93WebsiteName%20%E2%80%98Default%20Web%20site%E2%80%99%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERestart%20the%20server%2C%20and%20try%20and%20connect%20to%20ECP%20again.%20%26nbsp%3BShould%20work%20now.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1356434%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20500%20trying%20to%20access%20ECP%20-%20Exchange%202016%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1356434%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F293460%22%20target%3D%22_blank%22%3E%40emadadel2008%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20this%20work%20for%20you%20may%20I%20ask%3F%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1588827%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20500%20trying%20to%20access%20ECP%20-%20Exchange%202016%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1588827%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F293460%22%20target%3D%22_blank%22%3E%40emadadel2008%3C%2FA%3E%26nbsp%3B-%20I%20had%20similar%20issue%20and%20found%20out%20that%20the%20Domain%20Controller%20and%20Exchange%20server%20was%20out%20of%20sync.%20Once%20they%20were%20sync'd%2C%20I%20was%20able%20to%20login%20to%20OWA%20and%20ECP.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

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>

3 Replies
Highlighted
Best Response confirmed by emadadel2008 (Occasional Contributor)
Solution

@emadadel2008 

 

From the Exchange Management Shell, run the following commands;

 

Remove-OwaVirtualDirectory 'servername\owa <Default Web Site>'

 

Press to confirm. 

 

New-OwaVirtualDirectory –WebsiteName ‘Default Web site’

 

Restart the server, and try and connect to ECP again.  Should work now.

 

 

Highlighted

@emadadel2008 

 

Did this work for you may I ask? :smile:

Highlighted

@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.