Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

Adding an app using appcmd - Issue with site.name

$
0
0

Hello,

When attempting to add an application via appcmd, I get the following:

1) First attempt
C:\Windows\System32\inetsrv>APPCMD add app SITE.NAME="Default Web Site" /path:/<Appname> /physicalPath:E:
<path> /applicationPool:"Classic ASP AppPool"
ERROR ( message:The identifier is not supported in the current command usage.  You specified "SITE.NAME=Default Web Site
". )

2) Second attempt
C:\Windows\System32\inetsrv>APPCMD add app SITE.NAME=Default Web Site /path:/<Appname> /physicalPath:E:
<path> /applicationPool:"Classic ASP AppPool"
Failed to process input: The parameter 'Web' must begin with a / or - (HRESULT=80070057).

Actually no surprise on attempt 2 with spaces in the site name, but I had to try.

Since the /? parameter give this:

Examples:
 appcmd add app /site.name:"Default Web Site" /path:/app1
    Create a new application /app1 in site "Default Web Site".

I am at a loss.


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>