Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 13303

Cant recreate VirtualDirectory IIS8

$
0
0

Hello,

Today i have got blank pages when i tried to open OWA and ECP, so i knew that there is an issue with the virtual directories so i opened the IIS 8 manager and deleted the OWA and ECP from the "Default Web site" and added them again using the IIS manager but it failed ,

I found that there is PS commands to remove and recreate the Virtual Directory.

i have opened Exchanged power shell as administrator and ran :

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

and i got this error:

The Operation couldn't be performed because object 'servername\ecp' couldn't be found on 'dc2.domain.com'

and i thing this is because i've deleted it from the IIS Manager.

so i tried the creation command:

New-EcpVirtualDirectory-Identity"mail\ecp (default Web site)"

but also i got another error says:

A Parameter cannot be found that matches parameter name 'Identity'

now i dont know what i should do...

i have windows server 2012 , IIS8 , Exchange server 2013 roles installed on the same single server on hyper-v VM.

Thanks



Viewing all articles
Browse latest Browse all 13303

Trending Articles