View Full Version : IIS Problems - To many connections
05-06-2006, 12:06 PM
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?
05-06-2006, 06:42 PM
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.
05-07-2006, 09:35 AM
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.
05-07-2006, 02:06 PM
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?
05-08-2006, 05:53 PM
You have 2 options, you can run a script to release the dead connections to your server.
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 (http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B301386)
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
05-08-2006, 10:45 PM
Okay I have done this. Lets hope this should do the trick.
05-09-2006, 10:23 PM
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
05-10-2006, 03:35 AM
Did you try at least restarting all of the IIS services after making that change?
05-10-2006, 09:57 AM
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?
05-10-2006, 03:49 PM
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...
05-10-2006, 09:26 PM
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.
05-11-2006, 01:46 PM
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.
05-11-2006, 07:11 PM
I do have a seconed pc and will try this tonight. If it is my laptop what would do this to IIS?
05-12-2006, 11:33 AM
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?
05-17-2006, 05:02 PM
Yes, that may cause a problem.
Try uninstalling IIS from the laptop.
05-17-2006, 05:54 PM
just a quick thought, when you say you have IIS on the laptop aswell??
Do you mean you have installed IIS on the laptop??
Or does the laptop have Win XP? If i remember rightly Win XP comes with IIS already doesent it?