WebLog Posts in Category IIS7
IIS SSL Certificate Renewal Pain
May 08, 2014 @ 1:53pm

IIS SSL Certificate renewals always seem to be a pain. Rarely does it just go right and I never seem to remember whether I should renew, or just issue a new cert. The answer is the latter, but this post discusses some of the issues and how to avoid them when renewing or installing new SSL certificates.

9 comments
Set-Cookie Headers getting stripped in ASP.NET HttpHandlers
November 29, 2012 @ 5:38pm

Ran into a nasty problem with Cookies not getting sent in HttpHandler code when using Response.AppendHandler() with the Set-Cookie key. It turns out it's a very narrow edge case, but one that can bite in unexpected system level applications.

4 comments
Caveats with the runAllManagedModulesForAllRequests in IIS 7/8
October 25, 2012 @ 11:15pm

IIS 7 and 8 support using Managed Modules to handle access to all IIS request content which is very powerful. But sometimes you actually want to not handle non-ASP.NET content and it's not very obvious how to minimize access to non-ASP.NET requests in managed modules.

6 comments
A tiny Utility to recycle an IIS Application Pool
October 02, 2012 @ 3:29am

Here's a small console app to recycle an Application Pool which seems to be something I've needed to do repeatedly in the past.

18 comments
Physical Directories vs. MVC View Paths
April 05, 2012 @ 2:38pm

Physical directories that map paths that are also mapped by ASP.NET MVC routes can cause some consternation, especially if you're not aware that there's pathing overlap between the two. This post is a story about an operator error episode of an accidental file move that took a while to trace down due physical path interference.

5 comments
Built-in GZip/Deflate Compression on IIS 7.x
May 05, 2011 @ 1:42am

IIS 7.x makes content compression via GZip very easy. Here's how compression on IIS works and how you can set it up on your server in a few simple steps.

12 comments
ASP.NET GZip Encoding Caveats
May 02, 2011 @ 3:17am

GZip and Deflate compression is easy to use in ASP.NET applications, but there are a few caveats that you need to watch out for. This post reviews the basics of implementing compression in ASP.NET code and describes a couple of scenarios that can cause problems when using programmatic compression via Response.Filter.

22 comments
Error on 64 Bit Install of IIS – LoadLibraryEx failed on aspnet_filter.dll
April 04, 2011 @ 1:07pm

Ran into a problem on my 64 bit machine with IIS trying to load 32 bit dlls. Turns out this is a misconfiguration that occurred from some additional installation that failed to set a specific bitness valuie and pointed to 32 bit install. Here's what happened and how it got fixed.

23 comments
ASP.NET Routing not working on IIS 7.0
March 27, 2011 @ 1:14pm

Got caught be a difference in behavior between IIS 7.0 and IIS 7.5 with how module management to extensionless URLs are fired in IIS. Routing was working fine on my dev machine, but not on my live server. Here's what you need to watch out for.

15 comments
Microsoft Introduces WebMatrix
August 17, 2010 @ 3:44pm

Microsoft recently released a preview of WebMatrix a tool geared towards hobby/non-developer types to build Web applications. This all in one environment is supposed to simplify Web development with having to be an expert. In this post I review some of the interesting features and how they stack up.

10 comments
HttpModule and HttpHandler sections in IIS 7 web.config files
October 10, 2007 @ 12:21pm

Moving between IIS 5/6 and IIS 7 often causes some web.config conflict between the system.web and system.webserver handler and module sections. IIS 7 expects its handlers and modules defined only in its configuration section - if you still have handlers in system.web a configuration error occurs. Here's a useful switch that lets you turn off validation of system.web handlers and modules so you can ship web.config files that contain both.

16 comments


West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2014