ECP & OWA recreation faild on Exchange 2013 CAS servers

Dears

our environment contains both Exchange server 2013 and 2010 in a coexistence.

Exchange 2013 servers are: 2 CAS and 2 Mailbox servers. Exchange 2010 servers are 2 servers both running Mailbox, Hub Transport, and CAS roles.

For both CAS servers 2013 we reset the virtual directory of OWA and ECP.

Running the following cmdlet to recreate the virtual directory returned following error:

New-EcpVirtualDirectory -InternalUrl https://servername/ecp -WebSiteName "Defaul Web Site"

The virtual directory 'ecp' already exists under 'serveFQDN/Default Web Site'.

New-OwaVirtualDirectory -InternalUrl https://servername/owa -WebSiteName "Defaul Web Site"

The virtual directory 'owa' already exists under 'serveFQDN/Default Web Site'.

The serverFQDN is one of the Exchange 2010 servers.

Any help pleae!

June 2nd, 2015 4:58pm

Why are you trying to run that command?  What do you mean by you "reset the virtual directory"?  Why and how did you do that?  The error says that you already have an ECP virtual directory under Default Web Site, and that's to be expected since Setup creates it.
Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2015 5:23pm

Dear

you shall reset the virtual directory for both owa and ecp using esm or emc. we reset it cause of a reported error for accessing Exchange toolbox on Exchange 2013. When we tried to recreate it, we recevied that error

June 3rd, 2015 12:27am

You didn't answer my questions.
Free Windows Admin Tool Kit Click here and download it now
June 3rd, 2015 4:02am

Dear

you shall reset the virtual directory for both owa and ecp using esm or emc. we reset it cause of a reported error for accessing Exchange toolbox on Exchange 2013. When we tried to recreate it, we recevied that error

Hi,

To reset the OWA and ECP virtual directory, we need to remove the existing ones then create the new one. For example:

Remove-EcpVirtualDirectory -Identity Exch13\ecp (Default Web Site)

New-EcpVirtualDirectory -Server Exch13 -WebSiteName "default Web site" -InternalUrl https://Exch13.domain.com/ecp

Remove-EcpVirtualDirectory -Identity "Exch13\ecp (Exchange Back End)"

New-EcpVirtualDirectory -WebSiteName "Exchange Back End" -Server Exch13

Remove-OwaVirtualDirectory -Identity Exch13\Owa (Default Web Site)

New-OwaVirtualDirectory -Server Exch13 -WebSiteName "default Web site" -InternalUrl https://Exch13.domain.com/Owa

Remove-OwaVirtualDirectory -Identity "Exch13\Owa (Exchange Back End)"

New-OwaVirtualDirectory -WebSiteName "Exchange Back End" -Server Exch13

Then restart IIS service by running iisreset /noforce from a command prompt window.

Regards,

June 3rd, 2015 8:19am

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

Other recent topics Other recent topics