Browse by Tags

All Tagswmi powershell iis metabaseIIS (RSS)
  • Create Vrirtual Directory through code C#

    Hello All, I am working on a web service that will create a new virtual directory on the same IIS Server where web service has been hosted. I am using following lines of code DirectoryEntries virtualDirs = site.Children; // create new virtual directory. DirectoryEntry virtualDirectory = virtualDirs.Add...
    Posted to Forum by Subinkj on 09-03-2007, 7:49 AM
  • Re: Create IIsWebDirectorySetting from PowerShell via WMI

    i experience the same problem as mark described on a Windows Server 2003 R2 however, i found that only the first call using $vdir causes an exception such as Exception calling "Put" with "0" argument(s): "You cannot call a method on a null-valued expression." any subsequent use of $vdir is successful...
    Posted to Forum by reto on 03-29-2007, 8:28 AM
Page 1 of 1 (2 items)
Page view counter