Microsoft Knowledge Base Email Alertz

Microsoft Advisory Services Engagement Scenario - Programmatic administration of Internet Information Services (IIS)

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 982884 - Last Review: October 5, 2011 - Revision: 5.0

Programmatic administration of Internet Information Services (IIS)

Microsoft Professional Advisory Services is a support option that provides short-term, proactive, consultative support beyond break-fix product maintenance needs. This includes working with the same technician for assistance with issues like product migration, code review, or new program development and is a remote, phone-based support option. This service is typically used for shorter engagements, and is designed for developers and IT professionals who do not require the traditional onsite consulting or sustained account management services that are available from other Microsoft support options.

For additional information on Microsoft Advisory Services, including on how to engage, refer to this Microsoft web page:

http://support.microsoft.com/gp/AdvisoryService (http://support.microsoft.com/gp/AdvisoryService)

Microsoft Advisory Services Engagement Scenario - Programmatic administration of Internet Information Services (IIS)

This Advisory Services scenario is designed to assist customers who need developer support assistance to programmatically administer IIS using technologies such as ADSI, WMI, ABO, System.DirectoryServices.DirectoryEntry class or System.Web.Administration API and to address the questions they have encountered in their development process.

In this scenario, our team will help provide simple samples to customers on how to programmatically administer IIS using any of the available technologies (ADSI, WMI, ABO, System.DirectoryServices.DirectoryEntry class or System.Web.Administration API).

The samples can be script based (VBScript or Jscript) or C++ for ADSI, WMI or ABO and .Net framework based language (C# or VB.Net) for System.DirectoryServices.DirectoryEntry class or System.Web.Administration API.

We will cover simple scenarios such as querying and setting metabase/ configuration entries for IIS which will help the customers understand the configuration architecture.

Our team can only provide simple samples, rather than a full blown solution to cover each and every aspect of the end goal/solution.

Microsoft Advisory Services Engagement

Statement of Work for this Scenario

Windows 2003, Windows 2008, Windows 2008 R2

Included with Scope
  1. What operating system and the IIS version does the customer need assistance with?
  2. What technology does the customer need help with to programmatically configure IIS [The available options are ADSI, WMI, System.DirectoryServices.DirectoryEntry, ABO, System.Web.Administration]
  3. Does the customer have any previous experience with the IIS Metabase/ IIS Configuration
  4. Does the customer have any preference to the programming language being used? [VBScript, JScript, C, C++, C#, VB.Net]
  5. For managed code/ C++ solution, has the customer used the Visual Studio environment before
  6. What operation does the customer need to primarily focus on? Examples are: Creation/deletion of virtual directories/ applications and getting/setting IIS Metabase/Configuration properties.
  7. For IIS 7.0/7.5, does the customer use a shared hosting environment?
Out of Scope

Implementing an end-to-end solution

Self-Help resources for this scenario


Below is a list of self-help resources for this scenario. Microsoft Support Engineers may also use these resources during an Advisory Services engagement.

IIS Programmatic Administration SDK
http://msdn.microsoft.com/en-us/library/ms525041.aspx (http://msdn.microsoft.com/en-us/library/ms525041.aspx)

Using IIS Programmatic Administration
http://msdn.microsoft.com/en-us/library/ms524732(v=VS.90).aspx (http://msdn.microsoft.com/en-us/library/ms524732(v=VS.90).aspx)
IIS 7 Configuration reference
http://www.iis.net/ConfigReference (http://www.iis.net/ConfigReference)
Using IIS 7 Configuration editor to create simple scripts/code
http://blogs.iis.net/thomad/archive/2008/03/21/iis7-admin-pack-teaches-you-how-to-write-iis7-scripts.aspx (http://blogs.iis.net/thomad/archive/2008/03/21/iis7-admin-pack-teaches-you-how-to-write-iis7-scripts.aspx)
IIS 6 Resource Kit tools [contains Metabase Explorer to understand the IIS keys]
http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&DisplayLang=en (http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&DisplayLang=en)

APPLIES TO
  • Microsoft Internet Information Services 6.0
  • Microsoft Internet Information Services 7.5
  • Microsoft Internet Information Services 7.0
Keywords: 
kbproadvisory kbinfo kbsurveynew kbtshoot kbnomt kbprointernetexplorer kbprodeveloper kbprovisualstudio kbproiis KB982884
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate