Creating portable ASP.NET applications that work on IIS 6.0, IIS 7.0 Classic, and IIS 7.0 Integrated modes

ASP.NET applications in IIS 7.0 Integrated mode requires configuration changes if they define custom modules or handlers. However, it is still possible to create portable ASP.NET applications that can function in all three environments without configuration changes. See how at http://mvolo.com/blogs/serverside/archive/2008/04/15/Creating-portable-ASP.NET-applications-that-work-on-IIS-6.0_2C00_-IIS-7.0-Classic_2C00_-and-IIS-7.0-Integrated-modes.aspx. Thanks, Mike

1

Request is not available in this context exception in Application_Start

The “Request is not available in this context” exception is one of the more common errors you may receive on when moving ASP.NET applications to Integrated mode on IIS 7.0.  This exception happens in your implementation of the Application_Start method in the global.asax file if you attempt to access the HttpContext of the request that…

1

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


Fastest way to create IIS7 websites, applications, and application pools

IIS7 provides quite a few ways to create websites, applications, and application pools.  You can use the GUI, but what if you need to create 10, 100, or even 10,000 websites?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.

1

New IIS7 modules, Hosting roadshow, MSDN magazine, IIS7 Resource Kit, and more

I’ve haven’t had a chance to post much over the past few weeks – its pretty frustrating at times to look at the ever-increasing backlog of juicy IIS7 topics that I want to cover and no time to actually do them justice.I’ve been working on a few interesting things lately, that have been taking my…


Developing IIS7 web server features with the .NET framework

This article, the first in the IIS7 .NET Developer series, focuses on getting started with developing IIS7 web server features based on the .NET Framework.  Learn about the options you have for your development environment, how to set up your Visual Studio project, when to build a module vs. a handler, and more.  By the…


IIS Authentication plugin for the WordPress PHP blogging engine

This weekend, I was working on an MSDN magazine article and happened to install PHP’s WordPress blog app on IIS7.  Of course, I used the latest FastCGI bits available in the box in in Windows Server 2008 Beta 3, and the latest Windows-optimized PHP 5.2.3 build from www.php.net.  Long story short, I ended up writing…

1

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…


Troubleshoot IIS7 errors like a pro

Dealing with server errors can be frustruating.  Thankfully, IIS7 comes with many improvements to help diagnose errors when they occur, and help resolve them – however, its important that you know how to property use these capabilities.  This post gives you what you need to know to troubleshoot IIS7 errors like a pro.Read all about…


Anatomy of an IIS7 configuration path

If you have worked with IIS6 and previous versions of IIS, you are most likely familiar with the IIS metabase paths.  You know, the ones that look like LM/W3SVC/1/ROOT.  The concept of configuration paths changes significantly in IIS7 with the introduction of the new distributed configuration system, and I wanted to spend some time discussing…