Connection Limits (Maximum is 2)?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Aaron Pfeifer

    Connection Limits (Maximum is 2)?

    Hi,

    I'm currently running a load test in Visual Studio 2005 (Academic) / .NET
    2.0 against a web service written in c# (.NET 1.1). However, I'm only able
    to hit the web service with a maximum of 2 simultaneous clients. Now I know
    about the System.Net maxConnection property for ConnectionManag ement.
    However, setting this property does not seem to resolve the problem.

    I've got the same test application written in Visual Studio 2003 / .NET 1.1
    running against the web service with the maxConnection property set to 100,
    and it works fine (i.e. I can get up to 100 simultaenous users).

    This is my configuration file for .NET 2.0:

    <?xml version="1.0" encoding="utf-8" ?>
    <configuratio n>

    <!-- ... Nothing important here -->

    <system.net>
    <connectionMana gement>
    <!-- The total number of maximum connections allowed to a
    host -->
    <add address="*" maxconnection=" 100"/>
    </connectionManag ement>
    </system.net>

    </configuration>

    The tests are being executing using Visual Studio 2005's testing framework.
    If anyone has any insight into this problem, I'd greatly appreciate. Thanks
    in advance!

    Aaron


Working...