Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to enable keep-alive on IIS 7 in a hosted scenario?

I attempted to use the answer to this SO question Where (or how) is the keep-alive setting in web.config?.

I added the following after the </configSections> closing tag:

            <limits connectionTimeout="00:00:05" />

This is the error I get:

Unrecognized configuration section system.applicationHost.

If I follow this MSDN article: Walkthrough: Creating a Configuration File for Hosted Web Core and add:

  <sectionGroup name="system.applicationHost"
      <section name="sites"
              overrideModeDefault="Deny" />

I get the following error:

It is an error to use a section registered as allowDefinition='MachineOnly' beyond machine.config.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.