Disable ECP from Internet facing Issue

Hi,

I plan to disable ECP from Internet access. I try to use Set-ECPVirtualDirectory -Identity "CAS01\ecp (default web site)" -AdminEnabled $false it give error

The version of Internet Information Services (IIS) that is running on server 'CAS01.masb.com' can't be determined.
This error can occur due to network connectivity issues. Check the availability of your network and try again.
Parameter name: Server
    + CategoryInfo          : InvalidArgument: (CAS01\ecp (Default Web Site):ADObjectId) [Set-EcpVirtualDirectory], Ar
   gumentException
    + FullyQualifiedErrorId : [Server=MAILBOX02,RequestId=42d5f0b8-9e83-49d7-a308-68f87ac7e643,TimeStamp=12/3/2015 10:
   42:53 PM] [FailureCategory=Cmdlet-ArgumentException] 5636C4E3,Microsoft.Exchange.Management.SystemConfigurationTas
  ks.SetEcpVirtualDirectory
    + PSComputerName        : cas01.masb.com

We mange to set it on CAS02.

May I know how to solve this issue on CAS01. We already set CAS03 for internal use only

Thank you

Best regards,

See Keong

March 12th, 2015 8:39pm

Hello

tip: check firewall for 137-139 and 445 port.

Free Windows Admin Tool Kit Click here and download it now
March 13th, 2015 2:20pm

Hi,

I agree with Gabor, besides please try to ensure Remote Registry service works fine in CAS01.
Or run this command in CAS01 for testing.

Thanks

March 16th, 2015 8:55am

Hi Allen / Sneff,

I am running the power shell on CAS01 and all firewall is disable. The remote register services is started but still the same.

got this error:

The version of Internet Information Services (IIS) that is running on server 'CAS01.masb.com' can't be determined.
This error can occur due to network connectivity issues. Check the availability of your network and try again.
Parameter name: Server
    + CategoryInfo          : InvalidArgument: (CAS01\ecp (Default Web Site):ADObjectId) [Set-EcpVirtualDirectory], Ar
   gumentException
    + FullyQualifiedErrorId : [Server=MAILBOX01,RequestId=296541b3-2d8e-483f-bb22-80b5884a3944,TimeStamp=18/3/2015 1:0
   6:22 AM] [FailureCategory=Cmdlet-ArgumentException] 5689E03E,Microsoft.Exchange.Management.SystemConfigurationTask
  s.SetEcpVirtualDirectory
    + PSComputerName        : cas01.masb.com

Thank you

Best regards,

See Keong

Free Windows Admin Tool Kit Click here and download it now
March 17th, 2015 9:08pm

Hi,

For your question, please try to open IIS Manager in CAS01, expand to Application Pools, then select MSExchangeECPAppPool and click Recycle.
Or please run IISRESET to reset IIS for testing.

Best Regards,
Allen Wang

March 19th, 2015 10:26pm

Hi ,

After recycle still the same. Any other suggestion?

Thank you

Best regards,

See Keong

Free Windows Admin Tool Kit Click here and download it now
March 30th, 2015 6:20am

Hi,
Please try to reset or recreate this ECP virtual directory for testing:
1. Login EAC, then switch to Servers.
2. Expand Virtual Directories, then select ECP which you want to reset, then click Reset option.

Thanks

March 31st, 2015 10:32pm

Hi,

When I try to reset the virtual directory, it get error as below:

CAS01\ecp (Default Web Site)
Deletion of virtual directory 'IIS://CAS01.masb.com/W3SVC/1/ROOT/ecp' on 'CAS01' failed.

When I look at the IIS on CAS01, the ecp virtual directory was missing.

How to make this ecp virtual directory seeing back and disable for internet facing

Thank you

Best regards,

See Keong

Free Windows Admin Tool Kit Click here and download it now
April 1st, 2015 11:11pm

Hi,

Can you run Get-EcpVirtualDirectory | FL to get problematic VD? Please run iisreset and try again.
Please run Remove -EcpVirtualDirectory Identity, then New-EcpVitualDirectory InternalURL 'https://<Server01><DomainName>/ECP' -WebSiteName 'Default Web Site' -AdminEnabled $false.

Thanks

April 1st, 2015 11:26pm

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

Other recent topics Other recent topics