Last post Apr 16, 2005 12:52 PM by OWScott
Mar 05, 2005 02:59 PM|mark_richman|LINK
Apr 13, 2005 09:28 AM|Ken Schaefer|LINK
As far as I know, the key needs to exist, and then you set AppRoot. ADSI (using IIS Provider) is generally easier than WMI. Using adsutil.vbs is easier still...
Apr 16, 2005 12:52 PM|OWScott|LINK
That's correct, the folder needs to be set as an IIsWebDirectory to be able to be marked as an application. A web root and virtual directory are also application roots.
Also, your comment is correct that there needs to be something recursively all the way down the path, so \foo\bar won't work unless you have \foo set in the metabase. You can achieve this by setting the in-between folders as an IIsConfigObject and simply
setting the Location property, or you can make them into a full IIsWebDirectory.