Cannot re-create ECP virtual directories

So I'm trying to recreate my ECP virtual directories but I get this error:

the version of internet information services (iis) that is running on server cannot be determined. this error can occur due to network connectivity issues. check the availability of your network and try again.

Windows Firewall is disabled.

When I try to access the ECP on ANY server, I get prompted for credentials, and then I get this error:

Server Error in '/ecp' Application.

Runtime Error

Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated.

Exchange 2013 SP1 on Windows Server 2012 R2.

March 11th, 2015 1:29pm

Hi,

Please try to re-create ECP Virtual Directory via EMS by the following steps:

  • Run this command to remove ECP Virtual Directory:

Remove-EcpVirtualDirectory -Identity " Server\ecp (Default Web Site)"  

  • Then run this command to create a new ECP Virtual Directory

New-EcpVirtualDirectory -WebSiteName "Default Web Site" -InternalUrl https://server1.domain.intra/ecp

  • Check whether ECP virtual directory was created under Default Web Site
  • Next, re-created ECP virtual directory under Exchange Back End

New-EcpVirtualDirectory -WebSiteName " Exchange Back End " -InternalUrl https://server1.domain.intra/ecp

  • At last, enable Windows Authentication for the ECP directory

Set-EcpVirtualDirectory -Identity "Server01\ecp (default Web site)" WindowsAuthentication:$true

If there are any errors when performing these steps, please let me know.

Best Regards.

Free Windows Admin Tool Kit Click here and download it now
March 12th, 2015 3:40am

I ran the commands that you listed and these are the results:

Remove-EcpVirtualDirectory -Identity "cas01\ecp (Default Web Site)"

The operation couldn't be performed because object 'cas01\ecp (Default Web Site)' couldn't be found on
'DC04.domain.com'.

Then I tried:

New-EcpVirtualDirectory -WebSiteName "default web site" -InternalUrl "https://email.domain.com/ecp" -Path "E:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\ecp" -Role clientaccess -Server cas01

The version of Internet Information Services (IIS) that is running on server 'CAS01.domain.com' can't
be determined. This error can occur due to network connectivity issues. Check the availability of your network and try again.



March 12th, 2015 5:54am

I ran the commands that you listed and these are the results:

Remove-EcpVirtualDirectory -Identity "cas01\ecp (Default Web Site)"

The operation couldn't be performed because object 'cas01\ecp (Default Web Site)' couldn't be found on
'DC04.domain.com'.

Then I tried:

New-EcpVirtualDirectory -WebSiteName "default web site" -InternalUrl "https://email.domain.com/ecp" -Path "E:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\ecp" -Role clientaccess -Server cas01

The version of Internet Information Services (IIS) that is running on server 'CAS01.domain.com' can't
be determined. This error can occur due to network connectivity issues. Check the availability of your network and try again.



  • Edited by snorri788 Thursday, March 12, 2015 5:16 PM
Free Windows Admin Tool Kit Click here and download it now
March 12th, 2015 9:53am

I ran the commands that you listed and these are the results:

Remove-EcpVirtualDirectory -Identity "cas01\ecp (Default Web Site)"

The operation couldn't be performed because object 'cas01\ecp (Default Web Site)' couldn't be found on
'DC04.domain.com'.

Then I tried:

New-EcpVirtualDirectory -WebSiteName "default web site" -InternalUrl "https://email.domain.com/ecp" -Path "E:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\ecp" -Role clientaccess -Server cas01

The version of Internet Information Services (IIS) that is running on server 'CAS01.domain.com' can't
be determined. This error can occur due to network connectivity issues. Check the availability of your network and try again.



  • Edited by snorri788 Thursday, March 12, 2015 5:16 PM
March 12th, 2015 9:53am

Could you navigate to \Program Files\Microsoft\Exchange Server\V15\ClientAccess and validate that you have a file called SharedWebConfig present?  If not this could be the problem as to why ECP is not working.

What version of Exchange 2013 (CU) are you running?  Does OWA work?

Thanks,

Jason

Free Windows Admin Tool Kit Click here and download it now
March 12th, 2015 12:56pm

That folder doesn't exist, however it doesnt exist on the CAS that works either. 

OWA works fine. I'm on CU6

March 12th, 2015 1:15pm

SharedWebConfig.config is needed for operation.  I am running CU6 and it was missing on my servers so I grabbed it from a lab machine and copied it to the server and ECP started working again.  See if you have a backup of the file or a lab install that you can copy from.
Free Windows Admin Tool Kit Click here and download it now
March 12th, 2015 1:54pm

It is not present on the servers that are working OK though. How can this be?
March 13th, 2015 7:54am

Please start the following services to check this issue.

  • "Remote Registry" Service
  • "TCP/IP NETBIOS Helper" service
  • Computer Browser" service and setting it to "Automatic"

This was the solution in this case. The "Computer Browser" service was not running, and would not start due to error 1068 - dependencies not running. The "server" service was not running, and set to disabled. Enable the "server" service, and start the "computer browser" service. I could now re-create the ECP.
Free Windows Admin Tool Kit Click here and download it now
March 13th, 2015 7:55am

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

Other recent topics Other recent topics