Hi There
Got an odd error when I'm trying to setup a second website to publish OWA externally. I run:
new-webservicesvirtualdirectory -Websitename "PublicEx" -ExternalURL "https://x.x.x.x/EWS/Exchange.asmx" -Role ClientAccess -verbose -server casserver.mydomain.local
and get back An error occurred while creating the IIS virtual Directory. I enabled the IIS-Configuration Administrative Event log and am getting
An error has occurred: Unrecognized configuration path 'MACHINE/WEBROOT/APPHOST/PublicEx'
An error has occurred: Unrecognized configuration path 'MACHINE/WEBROOT/APPHOST/PublicEx/EWS'
This has persisted over 2 complete re-installs of the server and was present in 2013, 2013 Cu3 and 2013SP1 and everytime I have tried it on the other cas server I get the same issue.
Has anyone run into this, or know of a fix for it? Thanks in advance for any help.
James