Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4244278
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:41:14+00:00 2026-05-21T03:41:14+00:00

I would like to add this section to my machine.config in exactly the same

  • 0

I would like to add this section to my machine.config in exactly the same way many articles and microsoft are suggesting:

  <configuration>
    <system.net>
       <connectionManagement>
         <add name = "www.contoso.com" maxconnection = "4" />
         <add name = "*" maxconnection = "2" />
       </connectionManagement>
     </system.net>
 </configuration>

http://msdn.microsoft.com/en-us/library/aa903351(v=vs.71).aspx
http://geekswithblogs.net/StuartBrierley/archive/2009/09/30/tuning-iis—machine.config-settings.aspx

As soon as I do it though, I get this exception when trying to hit a page hosted on the IIS on the same machine:

Parser Error Message: Unrecognized configuration section system.net.

Source Error:

Line 9:      settings that differ from their defaults.
Line 10: --><configuration>
Line 11:  <system.net>
Line 12:          <connectionManagement>
Line 13:              <add address="*" maxconnection="24" />

Source File:
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Config\machine.config

Line: 11

Where is the problem and how can I modify the machine.config so that I can finally control the maxconnection value?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T03:41:15+00:00Added an answer on May 21, 2026 at 3:41 am

    In my machine.config line 10 is still part of the opening comments. Did you delete those?

    the –> suggests you may not have deleted the closing xml comment, or you may have accidentally deleted the opening xml comment token. Make sure you have the opening <!--

    EDIT:

    Do you have the opening xml header? the fact the line numbers are off seems odd to me. Line 9 should be one line higher up.
    Here’s what it should look like:

    <?xml version="1.0" encoding="UTF-8"?>
    <!--
        Please refer to machine.config.comments for a description and
        the default values of each configuration section.
    
        For a full documentation of the schema please refer to
        http://go.microsoft.com/fwlink/?LinkId=42127
    
        To improve performance, machine.config should contain only those
        settings that differ from their defaults.
    -->
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have own project and i would like add for this class same as
I would like to add an item into a picture Library using c#. This
I would like to add cpuid functionality to my C# app. I found this
I have this edmx model (see below) and I would like to add an
I would like to know how to add menus similar to this to my
I'd like to add a keyword to my language. This keyword would only have
We would like to use msbuild to clear the connectionStrings section from a web.config
I would like to add the current version into the about section of my
I would like to add some additional information to my recently viewed products section
I have a ListView and each item have a TextView. I would like add

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.