Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

IIS Web Site Manager
Project Home Blog Forums Known Issues External Project Link Contact Project

Author: Lance Knight (All RIAForge projects by this author)
Last Updated: March 7, 2009 5:51 PM
Version: 0.2
Views: 18,076
Downloads: 871
License: Apache License, Version 2

Description:

Create,Delete and Query your Sites in IIS

Facilitates creation of iis web Sites via access to the command line with CFExecute and iisweb.vbs.
Uses technique described here:
http://technet2.microsoft.com/windowsserver/en/library/6b672523-789a-4523-8f27-f745802db40b1033.mspx?mfr=true

Usage:
cfset iis = createObject("component", "com.iisweb").init(cscriptpath, vscriptpath)
cfset result = iis.create('name','path','ipaddress','hostheader')
cfset result = iis.query('blank for list || sitename || Metabase Path')
cfset result = iis.delete('sitename || Metabase Path')
cfset result = iis.start('sitename || Metabase Path')
cfset result = iis.stop('sitename || Metabase Path')
cfset result = iis.pause('sitename || Metabase Path')

init() returns this
query('blank for list || sitename || Metabase Path') returns a query object () DISCRIPTION ,HOSTHEADER ,IDENTIFIER ,IPNUMBER ,PORT ,STATE
create('name','path','ipaddress','hostheader','port') returns a Struct object
delete('sitename || Metabase Path') returns a Struct object
start('sitename || Metabase Path') returns a Struct object
stop('sitename || Metabase Path') returns a Struct object
pause('sitename || Metabase Path') pause returns a Struct object

I used IIS Virtual Directory Manager and a template for this project.

fix space bug 03/07/2009

Requirements:

IIS 6.0 (Ships with Windows Server 2003)
ColdFusion MX6+
Appropriate permissions to run <cfexecute>
Must know the path to cscript.exe (usually \windows\system32\ or \winnt\system32\)

Issue Tracker:

ID ISSUE STATUS UPDATED
1 Improperly parsing text columns in iisweb.query() Fixed 03/07/09 5:53 PM

View All Issues

To enter issues for this (or any other) project, you must be logged in.