Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    UK
    Posts
    302
    Thanks
    16
    Thanked 0 Times in 0 Posts

    IIS Problems - To many connections

    Hi. Can anyone help me. This problem has just started to give me problems. IIS is tell me :-
    HTTP 403.9 - Access Forbidden: Too many users are connected
    Internet Information Services
    I know I can only get 10 connections on win xp pro. But I am only using one local web appliction. How can this be?
    Kind regards,
    Mike Hughes

  • #2
    Regular Coder
    Join Date
    May 2006
    Location
    Bristol, UK
    Posts
    147
    Thanks
    6
    Thanked 2 Times in 2 Posts
    hi mate,

    IIS holds sessions open for inactive users, you need to Force a timeout for inactive users.

    Right click on My Computer, click Manage

    In the Computer Management Console, go under Computer Management > Services and Applications > Internet Information Service > Web Sites

    Right click on your web site, click Properties

    On the Web Site tab, uncheck "HTTP Keep-Alives Enabled"

    that should sort your problem out because it timeout inactive users.

    Hopefully that will force the current inactive users to timeout aswell, but if not you will need to force them to time out, but lets cross that bridge if/when we come to it.

    Hope ive helped.

    Jon
    "You only live once, play it right, and once is enough" - me :)
    "When i die only god can take my soul" - me again! :P

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    UK
    Posts
    302
    Thanks
    16
    Thanked 0 Times in 0 Posts
    Hi - thanks for this. I already had read this by doing a google. I am going to try it again and if I still have problems I may post back.

    If anyone else has more suggestion then please post.
    Kind regards,
    Mike Hughes

  • #4
    Regular Coder
    Join Date
    Jul 2002
    Location
    UK
    Posts
    302
    Thanks
    16
    Thanked 0 Times in 0 Posts
    No joy. Still the same. Could this be the reuslt of sloppy code? Or I did read that access is may have an impact on this problem too?
    Kind regards,
    Mike Hughes

  • #5
    Regular Coder
    Join Date
    May 2006
    Location
    Bristol, UK
    Posts
    147
    Thanks
    6
    Thanked 2 Times in 2 Posts
    You have 2 options, you can run a script to release the dead connections to your server.

    OR.....

    i really shouldent be telling you this, but, in windows xp you are restricted to 10 connections, if you want more you have to buy a Server Operating system, so they say!!

    Download a tool, made by MS themselves!! metaedit

    Scan to the key LM/W3WSVC/MaxConnections and double click to edit, and change the number from 10 to 2000000000, this will put the limit to the same as Windows Server 2003, meaning you have a fully functional web server, pretty much!

    Hope that helps

    Jon
    "You only live once, play it right, and once is enough" - me :)
    "When i die only god can take my soul" - me again! :P

  • #6
    Regular Coder
    Join Date
    Jul 2002
    Location
    UK
    Posts
    302
    Thanks
    16
    Thanked 0 Times in 0 Posts
    Okay I have done this. Lets hope this should do the trick.
    Kind regards,
    Mike Hughes

  • #7
    Regular Coder
    Join Date
    Jul 2002
    Location
    UK
    Posts
    302
    Thanks
    16
    Thanked 0 Times in 0 Posts
    Okay I am now at my whits-end with this. The problem only seems happens when I try to access a site locally and its only me hows accessing the site.

    What the hell is going on? I have followed all the past posts - but the still give no soultion
    Kind regards,
    Mike Hughes

  • #8
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Did you try at least restarting all of the IIS services after making that change?
    OracleGuy

  • #9
    Regular Coder
    Join Date
    Jul 2002
    Location
    UK
    Posts
    302
    Thanks
    16
    Thanked 0 Times in 0 Posts
    I sure did. I have done this loads of time.

    This problem only seems to apply when I connect the IIS PC via my notebook from an other room.

    I am in the process of devloping a notebook application devopled in asp and driving off an access database. When I run this from my IIS machine the pages are fine and IIS runs the way it should. In addtion to this when I open up port 80 and test over the www it runs fine.

    So my problem seem to localised - I think! I had mentioned this before could it be sloppy code? Or to many dabase connections?
    Kind regards,
    Mike Hughes

  • #10
    Regular Coder
    Join Date
    May 2006
    Location
    Bristol, UK
    Posts
    147
    Thanks
    6
    Thanked 2 Times in 2 Posts
    my apologies, i was under the assumption that it was a webserver problem.

    Have you had the problem since installation of IIS or has it only started occuring recently. The problem isent likley to be IIS based if it works ok over wan.

    You want to run an application on a laptop, using a local IIS server right? If it worked previously and now doesent, it may be an IIS issue, however if the issue was the sessions running out (as the error message you gave us suggested) it would of been resolved by now through the methods i suggested. Which leads me to believe that IIS is lying to us.

    If on the other hand it has never worked, it may be a firewall issue on your local network. if not, have you tried re installing IIS or restarting the Services?

    To be honest it looks like a local issue, not sure if it would be sloppy code, i dont know asp well enough to make judgment on that, but if it were too many database connections it would not work locally on the IIS Box, or over :80.

    Hope that helps...

    jon
    "You only live once, play it right, and once is enough" - me :)
    "When i die only god can take my soul" - me again! :P

  • #11
    Regular Coder
    Join Date
    Jul 2002
    Location
    UK
    Posts
    302
    Thanks
    16
    Thanked 0 Times in 0 Posts
    It's only started occuring recently. My laptop is local and is in going to my local pc which has IIS.

    Today again I tested it over WAN and no problems.
    Kind regards,
    Mike Hughes

  • #12
    Regular Coder
    Join Date
    May 2006
    Location
    Bristol, UK
    Posts
    147
    Thanks
    6
    Thanked 2 Times in 2 Posts
    seems like a really bizarre problem, IIS is working correctly, because it works on local machine and over wan. hmmmm...

    Do you know if IIS works with another client machine? or do you only have your laptop to test with?

    Maybe the problem is not with IIS at all, it looks like the problem maybe on your laptop.
    "You only live once, play it right, and once is enough" - me :)
    "When i die only god can take my soul" - me again! :P

  • #13
    Regular Coder
    Join Date
    Jul 2002
    Location
    UK
    Posts
    302
    Thanks
    16
    Thanked 0 Times in 0 Posts
    I do have a seconed pc and will try this tonight. If it is my laptop what would do this to IIS?
    Kind regards,
    Mike Hughes

  • #14
    Regular Coder
    Join Date
    Jul 2002
    Location
    UK
    Posts
    302
    Thanks
    16
    Thanked 0 Times in 0 Posts
    I just tried using my second pc. No problems with IIS or my asp appliction. So the problem seems to be on my laptop over my wirless newtwork.

    I do have IIS installed on my laptoptop - could this be the problem?
    Kind regards,
    Mike Hughes

  • #15
    Regular Coder
    Join Date
    May 2006
    Location
    Bristol, UK
    Posts
    147
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Yes, that may cause a problem.

    Try uninstalling IIS from the laptop.
    "You only live once, play it right, and once is enough" - me :)
    "When i die only god can take my soul" - me again! :P


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •