Upload large content with Http.sys, IIS, ASP and ASP.NET

Posted on Updated on

There is a limit on the size of content (like files) one can upload when that content is hosted on an Internet Information Services (IIS) web server. The limits in charge depend on

  • The version of IIS
  • The configuration of IIS
  • The possible usage of certain ISAPI extensions and filters
    • If so, which extensions/filters? (for example: ASP or ASP.NET)
    • If so, which versions of extensions/filters (for example: version 4.0 of ASP.NET)

Different versions of IIS and ISAPI extensions/filters have different upload limit settings and/or hardcoded upload limits. Yes, you can already feel this article, that restricts itself to IIS, ASP and ASP.NET, won’t be THAT easy… 😉
Read the rest of this entry »


Worker process termination warning for a recycle (IIS 6)

Posted on Updated on

When doing a recycle (scheduled or not) of an application pool it’s possible your System event log shows the following warning: “A process serving application pool ‘APPLICATION_POOL_NAME’ exceeded time limits during shut down. The process id was ‘PID’.” (Source: W3SVC; Category: None; Event ID: 1013), with APPLICATION_POOL_NAME the name of the application pool and PID the Process ID (PID) of the application pool’s worker process. Read the rest of this entry »

No user profile for IIS 6 application pool user…

Posted on Updated on

When a user has logged in, its user profile is loaded (whether it’s a local or roaming profile) and used locally. This implies the user has its own registry key under HKEY_USERS and its own subfolder under the “Documents and Settings” folder.

One day there is a problem with a .NET web application published in IIS 6. The application runs in its own application pool, so with its own worker process (w3wp.exe). Some user account is used as the application pool identity. The problem is some user-specific setting should have been retrieved from the registry, but the application doesn’t seem to do this. So let’s have a look at this setting: it’s stored under HKEY_USERS\SID (with SID being the SID of the application pool user). Read the rest of this entry »