HTTP 403.9 - Access Forbidden: Too many users are connected

L

larry

Hi,

I got a c# asp.net program on windowsXP IIS.

My program is trying get a request from client then update a line chart
data, which is from sql server, in every 5 sec.

But I always get Error 403.9 after my program run for a while.

I checked MSDN. It means too many users. windowsXP only can handle up to 10.
there is only one client call every 5 sec.
it seems my asp program still keeping the old client connections, but I
don't need that.

so, is anyway my ASP.NET page can receive the client call, get the data from
database, and display the data on the line chart, then cut out the client
HTTP connection?
how to do that in C#?

thanks a lot,
larry
 
G

Grant Merwitz

What method are you using to retrieve the data?

DataReader?

Make sure you calling Conn.Close?
Try stepping through the code, and checking the
[ConnectionVariableName].State
You must be leaving those connections open somehow.

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,008
Messages
2,570,268
Members
46,867
Latest member
Lonny Petersen

Latest Threads

Top