Browse by Tags

All TagsADSImetabase (RSS)
  • Webalizer (stone steps) for IIS6.0 -ADSI Perl Script - automatic generation of Web Stats

    For those of you who want to produce Web statistics for IIS6.0, i have created a perl script which parses iis6.0 and produces stats for every virtual server. The script runs once everyday. I use Stone Steps webalizer. An improved version of webalizer ( http://www.stonesteps.ca/ ) See just below the script;...
    Posted to Forum by pilio on 03-10-2008, 11:47 AM
  • Strange problem changing "PeriodicRestartTime" using VBScript

    Hi there, I'm using this small bit of code to disable the "Recycle worker processes (in minutes)" (PeriodicRestartTime) option. set objMBUrl=GetObject("IIS://localhost/w3svc/AppPools/DefaultAppPool") objMBUrl.Put "PeriodicRestartTime", 0 objMBUrl.SetInfo This works fine...
    Posted to Forum by mikeb29 on 02-06-2008, 6:34 PM
  • 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
  • Help Needed Urgent:Extending the IIS6.0 Metabase Using ADSI:-Modifying the attributes

    Hi All, I am writing an application for extending the metabase schema configuration in the MBSchema.xml using the ADSI. I am able to create new properties using the create method and able to set its data type(Syntax). But i couldnt find any methods of the IAds or the IADsProperty interfaces to modify...
    Posted to Forum by rajbhino on 05-09-2007, 9:05 AM
  • Delete a Metabase Key's Data

    Using ADSI in C#, I'm trying to delete the data for a specified metabase key. However there is no DirectoryEntry.Properties.Clear() method, even though the PropertyValueCollection claims to implement IDictionary. Is there an easy way to clear out all the values for, say, /LM/W3SVC/1234567/Root/Foo/Bar...
    Posted to Forum by mark_richman on 01-03-2007, 7:02 AM
  • Programmatically Set Inherit Property Attribute In Metabase

    I am running IIS 5.1 on Windows XP and have redirected the default website to point to a virtual directory by way of the following code: Dim rd As Object rd = GetObject("IIS://localhost/W3SVC/1/Root") rd.Put("HttpRedirect", "/NewVirtDir, CHILD_ONLY") rd.SetInfo() In doing so, the Inherit Attribute is...
    Posted to Forum by bobvbcd on 01-02-2007, 11:11 AM
  • Metabase file updated after delay

    Hi - When I use ADSI to access IIS 6.0 and make changes, such as adding a virtual directory, I found that the underlying metabase.xml file is updated only after about 2 minutes. Using the DirectoryEntry object, I do ensure that I use the Invoke method to call SetInfo and call the CommitChanges method...
    Posted to Forum by abhijitchoudhary on 10-07-2006, 1:48 AM
Page 1 of 1 (7 items)
Page view counter