Can't automate website script access configuration using cscript 
Author Message
 Can't automate website script access configuration using cscript

Hi,

Sorry for posting this twice but can somebody please either confirm
that this is something I'm doing wrong or that it is a Windows-related
problem.

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?

TIA

Lee



Fri, 19 Dec 2003 18:53:31 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Can't set website script access

2. Set per script hosting configuration (CSCRIPT)?

3. Script won't run with WSCRIPT/CSCRIPT

4. Automating Website and FTP create on IIS 4

5. Running VB Script code on WSH using cscript on win NT

6. How to automate Outlook with email attachment from ASP Clinet using vb SCRIPT

7. Automated Server Builds using VB Script

8. How to automate Outlook with email attachment from ASP Clinet using vb SCRIPT

9. Automated Server Builds using VB Script

10. Programmatic read only access to IE configuration settings?

11. FYI - Using WMI's StdRegProv to access the Registry

12. Accessing 'Local Security Policy" using VBScript

 

 
Powered by phpBB® Forum Software