tags:

views:

16

answers:

0

I am using the following command:

iisvdir /create "mywebsite.local"/Manager Images C:\inetpub\sysdata\mywebsite\Images

The http://mywebsite.local/Manager folder already exists, but I want the virtual folder underneath it. If I do this in the IIS Management UI I can do it successfully. However from the command line it just doesn't want to work. If I make it Manager2 (which doesn't exist) it creates it fine. It seems it can't create the folder if the parent folder already exists?

Can someone tell me what I'm doing wrong?

When I run the script I get the following error: Error trying to create pooled-proc application on new web directory.

Error &H1B6: Object doesn't support this property or method Virtual Path = mywebsite.local/ROOT/Manager/Images ROOT = C:\inetpub\sysdata\mywebsite.local\Manager\Images

Metabase Path = W3SVC/325597699/ROOT/Manager/Images