I'm using appcmd
to script a site I am deploying. At the start of this I am trying to remove some sites that are automatically installed by a vendor's site. They need to be removed because they are set up incorrectly putting to a non-existent part of the disk.
The command I am using that is failing is as follows:
C:\Windows\System32\inetsrv>appcmd delete app "AccessViaWeb(80)/AVInclude"
ERROR ( message:Must use exact identifer for APP object with verb DELETE. )
I can't figure out the syntax require to avoid this error.
The list of apps on this server can be seen by the appcmd list apps
command:
C:\Windows\System32\inetsrv>appcmd list apps
APP "Default Web Site/" (applicationPool:DefaultAppPool)
APP "Default Web Site/OPCService" (applicationPool:DefaultAppPool)
APP "PeopleFinder - 8010/" (applicationPool:PeopleFinder - 8010)
APP "AccessViaWeb(80)/" (applicationPool:DefaultAppPool)
APP "AccessViaWeb(80)/AVInclude" (applicationPool:AccessViaWeb)
APP "AccessViaWeb(80)/AccessViaPrint" (applicationPool:AccessViaPrint)
APP "AccessViaWeb(80)/SignFunctionService" (applicationPool:SignFunctionService)