Home All Groups Group Topic Archive Search About

HTTP 403.9 - Access Forbidden: Too many users are connected

Author
13 Oct 2006 11:20 PM
Christina
Hello,

I am using IIS 5.1 on XP Pro.

I have a page with many links on it (say 'Main Page').
Clicking on any of the links in Main Page, leads to say 'Page1.

My Scenario (modified to make it simple):
Click on 1st link of 'Main Page', opens page - page1.
I press the browsers 'back' button and go back to 'Main Page'.
Click on 2nd link of 'Main Page', opens page - page1 again.
I press the browsers 'back' button and go back to 'Main Page'.
Click on 3nd link of 'Main Page', opens page - page1 again.

After doing this for a while, it gives me error :
HTTP 403.9 - Access Forbidden: Too many users are connected
Internet Information Services

All the links has the code:
Response.Redirect ("Page1.aspx", False)

If I restart IIS, it starts working fine. Also, this happens mostly
when I try to access the application from some other computer.

Any suggestion, whats going wrong ? Why is the connection not getting
closed ?
Its seems to be a simple problem, but i have been pulling my hair for a
while to get an answere.

Any help appreciated !!

Thanks !!

Author
14 Oct 2006 2:46 AM
Gaurav Vaish (www.EdujiniOnline.com)
> Any suggestion, whats going wrong ? Why is the connection not getting
> closed ?

Personal Edition IIS (on WinXP) has a hard limit of 10 simultaneous
connections.


--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujinionline.com
http://eduzine.edujinionline.com
-----------------------------------------
Author
14 Oct 2006 8:11 AM
Spam Catcher
"Gaurav Vaish \(www.EdujiniOnline.com\)"
<gaurav.vaish.nospam@nospam.gmail.com> wrote in news:#hJxwsz7GHA.1012
@TK2MSFTNGP05.phx.gbl:

>> Any suggestion, whats going wrong ? Why is the connection not getting
>> closed ?
>
> Personal Edition IIS (on WinXP) has a hard limit of 10 simultaneous
> connections.


Also turning off HTTP-Keep-Alives might help a bit on XP.
Author
16 Oct 2006 2:07 AM
Christina
Thanks Gaurav !!

I turned off HTTP Keep Alives. And it works fine.

Still, I am wondering, is this a coding bug ? As per my sequence of
steps, I am not opening many connections. I am closing all database
connections after using it (in fact, I havent reached that page which
has database connection, with my sequence of steps).

This was working fine for a while and suddenly this problem started.

Is there anything else I should take care of in my application ?

Thanks again !!

Spam Catcher wrote:
Show quote
> "Gaurav Vaish \(www.EdujiniOnline.com\)"
> <gaurav.vaish.nospam@nospam.gmail.com> wrote in news:#hJxwsz7GHA.1012
> @TK2MSFTNGP05.phx.gbl:
>
> >> Any suggestion, whats going wrong ? Why is the connection not getting
> >> closed ?
> >
> > Personal Edition IIS (on WinXP) has a hard limit of 10 simultaneous
> > connections.
>
>
> Also turning off HTTP-Keep-Alives might help a bit on XP.
Author
16 Oct 2006 4:02 AM
Gaurav Vaish (www.EdujiniOnline.com)
> Is there anything else I should take care of in my application ?

Probably you can explicitly send a header

"Connection: close"

The default value is keep-alive... :-)


--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujinionline.com
http://eduzine.edujinionline.com
-----------------------------------------
Author
16 Oct 2006 6:55 PM
Christina
Explicitly send a header ??
Is there a link which explains that or do you have a code snippet for
that..

Thanks !!


Gaurav Vaish (www.EdujiniOnline.com) wrote:
Show quote
> > Is there anything else I should take care of in my application ?
>
> Probably you can explicitly send a header
>
> "Connection: close"
>
> The default value is keep-alive... :-)
>
>
> --
> Happy Hacking,
> Gaurav Vaish | www.mastergaurav.com
> www.edujinionline.com
> http://eduzine.edujinionline.com
> -----------------------------------------

AddThis Social Bookmark Button