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?