Troubleshooting IIS7 503 "Service unavailable" errors with startup debugging

In a previous post titled Where did my IIS7 server go? Troubleshooting “service unavailable” errors, I covered the basic steps for dealing with cases where the IIS7 web server fails to process the request.  This error mostly occurs whenever HTTP.SYS, the kernel HTTP driver that manages http connections for IIS, fails to create an IIS worker … [Read more…]

Longhorn Server Beta 3 is out of the door!

You may have noticed a lapse in activity on my blog – for the past month or two, I’ve been completely heads down in the last SB3 bugs, security analysis, and final rounds of DCR planning for IIS7.  We are getting closer and closer to RTM, and I am excited to see the feedback for all the … [Read more…]

Most Important AppCmd Commands: Backing up and restoring IIS7 configuration

Welcome to the first post of the “Most Important AppCmd Commands” series.  Have you ever made some changes to a system’s state, and then after everything suddenly stopped working, wondered how the hell you are going to get back to a working state?  Well, this post is all about doing just that when you are … [Read more…]

Most Important AppCmd Commands

Usually, a day doesnt go by that I dont get a collegue or a partner team in Microsoft asking how to do something or other about AppCmd.exe, the unified command line management tool for the IIS7 server.  Since its inception in the fall of 2005, the tool has been becoming increasingly popular internally – IIS7 … [Read more…]

A look at the IIS7 web server in MSDN magazine

The march edition of MSDN magazine is live, containing my article about the IIS7 web server in Windows Vista.  The article is an overview of the many features and architectural changes in IIS7, that hopefully will point people towards the specific things that they may want to learn more about and try. It’s all about … [Read more…]

Get nice looking directory listings for your IIS website with DirectoryListingModule

*************************************************(NEW) Update – 2/1/09:Clarified installation instructions (see post).Fixed bugs: – Occasional icons missing / icons missing during heavy load due to MTA problems with SHGetFileInfo (http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=337530) – Directory listing template has broken icons in some configurations *************************************************Update – 4/26/08:IconHandler 2.0 released. Use IconHandler to build your own directory listing, or any other app that needs file icons. **************************************************  Do you … [Read more…]

Display pretty file icons in your ASP.NET applications with IconHandler

*************************************************Update – 4/26/08:IconHandler 2.0 released.  **************************************************Update – 1/20/2007: Use the IconHandler in conjunction with the DirectoryListingModule to set up a nice-looking directory listing for your IIS website, or create a your own directory listing template.************************************************** Do you like file icons?  I do.  They make it pretty easy to visually digest file lists in Windows,  when … [Read more…]

You can actually download the hotlinking blocker module now

Apparently, my previous post of the LeechGuard hot-linking prevention module ended up with broken download and image links.  No-one could download the module, and on my home network I could see it just fine.  The funniest thing is that I found out about this from an internal email forward that referenced this module, and stated … [Read more…]

Fix problems with Visual Studio F5 debugging of ASP.NET applications on IIS7 Vista

********************************************************************** UPDATE – 4/8/2008 I’ve collected the various how-tos and gotchas about using Visual Studio 2005 and Visual Studio 2008 with IIS 7.0 applications into two detailed articles:Using Visual Studio 2005 with IIS 7.0Using Visual Studio 2008 with IIS 7.0Be sure to check them out for detailed info on working with both local and remote IIS … [Read more…]

IIS7 modules vs. IIS6 ISAPI: Managing request state in your module

For post #4 in the IIS7 Modules vs. IIS6 ISAPI series, let’s take a look at another common pattern in IIS module development – storing request-specific state inside your module. When developing a module that participates in request processing, it is often necessary to store request-specific state that the module computes in one stage of … [Read more…]