Click to See Complete Forum and Search --> : need help editing IIS settings using ASP


tomharrow
05-11-2005, 10:39 AM
Hi

I need to be able to change virtual directory preferences via a web form. Specifically the setting "The content for this resource should come

from:" i want to be able to change from A directory on this computer to A redirection to a URL and visa versa.

Also I want to be able to restart IIS from a webform. Does anyone know of any example scripts that can do this?? I have been reading about

Adsutil.vbs but cant seem to find much help on it. Has anyone used this?

Any help hugely appreciated

Tom

wmif
05-11-2005, 08:34 PM
i would start by opening up whatever pages are in the directory for the webadmin stuff. IIS doesnt have this installed by default so you have to add/remove programs -> windows components and its a sub option of iis i believe. iis 5 has it enabled by default i think.