he tried to set the physical path of the application using the command line:
APPCMD set app "Default Web Site/SiteName" /applicationPool:MyAppPool /[path='/'].physicalPath:C:\MySite
There was an error:
ERROR ( message:Cannot find requested collection element. )
The application pool and site already exist.
Please, help.
source share