473,823 Members | 3,212 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Strange IIS connection error

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

Sep 14 '06 #1
8 2933
What 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" <jh***@blueyond er.co.ukwrote in message
news:h_******** **********@fe1. news.blueyonder .co.uk...
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


Sep 14 '06 #2

"Kevin Spencer" <uc*@ftc.govwro te in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
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?

Sep 14 '06 #3
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 español : http://asp.net.do/foros/
=============== =============== =====
"John Haycock" <jh***@blueyond er.co.ukwrote in message
news:WY******** *********@fe1.n ews.blueyonder. co.uk...
>
"Kevin Spencer" <uc*@ftc.govwro te in message news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>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?


Sep 14 '06 #4

"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:uY******** ******@TK2MSFTN GP03.phx.gbl...
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

Sep 14 '06 #5
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...o f 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 español : http://asp.net.do/foros/
=============== =============== =====
"John Haycock" <jh***@blueyond er.co.ukwrote in message
news:qc******** **********@fe1. news.blueyonder .co.uk...
>
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:uY******** ******@TK2MSFTN GP03.phx.gbl...
>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

Sep 14 '06 #6

"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
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...o f 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

Sep 14 '06 #7
re:
Hey Juan you are right that is a shock.
heh, heh... I knew it'd be a surprise. :-)

re:
Am I being hacked or what?
Nope. That's just the way things work.

re:
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/increase...onnections.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 español : http://asp.net.do/foros/
=============== =============== =====
"John Haycock" <jh***@blueyond er.co.ukwrote in message
news:cZ******** **********@fe1. news.blueyonder .co.uk...
>
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
>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...o f 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


Sep 14 '06 #8
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" <no***********@ nowhere.comwrot e in message
news:eD******** *****@TK2MSFTNG P03.phx.gbl...
re:
>Hey Juan you are right that is a shock.

heh, heh... I knew it'd be a surprise. :-)

re:
>Am I being hacked or what?

Nope. That's just the way things work.

re:
>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/increase...onnections.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 español : http://asp.net.do/foros/
=============== =============== =====
"John Haycock" <jh***@blueyond er.co.ukwrote in message
news:cZ******** **********@fe1. news.blueyonder .co.uk...
>>
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:%2******* *********@TK2MS FTNGP04.phx.gbl ...
>>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...o f 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





Sep 15 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1606
by: asra_baig | last post by:
I have a MySQL database and I'm able to access it correctly. I am also able to execute select, update and insert queries, however I am getting warnings saying: "supplied argument is not a valid MySQL result resource" and the result set returned is empty (for queries other than select). Strangely, my die function includes the query but the query is not printed. I've however printed the queries before executing and they are fine too. Can...
0
1341
by: Steve Barker | last post by:
Hi guys, I've written an application in C# that connects to a Paradox table via ODBC. My code has always worked fine, but now I've moved my application to another machine, it's stopped working! However, the way in which it has stopped working is very strange. Here is an example program that demonstrates my problem: ================
9
2209
by: Wescotte | last post by:
Here is a small sample program I wrote in PHP to help illustrates problem I'm having. The data base is using DB2 V5R3M0. The client is WinXP machine using the iSeries Client Access Driver ver 10.00.04.00 to connect to the database. The problem is that executing the exact same SQL select statement more than twice int a row stops produces results. The first two instances will always produce the correct results but after that it will simply...
4
5026
by: Abhishek Srivastava | last post by:
Hello All, I wrote a program in which I have a OleDbConnection which I open in the contructor and close in the Destructor. When I run the program I get the following error Unhandled Exception: System.InvalidOperationException: Handle is not initialized .. at System.WeakReference.get_Target()
0
1433
by: theintrepidfox | last post by:
Dear Group I came accross a very annoying behaviour of Visual Studio, giving me six hours of headache till I found the solution. This post is mainly for fellow developers for reference as it took me ages reading through tons of posts till I found an answer. However, I'm also interested why Visual Studio behaves that way. If anyone has a theorie on it please let me know.
2
1421
by: Buddy Ackerman | last post by:
I have a web app that I have setup on numerous web servers. I've set one up for a new client at their hosting facility and cannot get it to connect to their database. I get a "SQL Server does not exist or access denied." error. Well, the strangeness is that I have a SQL Query tool installed on this server and can connect to the database fine using the exact same connection parameters that I have specified in my web app. Even more strange...
2
1500
by: Diffident | last post by:
Hello All, I am trying to redirect users to a standby webpage in case our application is down due to database server failure. To facilitate this I am opening a test connection within a try/catch block in application_beginrequest event of global.asax and in case the connection could not be established, I am redirecting the users in the catch block. Now to the interesting part. I am in the testing phase of this feature. Since our...
4
1517
by: J. Jespersen | last post by:
Hi all, Have been using SqlDataSources for a while now. Reinstalled machine last week, now running Server 2003. Installed both SqlServer 2000 and 2005 with instance-names "sql2000" and "sql2005". Also installed both Visual Studio 2003 and 2005. VS2005 is the Release Candidate, and SQL2005 is the September CTP. During SqlDataSource configuration wizard, i can test connection and all is fine. I can see table names and views in the...
0
3575
by: ivb | last post by:
Hi all, I am using DB2 8.1.11.1 on NT with ASP.NET 1.1 When application make connection to database (via ADO.NET), it set "Connection timeout" parameter to 30 seconds. After, when my webpage requests database, and query execution time exceeds 30 seconds, the following error reported: ===
3
3386
by: Johnny Jörgensen | last post by:
I've got an error that I simply cannot locate: I've got a form in which I use a datareader object to read information from a db. After the read, I close the reader and I dispose of both the reader and the command object (but don't close the connection which is public in the solution). The first time i open my form from a parent form, there is no problem. Everything works fine. I then close down my form, and I dispose of the form.
0
10720
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10469
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10166
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9266
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6911
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5734
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4385
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3922
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3052
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.