IIS - Sub directory permissions
From: Gary Cuthbert (gary.cuthbert@virgin.net)
Date: 10/31/02
- Next message: David Kieschnick: "500 error for localstart"
- Previous message: Karl Levinson [x y] mvp: "Re: newbie-hits"
- Next in thread: Karl Levinson [x y] mvp: "Re: IIS - Sub directory permissions"
- Reply: Karl Levinson [x y] mvp: "Re: IIS - Sub directory permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Gary Cuthbert" <gary.cuthbert@virgin.net> Date: Thu, 31 Oct 2002 20:22:08 -0000
Hello, has anyone managed to set permissions for a virtual directory
subdirectory under iis from a vbscript? I have a vbscript that creates
several virtual directories as part of an installer app (using
GetObject("IIS://Localhost/w3svc/1/root") and the like).
The msdn documentation suggests that the same process can be used to set iis
folder permissions (e.g. write access) for subdirectories under the virtual
directory but the call to GetObject with the path to the subdirectory fails.
The odd thing is that i used the example iss admin vb script 'chaccess' and
got the same results however if i load up the control panel 'internet
information services' app and set the option (write access) there, apply,
then remove the setting suddenly chaccess works as does my script (hence
GetObject). Its as if iis only recognises a sub directory once the Internet
Services Manager is prompted to do something with it.
Has anyone managed to do this kind of thing from a script? any help or
advice would be most welcome.
Many thanks
Gary
- Next message: David Kieschnick: "500 error for localstart"
- Previous message: Karl Levinson [x y] mvp: "Re: newbie-hits"
- Next in thread: Karl Levinson [x y] mvp: "Re: IIS - Sub directory permissions"
- Reply: Karl Levinson [x y] mvp: "Re: IIS - Sub directory permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|