Contents tagged with Configuration
-
Remove zombie websites from your IIS server
-
Connecting to IIS 7.0 configuration remotely with Microsoft.Web.Administration
-
Backing up and restoring IIS 7.0 shared configuration
Bill's recent post reminded me of a question I often get about backing up and restoring configuration when IIS 7.0 is being used in the Shared Configuration mode. In this mode, the applicationHost.config file is stored on a UNC share to allow multiple IIS 7.0 servers to share a single configuration file.
When shared configuration is used, the backup behavior may not be what you are expecting, and places more responsibilities on you to maintain proper backups. Read more at http://mvolo.com/blogs/serverside/archive/2008/03/25/backing-up-and-restoring-IIS-7.0-shared-configuration.aspx.
Thanks,
Mike
-
Finding your way around IIS 7 configuration sections with AppCmd
The IIS 7 configuration system contains 50+ configuration sections (100+ if you count .NET Framework configuration), 477 attributes, and 57 collections. This can make it pretty challenging to figure out exactly what IIS 7 configuration section needs to be used to turn on some particular behavior, and then exactly syntax the configuration in that section should follow.
This is not typically an issue for me, because I can write most IIS configuration from memory. But, what if you didn't spend the past 4 years developing IIS7?
Learn some tricks for demystifying the IIS7 config at http://mvolo.com/blogs/serverside/archive/2007/11/01/IIS7-configuration-sections-exposed.aspx.
-
Fastest way to create IIS7 websites, applications, and application pools
Read about the fastest way to create IIS7 websites in bulk at http://mvolo.com/blogs/serverside/archive/2007/10/06/Create-IIS7-websites-and-application-pools-fast-with-AppCmd.aspx.
-
IISSCHEMA.EXE - A tool to register IIS7 configuration sections
IIS7 configuration extensibility allows you to create custom configuration sections that can be used side by side the IIS configuration sections. However, setting this up requires a few steps that may be difficult to accomplish, especially in a automated way from a script or an installer.
This post describes the IIS7 configuration extensibility, the steps to create and register your custom configuration sections, and provides a downloadable tool you can use to simplify and automate this process.
Read all about it and download IISSCHEMA.EXE here: http://mvolo.com/blogs/serverside/archive/2007/08/04/IISSCHEMA.EXE-_2D00_-A-tool-to-register-IIS7-configuration-sections.aspx. -
Anatomy of an IIS7 configuration path
As you know, IIS7 repaces the metabase with a whole new configuration system, based on a distributed hierarchy of XML configuration files also used by the .NET Framework/ASP.NET. This confguration system is fundamentally different from the metabase, and so it should come as no suprise that the way configuration paths work is also different.
The concept of configuration paths is fundamental to managing and operating an IIS server, so I wanted to spend some time explaining it in hope that this can help everyone enjoy their IIS7 server just a little bit more :) If you have come here wondering exactly what the hell is MACHINE/WEBROOT/APPHOST, you have come to the right place.
Read all about IIS7 configuration paths at http://mvolo.com/blogs/serverside/archive/2007/07/21/Anatomy-of-an-IIS7-configuration-path.aspx.