locked
Cannot re-create ECP virtual directories RRS feed

  • Question

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

    Wednesday, March 11, 2015 5:28 PM

Answers

  • 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.
    • Proposed as answer by Lynn-Li Monday, March 16, 2015 1:21 AM
    • Marked as answer by snorri788 Monday, September 21, 2015 9:50 AM
    Friday, March 13, 2015 11:52 AM

All replies

  • 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" -InternalUrlhttps://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.


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com

    Lynn-Li
    TechNet Community Support

    Thursday, March 12, 2015 7:38 AM
  • 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
    Thursday, March 12, 2015 9:53 AM
  • 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


    Jason Apt, Microsoft Certified Master | Exchange 2010 My Blog

    Thursday, March 12, 2015 4:54 PM
  • That folder doesn't exist, however it doesnt exist on the CAS that works either. 

    OWA works fine. I'm on CU6

    Thursday, March 12, 2015 5:13 PM
  • 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.

    Jason Apt, Microsoft Certified Master | Exchange 2010 My Blog

    Thursday, March 12, 2015 5:52 PM
  • It is not present on the servers that are working OK though. How can this be?
    Friday, March 13, 2015 11:52 AM
  • 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.
    • Proposed as answer by Lynn-Li Monday, March 16, 2015 1:21 AM
    • Marked as answer by snorri788 Monday, September 21, 2015 9:50 AM
    Friday, March 13, 2015 11:52 AM