Breaking Changes for ASP.NET 2.0 applications running in Integrated mode on IIS 7.0

ASP.NET 2.0 applications on IIS 7.0 are hosted using the ASP.NET Integrated mode by default.  This new mode enables a myriad of exciting scenarios including using super-valuable ASP.NET features like Forms Authentication for your entire Web site, and developing new ASP.NET modules to do things like URL rewriting, authorization, logging, and more at the IIS … [Read more…]

Troubleshoot IIS7 errors like a pro

So you just moved your application to an IIS7 server, and now you are getting an error when you make a request to it.  This seems to be a popular theme on IIS.NET forums these days, and after answering a hundred or so of these posts, I figured I should do something to help people … [Read more…]

Do complex IIS management tasks easily with AppCmd command piping

As much as I hate to re-post someone else’s content, I’ve been real busy in the past few weeks and havent had a chance to post new stuff – and today I saw Kanwal’s post on a very near and dear subject of mine: AppCmd command pipelining. Things you can do by piping appcmd commands … [Read more…]

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…]

Check network service connectivity with PortChecker tool

If you are unable to connect to a particular TCP service, such as a web server, ftp server, or anything else, you may be experiencing a number of both network and service connectivity problems: The hostname you typed in cannot be resolved The ip address of the server is not reachable due to network connectivity … [Read more…]

Dude, Sweet! New Error Page and FREB XSLs looks

IIS just got a lot cooler (looking): Check out the new styling XSL stylesheet for the FREB xml log files – http://blogs.iis.net/bills/archive/2006/10/19/Making-Failed-Request-Tracing-More-Approachable.aspx. FREB is a new IIS7 diagnostic feature that automatically collects detailed trace events for failed requests, and saves them as XML log files which can be visualized with the provided stylesheet. Just think … [Read more…]

Where did my IIS7 server go? Troubleshooting 503 "service unavailable" errors

In the previous post, I covered the “server not found” error that is a common and frustrating problem that may occur for a number of reasons after a configuration change, or when deploying a new server machine. Another common “what the hell just happened” error is the plain 503 “service available” error that looks like … [Read more…]

Where did my IIS7 server go? Troubleshooting "server not found" errors

Sometimes, after provisioning a new machine, or making some configuration changes, you may find that your IIS server has gone completely missing without so much as leaving you a note.  As you desperately try to bring up your site, your browser connection times out with “server not found” or, slightly better, you get the plain … [Read more…]