|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
HTTP 403.9 - Access Forbidden: Too many users are connectedI 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 !! > Any suggestion, whats going wrong ? Why is the connection not getting Personal Edition IIS (on WinXP) has a hard limit of 10 simultaneous > closed ? connections. -- Happy Hacking, Gaurav Vaish | www.mastergaurav.com www.edujinionline.com http://eduzine.edujinionline.com ----------------------------------------- "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 Also turning off HTTP-Keep-Alives might help a bit on XP.>> closed ? > > Personal Edition IIS (on WinXP) has a hard limit of 10 simultaneous > connections. 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 quoteHide 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. > 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 ----------------------------------------- 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 quoteHide 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 > -----------------------------------------
Find Files and folders
Prevent form minimize Threading a ShowDialog? - progress form. dialog to choose folder in vb .net 2005 Minimizing the Console Window reversing the Mod operator CopyMemory(buffer, newBuffer, nBytes)? How To Redistribute Office 2003 DLLS Datagridview and arraylist .net framework 1.1.4322 |
|||||||||||||||||||||||