Windows XP Professional runs IIS version 5.1, which comes with a 10 connection limit. Often that's not enough when you are testing a site from multiple browsers (or multiple locations). You can easily increase the limit to the hardcoded maximum: 40 connections.
Make a command prompt window (start, run, cnd.exe) and issue these commands.
cscript adsutil.vbs set w3svc/MaxConnections 40
The first command connects you to the adminscripts folder. The second command runs a script that sets the MaxConnections value in the IIS metabase to 40 (the maximum allowed). The third command (iisreset) shuts down and then restarts IIS.
Feedback received on this FAQ entry:
- Thank you sir
- THANKS A LOT SIR
- I need max 200 connections. Is it possible??
- WOW this solved all my problems !
- Thank you so much!!! This fixed my random images not loading.
- Thank you very much!!!
- its really helpful, thx
- Thank you very much it helps a lot.
- am having a report that system can not find the path specified
- It worked for me on several occasions.
Thanx for the knowledge shared.
- Very informative Thanks a lot
- thanku u very much
- its too GOOD...
- cmd.exe not cnd.exe
- Wow, great FAQ! You say that 40 is the hardcoded maximum; is this an OS limitation, or a limitation of the IIS version that comes with XP? email@example.com Thanks!
by big greg
last modified: 2005-06-09 09:24:20