I have been managing websites in IIS6, but I understand that things have changed radically in IIS7 and that "all I need to do" is consume the services available in Microsoft.Web.Administration's servermanager and Microsoft.Web.Management and I'll have all the services and methods I need to replicate what I was doing in IIS6.
Well and good if you're savvy on that whole "consume services" thing, which I suck at.
I am told I can find this in c:\windows\system32\inetsrv\Microsoft.Web.Administration.dll and, indeed, it is there.
Try as I might, I cannot figure out how to pull this into an object so I can consume it. I've tried:
<cfobject type="COM" action="CREATE" class="Microsoft.Web.Administration" name="objMicrosoftWeb"> | |
<cfobject action="create" class='Microsoft.Web' name="objMicrosoftWeb" type="com"> |
<script>
set myServerManager = CreateObject('.NET', 'ServerManager', 'c:\windows\system32\inetsrv\Microsoft.Web.Administration.dll');
</script>
<cfobject
name="serverManager" | |
component="c:\windows\system32\inetsrv\Microsoft.Web.Administration.d ll" /> |
all to no avail. I am obviously not a COM genius.
Can anyone clue me in? I think even if I could figure out how to get a list of classes and methods I might be able to reign this in, but, alas, I am clueless in this arena.
Thanks!