> Thanks, Dave. I get a permission denied error. Any ideas?
By default, this code will run within the security context of the IIS user.
You need it to run within the security context of a user with the right to
stop and start services. You can use another security context by doing one
of the following:
1. Requiring web server authentication
2. Using impersonation
Item 1 just requires that you deny anonymous access (probably a good idea
for an admin script anyway). Item 2 requires a bit of ASP code.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com