While developing a web app in visual interdev.net 2003
i get this error when i try to run the app:
There are too many people accessing the Web site at this time.
-----------------------
Please try the following:
a.. Click the Refresh button, or try again later.
b.. Open the localhost home page, and then look for links to the
information you want.
HTTP 403.9 - Access Forbidden: Too many users are connected
Internet Information Services
The problem is intermitent. I'm using IIS 5.1 and ASP 1.1
What can cause this? It's never happened to me before in the last 3 years
Thanks in advance
JohnWhat can cause this? It's never happened to me before in the last 3 years
It is caused by too many users being connected to Internet Information
Services.
--
HTH,
Kevin Spencer
Microsoft MVP
Chicken Salad Surgery
What You Seek Is What You Get.
"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:h_cOg.42635$89.33698@dotnet.itags.org.fe1.news.blueyonder.co.u k...
Quote:
Originally Posted by
Hi all
While developing a web app in visual interdev.net 2003
i get this error when i try to run the app:
>
There are too many people accessing the Web site at this time.
>
-----------------------
>
Please try the following:
>
a.. Click the Refresh button, or try again later.
>
b.. Open the localhost home page, and then look for links to the
information you want.
HTTP 403.9 - Access Forbidden: Too many users are connected
Internet Information Services
>
The problem is intermitent. I'm using IIS 5.1 and ASP 1.1
>
What can cause this? It's never happened to me before in the last 3 years
>
Thanks in advance
>
John
>
>
"Kevin Spencer" <uce@dotnet.itags.org.ftc.govwrote in message
news:%23GqxNrA2GHA.3464@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...
Quote:
Originally Posted by
It is caused by too many users being connected to Internet Information
Services.
Hi Kevin
That's the thing its on my development machine at home. Theres noone
connected to it but me?
One user can generate several connections.
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:WYdOg.43278$89.6405@dotnet.itags.org.fe1.news.blueyonder.co.uk ...
Quote:
Originally Posted by
>
"Kevin Spencer" <uce@dotnet.itags.org.ftc.govwrote in message news:%23GqxNrA2GHA.3464@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...
Quote:
Originally Posted by
>It is caused by too many users being connected to Internet Information Services.
>
Hi Kevin
>
That's the thing its on my development machine at home. Theres noone connected to it but me?
>
>
"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:uYziF3A2GHA.1288@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...
Quote:
Originally Posted by
One user can generate several connections.
Yes but I don't see how by just running a web app. I always close
connections in the code and it's the first time it's happened in over 3
years. it's just a basic site with some web forms and fckeditor embedded in
some of the pages
re:
Quote:
Originally Posted by
I always close connections in the code
The problem is not data access connections. You're not running out of those.
It's http connections.
Windows XP is limited to 10 connections...of all types, both incoming and outgoing.
Run this little test and you'll probably be surprised
at the number of connections you actually have open :
Open a command window ( Start, Run, cmd ) and issue the command :
netstat -a
Make sure you're sitting down when you do that.
I'll bet you didn't know you had so many active connections open.
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:qceOg.43433$89.34469@dotnet.itags.org.fe1.news.blueyonder.co.u k...
Quote:
Originally Posted by
>
"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:uYziF3A2GHA.1288@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...
Quote:
Originally Posted by
>One user can generate several connections.
Quote:
Originally Posted by
Yes but I don't see how by just running a web app. I always close connections in the code and it's
the first time it's happened in over 3 years. it's just a basic site with some web forms and
fckeditor embedded in some of the pages
"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:%23kK7LjB2GHA.3476@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...
Quote:
Originally Posted by
re:
Quote:
Originally Posted by
>I always close connections in the code
>
The problem is not data access connections. You're not running out of
those.
It's http connections.
>
Windows XP is limited to 10 connections...of all types, both incoming and
outgoing.
>
Run this little test and you'll probably be surprised
at the number of connections you actually have open :
>
Open a command window ( Start, Run, cmd ) and issue the command :
>
netstat -a
>
Make sure you're sitting down when you do that.
I'll bet you didn't know you had so many active connections open.
Hey Juan you are right that is a shock. But why has localhost got so many
connections open with lots of different ports? Am I being hacked or what? As
I say this is the first time in three years I've got that error so I'm
assuming I have more connections now for some reason
re:
Quote:
Originally Posted by
Hey Juan you are right that is a shock.
heh, heh... I knew it'd be a surprise. :-)
re:
Quote:
Originally Posted by
Am I being hacked or what?
Nope. That's just the way things work.
re:
Quote:
Originally Posted by
But why has localhost got so many connections open with lots of different ports?
Your server ( IIS 5.1 ) is listening on several ports and your active connections
( browser requests from IIS ) stay alive for the default time-to-live configured for Windows XP.
You shouldn't mess with the default time-to-live, but you can tweak
Windows XP so you can have more connections ( although you aren't supposed to ).
See :
http://www.theeldergeek.com/increas...connections.htm
and
http://www.helpwithwindows.com/WindowsXP/tune-120.html
They have the same instructions...
Note : Doing what those sites recommend implies editing the Windows Registry.
What I am telling you is not a recommendation to go ahead and hack
the Windows Registry and, if you do it, you do it at your own risk.
At the very least, backup your registry so you can restore it later in case of an "accident".
After those required disclaimers, feel free to proceed at your own risk.
:-)
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:cZfOg.44739$89.34883@dotnet.itags.org.fe1.news.blueyonder.co.u k...
Quote:
Originally Posted by
>
"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:%23kK7LjB2GHA.3476@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...
Quote:
Originally Posted by
>re:
Quote:
Originally Posted by
>>I always close connections in the code
>>
>The problem is not data access connections. You're not running out of those.
>It's http connections.
>>
>Windows XP is limited to 10 connections...of all types, both incoming and outgoing.
>>
>Run this little test and you'll probably be surprised
>at the number of connections you actually have open :
>>
>Open a command window ( Start, Run, cmd ) and issue the command :
>>
>netstat -a
>>
>Make sure you're sitting down when you do that.
>I'll bet you didn't know you had so many active connections open.
>
Hey Juan you are right that is a shock. But why has localhost got so many connections open with
lots of different ports? Am I being hacked or what? As I say this is the first time in three years
I've got that error so I'm assuming I have more connections now for some reason
>
>
Thanks for the help Juan. If it keeps happening as reguarly as it is doing
lately I might just give it a tweak :)
"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:eDEqZbC2GHA.868@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...
Quote:
Originally Posted by
re:
Quote:
Originally Posted by
>Hey Juan you are right that is a shock.
>
heh, heh... I knew it'd be a surprise. :-)
>
re:
Quote:
Originally Posted by
>Am I being hacked or what?
>
Nope. That's just the way things work.
>
re:
Quote:
Originally Posted by
>But why has localhost got so many connections open with lots of different
>ports?
>
Your server ( IIS 5.1 ) is listening on several ports and your active
connections
( browser requests from IIS ) stay alive for the default time-to-live
configured for Windows XP.
>
You shouldn't mess with the default time-to-live, but you can tweak
Windows XP so you can have more connections ( although you aren't supposed
to ).
>
See :
http://www.theeldergeek.com/increas...connections.htm
and
http://www.helpwithwindows.com/WindowsXP/tune-120.html
>
They have the same instructions...
>
Note : Doing what those sites recommend implies editing the Windows
Registry.
>
What I am telling you is not a recommendation to go ahead and hack
the Windows Registry and, if you do it, you do it at your own risk.
>
At the very least, backup your registry so you can restore it later in
case of an "accident".
After those required disclaimers, feel free to proceed at your own risk.
>
:-)
>
>
>
>
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:cZfOg.44739$89.34883@dotnet.itags.org.fe1.news.blueyonder.co.u k...
Quote:
Originally Posted by
>>
>"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
>news:%23kK7LjB2GHA.3476@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...
Quote:
Originally Posted by
>>re:
>>>I always close connections in the code
>>>
>>The problem is not data access connections. You're not running out of
>>those.
>>It's http connections.
>>>
>>Windows XP is limited to 10 connections...of all types, both incoming
>>and outgoing.
>>>
>>Run this little test and you'll probably be surprised
>>at the number of connections you actually have open :
>>>
>>Open a command window ( Start, Run, cmd ) and issue the command :
>>>
>>netstat -a
>>>
>>Make sure you're sitting down when you do that.
>>I'll bet you didn't know you had so many active connections open.
>>
>Hey Juan you are right that is a shock. But why has localhost got so many
>connections open with lots of different ports? Am I being hacked or what?
>As I say this is the first time in three years I've got that error so I'm
>assuming I have more connections now for some reason
>>
>>
>
>
>
0 comments:
Post a Comment