Can't set website script access 
Author Message
 Can't set website script access


I'm having real trouble setting the AccessScript property for the root
of my website. I'm trying various commands like:

cscript chaccess.vbs -a w3svc/3/root +script

But when I check the ISM website properties the Script option button
is not set - "none" is selected.

If I try:

cscript adsutil.vbs set w3svc/3/root/AccessScript True

and then "get" the value again, it reports AccessScript as being True
as it should. Again however, I check ISM properties and "none" is
still selected. If I try the website, it wont work until I manually
select "Script" permissions in ISM. Since I'm trying to automate
website creation for my InstallShield, I need to be able to do this
from a cscript command. Can someone tell me what I'm doing wrong?



Sat, 13 Dec 2003 19:00:23 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Can't automate website script access configuration using cscript

2. Set up IIS websites

3. IIS-Adding Users, Setting Permissions, FTP/Website tasks

4. How to set website icon in Web browser history

5. Visit Pamela Lee's Website for free

6. Visit Pamela Lee's Website for free

7. scripting terminal server profile setting's

8. How to set Dcomcnfg.exe's Computer Default Impersonate Level to Impersnation by Script

9. Don't understand 'Set'

10. Script can't access a folder on a server

11. Accessing COM's SafeArray from VB Script.

12. access.application object can't open access file


Powered by phpBB® Forum Software