473,287 Members | 1,947 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

MSDE on Windows 2000 Pro

Howdy!

I have a question for all you smarties... I have a ASP.Net application
running on Windows 2000 Professional and MSDE, same box. While running the
application, users will randomly receive a too many connections error or
even a simple Page cannot be displayed. I know some of the limitations of
MSDE and have managed to fudge my way around them, but what about Win2kPro
IIS? I'm thinking it won't let me a host an active application on it? This
app will be seeing 20-30 users at any point. We do have a Win2k3 SQL 2000
server available but my customer wants to know for sure this is the issue...

Thanks,

--
D a v i d L o z z i
Data & Web Technology Specialist
Delphi Technology Solutions, Inc.
Wilmington, MA
dlozzi@(remove this)delphi-ts.com - www.delphi-ts.com
May 16 '06 #1
3 1320

I'd look more toward your code as the issue, before the artificial msde
govenor.

IDataReader's must be CLOSED.
I repeat.
IDataReaders' must be CLOSED.

I'd look into using the DAAB 2.0 (sql server specific) or the
EnterpriseLibrary (Data especially).
They have already coded the best practices, so you don't have to remember
to.
If you're using ConnectionPooling, then you need to understand how it works,
or you can get a billion connections opened.

See
ISBN 159059522X for a great discussion on this.
typical code should look like this in the DataLayer.

public void ReadSomeData(){
IDataReader idr = null
try{

//do something here with the idr, like populate it, loop over it, etc ,etc
}
}finally{
if (null!=idr)
{
idr.Close();
}
}
}

There is no catch statement, place your catch statement in the business
layer or presentation layer.

See
http://blogs.msdn.com/brada/archive/...03/274718.aspx

for a discussion on this.
"David Lozzi" <dl****@nospam.nospam> wrote in message
news:eH**************@TK2MSFTNGP02.phx.gbl...
Howdy!

I have a question for all you smarties... I have a ASP.Net application
running on Windows 2000 Professional and MSDE, same box. While running the
application, users will randomly receive a too many connections error or
even a simple Page cannot be displayed. I know some of the limitations of
MSDE and have managed to fudge my way around them, but what about Win2kPro
IIS? I'm thinking it won't let me a host an active application on it? This
app will be seeing 20-30 users at any point. We do have a Win2k3 SQL 2000
server available but my customer wants to know for sure this is the issue...
Thanks,

--
D a v i d L o z z i
Data & Web Technology Specialist
Delphi Technology Solutions, Inc.
Wilmington, MA
dlozzi@(remove this)delphi-ts.com - www.delphi-ts.com

May 16 '06 #2

PS
http://spaces.msn.com/sholliday/ 12/16/2005

Check my blog... to see if you put in the correct settings on the install.

This is a smaller issue, compared to the IDataReader issue.

...

PPS

SqlReader is one implementation of IDataReader, fyi.
PPPS
On a web environment, your data code's goals are:

Open as late as possible
Do Something, but only what you need
CLOSE as SOON as possible.

A website is a great candidate for MSDE .... IF you code correctly ,
especially the dataaccess.


"David Lozzi" <dl****@nospam.nospam> wrote in message
news:eH**************@TK2MSFTNGP02.phx.gbl...
Howdy!

I have a question for all you smarties... I have a ASP.Net application
running on Windows 2000 Professional and MSDE, same box. While running the
application, users will randomly receive a too many connections error or
even a simple Page cannot be displayed. I know some of the limitations of
MSDE and have managed to fudge my way around them, but what about Win2kPro
IIS? I'm thinking it won't let me a host an active application on it? This
app will be seeing 20-30 users at any point. We do have a Win2k3 SQL 2000
server available but my customer wants to know for sure this is the issue...
Thanks,

--
D a v i d L o z z i
Data & Web Technology Specialist
Delphi Technology Solutions, Inc.
Wilmington, MA
dlozzi@(remove this)delphi-ts.com - www.delphi-ts.com

May 16 '06 #3
BY "20-30 users at any point", do you mean they may access to the web app at
the SAME time? If so, it is likely the host OS (Win2K Pro) problem, rather
than MSDE. For MSDE, if there is more than 5 concurrent connection at the
same time, the MSDE slows down due to the governer kicks in. In this case,
the connection to MSDE may get timeout error. OTH, WIN2K Pro only allows
maximum 10 connections. If you have more than 10 users to connection the
WIN2K Pro box, whether they connect to IIS for web apps (with or without
access to MSDE), or they connect to a shared folder, only 10 are allowed,
and you get "too many connections" error if more than 10 users trying to
connect to the machine. It is is this case, you have to go to a server OS,
or go back to Win98 (no 10 connection limit built-in, but may be too old OS
to go back).

"David Lozzi" <dl****@nospam.nospam> wrote in message
news:eH**************@TK2MSFTNGP02.phx.gbl...
Howdy!

I have a question for all you smarties... I have a ASP.Net application
running on Windows 2000 Professional and MSDE, same box. While running the
application, users will randomly receive a too many connections error or
even a simple Page cannot be displayed. I know some of the limitations of
MSDE and have managed to fudge my way around them, but what about Win2kPro
IIS? I'm thinking it won't let me a host an active application on it? This
app will be seeing 20-30 users at any point. We do have a Win2k3 SQL 2000
server available but my customer wants to know for sure this is the
issue...

Thanks,

--
D a v i d L o z z i
Data & Web Technology Specialist
Delphi Technology Solutions, Inc.
Wilmington, MA
dlozzi@(remove this)delphi-ts.com - www.delphi-ts.com

May 16 '06 #4

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

Similar topics

5
by: Igor Solodovnikov | last post by:
Hi. I am trying to automatically backup transaction log when error 9002 happened. So i have created appropriate job and alert to catch this error. I have two instances of sql server under Windows...
10
by: noname | last post by:
MSDE 2000 Release A installed under windows 2000 pro will not communicate with SQL Server Manager nor MS Access on peer computer. Can someone help? Have set DISABLENETWORKPROTOCOLS=0 at install...
0
by: kaps | last post by:
Hi, I have Installed MSDE 2000 on Windows 98 SE box After REBOOT MSDE service is running. I am not able to connect to the MSDE in WIndows Authentication mode while using Login ( sa ) / password...
1
by: Diana Finley | last post by:
Hi all, I just got SQL Server 2000, but I already have MSDE installed. Is there any reason I would want to keep MSDE around on my computer if I install SQL Server 2000? I use MS Visual Studio...
9
by: Piedro | last post by:
Hi Group, I haven written a program on a win 2000 pc and sql server 2000, in the sql server there're about 40 tables with data and now I'm deploying my project on a test pc with windows xp...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.