Browse by Tags

All TagsADSI (RSS)
  • Re: System.DirectoryServices and IIS7

    I have exactly same problem as jrista. I had to test our software on Windows 2008 (with .NET 3.5 SP1). I’ve installed ‘IIS 6 Management Compatibility’ and UAC is turned off. Our software is using quite same code as jrista ‘System.DirectoryServices’ and ADSI. I’ve tried 2 scenarios: 1) Run the code from...
    Posted to Forum by pushack on 09-24-2008, 5:34 AM
  • Unable To set the Application Name

    Hi I am writing an application to automate my IIS administration script but I have been stuck in this problem for quiet sometime now I want to setup the Application Name in my IIS 6.0. I use the following script for website creation. Dim w3svc As DirectoryEntry w3svc = New DirectoryEntry("IIS:/...
    Posted to Forum by junaid_Arif_mufti on 06-23-2008, 12:09 AM
  • Powershell, ADSI and IIS 6 (on Win2003)

    I am trying to script the change of ScriptMaps variable on some IIS Websites (IIS 6 on Win2003). I have been using ADSI to get the value but I cannot find a way to Set (Put) the value. ([ADSI]"IIS://$computer/$name").Properties["ScriptMaps"] So i tried this: PS > $scriptmaps =...
    Posted to Forum by thompsonson on 05-22-2008, 1:24 PM
  • Trouble Creating Web Site Programmatically

    I'm trying to create a web site on each server in our web farm. I've gotten my code to work fine on localhost, but I'm having trouble getting it to work on a remote machine. We do not have a development environment for me to test in, so I have been forced to test this against a virtual PC...
    Posted to Forum by kc_bosch on 04-22-2008, 9:41 AM
  • IIsIPSecurity (ADSI) sample code

    I have the wonderfull pleasure of createing a business to bussiness portal platform, a 4 node IIS6 cluster with hardware load balancing, which is going to host 50 or so hostheadered site to be used for ordermanagement and order tracking. unfortunately i am no able to move to IIS7 at this point in time...
    Posted to Forum by species5618 on 04-14-2008, 6:12 AM
  • 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
  • Re: Configure IIS Logging and Metabase properties

    Typo in AppPoolRecycleMemory (missing the second c in your example) ... I'll search Technet for that to get it updated. cscript adsutil.vbs set W3SVC/AppPools/DefaultAppPool/AppPoolRecycleMemory true
    Posted to Forum by davcox on 12-04-2007, 1:56 PM
  • Re: Mass update IIS entries on IIS5/IIS6

    Here is a great blog post to start with. As you walk through the list of sites, just check the ServerComment field for whatever you're looking for, and then you can go on to set Path and AnonymousUser to whatever you need. http://blogs.msdn.com/david.wang/archive/2005/07/13/HOWTO_Enumerate_IIS_Website_Configuration...
    Posted to Forum by davcox on 11-15-2007, 6:51 PM
  • Naming ISAPI extensions in IIS7

    Howdy! I have a little application written in C# that create a virtual directory/application and add some script maps for an ATL server-based application using ADSI. It works fine on IIS 5/6/7. However, on IIS7, ScriptMaps (or handlers as they are now called) appear to have a 'name' attribute...
    Posted to Forum by InvaderZim on 09-19-2007, 4:34 PM
Page 1 of 2 (15 items) 1 2 Next >
Page view counter