I installed Exchange 2010 and everything was working fine, except the options in OWA from the external URL.
I was told to remove the ecp virtual directory and add it back by using the new-ecpvirtualdirectory "servername\ecp (default web site)"
It removed just fine, but when I tried to add it back I got the error message
The virtual directory 'ecp' already exists under 'Servername\ecp/Default Web Site'.
Parameter name: VirtualDirectoryName
+ CategoryInfo : InvalidArgument: (EXCHANGE2010\ecp (Default Web Site):ADObjectId) [New-EcpVirtualDirecto
+ FullyQualifiedErrorId : 72EA2BC3,Microsoft.Exchange.Management.SystemConfigurationTasks.NewEcpVirtualDirectory
So I looked in my IIAdmin and saw the ecp directory, which does not work.
I tried the remove again and new again with the same error. I went into the IIAdmin and manually removed the virtual directory and tried again, still not working.
This morning I went back into the IISadmin and the directory is there, but still not working.