Showing posts with label connections. Show all posts
Showing posts with label connections. Show all posts

Tuesday, March 27, 2012

Does SQL Server 2005 Clean Up Unclosed Connections?

Hi all,
I have a quick question with regards to how SQL Server (2005) will treat
conncetions that are left open (due to a programmer forgetting to close
them in a .net web app).
I'm basically wondering if they'll just sit their indefinately, or will
SQL Server kill them after a period of inactivity? If it will eventually
kill them off, what is the period of time that it will wait for?
Thanks to anyone who can advise
Simon
Hi there
OK - now what will cause the network layer that the connection is no
more? The application or website being restarted?
Thanks
Simon
Tibor Karaszi wrote:
> SQL Server will kill (first rollback if necessary) the connections when the network layer had
> informed that this is no more.
>

Does SQL Server 2005 Clean Up Unclosed Connections?

Hi all,
I have a quick question with regards to how SQL Server (2005) will treat
conncetions that are left open (due to a programmer forgetting to close
them in a .net web app).
I'm basically wondering if they'll just sit their indefinately, or will
SQL Server kill them after a period of inactivity? If it will eventually
kill them off, what is the period of time that it will wait for?
Thanks to anyone who can advise
SimonSQL Server will kill (first rollback if necessary) the connections when the
network layer had
informed that this is no more.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Simon Harvey" <nothanks@.hotmail.com> wrote in message
news:%23k1h3RqHHHA.420@.TK2MSFTNGP02.phx.gbl...
> Hi all,
> I have a quick question with regards to how SQL Server (2005) will treat c
onncetions that are left
> open (due to a programmer forgetting to close them in a .net web app).
> I'm basically wondering if they'll just sit their indefinately, or will SQ
L Server kill them after
> a period of inactivity? If it will eventually kill them off, what is the p
eriod of time that it
> will wait for?
> Thanks to anyone who can advise
> Simon|||Hi there
OK - now what will cause the network layer that the connection is no
more? The application or website being restarted?
Thanks
Simon
Tibor Karaszi wrote:
> SQL Server will kill (first rollback if necessary) the connections when th
e network layer had
> informed that this is no more.
>|||I guess that is more a question to the networking people. But if you termina
te the application, I'd
assume that the network layer will report that the TCP session (for instance
) has been terminated.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Simon Harvey" <nothanks@.hotmail.com> wrote in message news:Or9TxGtHHHA.1784@.TK2MSFTNGP06.ph
x.gbl...[vbcol=seagreen]
> Hi there
> OK - now what will cause the network layer that the connection is no more?
The application or
> website being restarted?
> Thanks
> Simon
> Tibor Karaszi wrote:

Does SQL Server 2005 Clean Up Unclosed Connections?

Hi all,
I have a quick question with regards to how SQL Server (2005) will treat
conncetions that are left open (due to a programmer forgetting to close
them in a .net web app).
I'm basically wondering if they'll just sit their indefinately, or will
SQL Server kill them after a period of inactivity? If it will eventually
kill them off, what is the period of time that it will wait for?
Thanks to anyone who can advise
SimonSQL Server will kill (first rollback if necessary) the connections when the network layer had
informed that this is no more.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Simon Harvey" <nothanks@.hotmail.com> wrote in message
news:%23k1h3RqHHHA.420@.TK2MSFTNGP02.phx.gbl...
> Hi all,
> I have a quick question with regards to how SQL Server (2005) will treat conncetions that are left
> open (due to a programmer forgetting to close them in a .net web app).
> I'm basically wondering if they'll just sit their indefinately, or will SQL Server kill them after
> a period of inactivity? If it will eventually kill them off, what is the period of time that it
> will wait for?
> Thanks to anyone who can advise
> Simon|||Hi there
OK - now what will cause the network layer that the connection is no
more? The application or website being restarted?
Thanks
Simon
Tibor Karaszi wrote:
> SQL Server will kill (first rollback if necessary) the connections when the network layer had
> informed that this is no more.
>|||I guess that is more a question to the networking people. But if you terminate the application, I'd
assume that the network layer will report that the TCP session (for instance) has been terminated.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Simon Harvey" <nothanks@.hotmail.com> wrote in message news:Or9TxGtHHHA.1784@.TK2MSFTNGP06.phx.gbl...
> Hi there
> OK - now what will cause the network layer that the connection is no more? The application or
> website being restarted?
> Thanks
> Simon
> Tibor Karaszi wrote:
>> SQL Server will kill (first rollback if necessary) the connections when the network layer had
>> informed that this is no more.

Sunday, March 25, 2012

Does sql express license limits number of user / connections?

I can't find the answer...it just talk about the CPU / ram /database limit. thanks for you help!
Hi,

no current query limit anymore, the query governour went into retirement :-). Only limitations like those you mentioned are applied.

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de
sql

Does SQL Express have a Simultaneous Connections Limit?

I have used MSDE in the past & it had a limit on the number of simultaneous
connections per the Microsoft paid support folks. I found various articles
on SQL Express with the limitations but nothing referencing the number of
connections. Has anyone already found this out?"BCW" <nospam@.cfl.rr.com> wrote in message
news:uiyafD9PGHA.2912@.tk2msftngp13.phx.gbl...
>I have used MSDE in the past & it had a limit on the number of
>simultaneous
> connections per the Microsoft paid support folks. I found various
> articles
> on SQL Express with the limitations but nothing referencing the number of
> connections. Has anyone already found this out?
There is no limitation on connections in MSDE or in SQL Express. MSDE was
optimized for a "typical" load of upto 25 users I believe but this wasn't a
hard limit it was just a potential throttle on scalability. AFAIK there is
no such constraint on SQL Express. If you check out the feature comparison
however you'll see that Express supports only a single processor and 1GB
RAM. So those are the limits you have to work within:
http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx
--
David Portas, SQL Server MVP
Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.
SQL Server Books Online:
http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx
--

Does SQL Express have a Simultaneous Connections Limit?

I have used MSDE in the past & it had a limit on the number of simultaneous
connections per the Microsoft paid support folks. I found various articles
on SQL Express with the limitations but nothing referencing the number of
connections. Has anyone already found this out?
"BCW" <nospam@.cfl.rr.com> wrote in message
news:uiyafD9PGHA.2912@.tk2msftngp13.phx.gbl...
>I have used MSDE in the past & it had a limit on the number of
>simultaneous
> connections per the Microsoft paid support folks. I found various
> articles
> on SQL Express with the limitations but nothing referencing the number of
> connections. Has anyone already found this out?
There is no limitation on connections in MSDE or in SQL Express. MSDE was
optimized for a "typical" load of upto 25 users I believe but this wasn't a
hard limit it was just a potential throttle on scalability. AFAIK there is
no such constraint on SQL Express. If you check out the feature comparison
however you'll see that Express supports only a single processor and 1GB
RAM. So those are the limits you have to work within:
http://www.microsoft.com/sql/prodinf...-features.mspx
David Portas, SQL Server MVP
Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.
SQL Server Books Online:
http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx

Does SQL Express have a Simultaneous Connections Limit?

I have used MSDE in the past & it had a limit on the number of simultaneous
connections per the Microsoft paid support folks. I found various articles
on SQL Express with the limitations but nothing referencing the number of
connections. Has anyone already found this out?"BCW" <nospam@.cfl.rr.com> wrote in message
news:uiyafD9PGHA.2912@.tk2msftngp13.phx.gbl...
>I have used MSDE in the past & it had a limit on the number of
>simultaneous
> connections per the Microsoft paid support folks. I found various
> articles
> on SQL Express with the limitations but nothing referencing the number of
> connections. Has anyone already found this out?
There is no limitation on connections in MSDE or in SQL Express. MSDE was
optimized for a "typical" load of upto 25 users I believe but this wasn't a
hard limit it was just a potential throttle on scalability. AFAIK there is
no such constraint on SQL Express. If you check out the feature comparison
however you'll see that Express supports only a single processor and 1GB
RAM. So those are the limits you have to work within:
http://www.microsoft.com/sql/prodin...e-features.mspx
David Portas, SQL Server MVP
Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.
SQL Server Books Online:
http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx
--

Monday, March 19, 2012

Does not allow remote connections

I have installed SQL Server 2005 Std on an XP system for development using VS 2005. When I try to
connect to the DB via Server Management Studio, I get the message that "... does not allow remote
connections".
When I launch Surface Area Configuration and select the Surface Area Configuration for Services and
Connections, I see only 4 services listed: Analysis, Reporting, Integration and SQL Server Browser.
There is no Database Engine Service listed!
Have I installed incorrectly?
TIA LarsHello,
Please check if the following folder exist:
%programfiles%\Microsoft sql server\mssql.1\mssql\data
If it does not exist, it seems the database engine is not installed, you
may want to go to Add/Remove program to install this component.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
>NNTP-Posting-Date: Fri, 10 Mar 2006 01:47:30 -0600
>From: larzeb <larzeb@.community.nospam>
>Newsgroups: microsoft.public.sqlserver.server
>Subject: Does not allow remote connections
>Date: Thu, 09 Mar 2006 23:47:23 -0800
>Message-ID: <oeb212ljn7hj2gqd0b795dkcd0mqv6qf3h@.4ax.com>
>X-Newsreader: Forte Agent 3.1/32.783
>MIME-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>Lines: 11
>X-Trace:
sv3-PjJxXeuzs9DydzPoFbzAokDHiY6O/KXDzjV8O7hEwxj/ljIdWbzP3wItPsTOueQ5nFw/SN8L
okMLvDY!lpKWpYf6RQBHuNvVXmwxsNoiCv3bMHVGU73LWN6CN48tFv9p/w4z0jbRyZAA6ZBcpvbv
WXA=>X-Complaints-To: abuse@.giganews.com
>X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
>X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
>X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
complaint properly
>X-Postfilter: 1.3.32
>Path:
TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.gigan
ews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
>Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423971
>X-Tomcat-NG: microsoft.public.sqlserver.server
>I have installed SQL Server 2005 Std on an XP system for development using
VS 2005. When I try to
>connect to the DB via Server Management Studio, I get the message that
"... does not allow remote
>connections".
>When I launch Surface Area Configuration and select the Surface Area
Configuration for Services and
>Connections, I see only 4 services listed: Analysis, Reporting,
Integration and SQL Server Browser.
>There is no Database Engine Service listed!
>Have I installed incorrectly?
>TIA Lars
>

Does not allow remote connections

I have installed SQL Server 2005 Std on an XP system for development using VS 2005. When I try to
connect to the DB via Server Management Studio, I get the message that "... does not allow remote
connections".
When I launch Surface Area Configuration and select the Surface Area Configuration for Services and
Connections, I see only 4 services listed: Analysis, Reporting, Integration and SQL Server Browser.
There is no Database Engine Service listed!
Have I installed incorrectly?
TIA Lars
Hello,
Please check if the following folder exist:
%programfiles%\Microsoft sql server\mssql.1\mssql\data
If it does not exist, it seems the database engine is not installed, you
may want to go to Add/Remove program to install this component.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.
--
>NNTP-Posting-Date: Fri, 10 Mar 2006 01:47:30 -0600
>From: larzeb <larzeb@.community.nospam>
>Newsgroups: microsoft.public.sqlserver.server
>Subject: Does not allow remote connections
>Date: Thu, 09 Mar 2006 23:47:23 -0800
>Message-ID: <oeb212ljn7hj2gqd0b795dkcd0mqv6qf3h@.4ax.com>
>X-Newsreader: Forte Agent 3.1/32.783
>MIME-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>Lines: 11
>X-Trace:
sv3-PjJxXeuzs9DydzPoFbzAokDHiY6O/KXDzjV8O7hEwxj/ljIdWbzP3wItPsTOueQ5nFw/SN8L
okMLvDY!lpKWpYf6RQBHuNvVXmwxsNoiCv3bMHVGU73LWN6CN4 8tFv9p/w4z0jbRyZAA6ZBcpvbv
WXA=
>X-Complaints-To: abuse@.giganews.com
>X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
>X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
>X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
complaint properly
>X-Postfilter: 1.3.32
>Path:
TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!border1.nntp.d ca.giganews.com!nntp.gigan
ews.com!local01.nntp.dca.giganews.com!news.giganew s.com.POSTED!not-for-mail
>Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423971
>X-Tomcat-NG: microsoft.public.sqlserver.server
>I have installed SQL Server 2005 Std on an XP system for development using
VS 2005. When I try to
>connect to the DB via Server Management Studio, I get the message that
"... does not allow remote
>connections".
>When I launch Surface Area Configuration and select the Surface Area
Configuration for Services and
>Connections, I see only 4 services listed: Analysis, Reporting,
Integration and SQL Server Browser.
>There is no Database Engine Service listed!
>Have I installed incorrectly?
>TIA Lars
>

Does not allow remote connections

I have installed SQL Server 2005 Std on an XP system for development using V
S 2005. When I try to
connect to the DB via Server Management Studio, I get the message that "...
does not allow remote
connections".
When I launch Surface Area Configuration and select the Surface Area Configu
ration for Services and
Connections, I see only 4 services listed: Analysis, Reporting, Integration
and SQL Server Browser.
There is no Database Engine Service listed!
Have I installed incorrectly?
TIA LarsHello,
Please check if the following folder exist:
%programfiles%\Microsoft sql server\mssql.1\mssql\data
If it does not exist, it seems the database engine is not installed, you
may want to go to Add/Remove program to install this component.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
=============
This posting is provided "AS IS" with no warranties, and confers no rights.
--
>NNTP-Posting-Date: Fri, 10 Mar 2006 01:47:30 -0600
>From: larzeb <larzeb@.community.nospam>
>Newsgroups: microsoft.public.sqlserver.server
>Subject: Does not allow remote connections
>Date: Thu, 09 Mar 2006 23:47:23 -0800
>Message-ID: <oeb212ljn7hj2gqd0b795dkcd0mqv6qf3h@.4ax.com>
>X-Newsreader: Forte Agent 3.1/32.783
>MIME-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>Lines: 11
>X-Trace:
sv3-PjJxXeuzs9DydzPoFbzAokDHiY6O/KXDzjV8O7hEwxj/ljIdWbzP3wItPsTOueQ5nFw/SN8L
okMLvDY!lpKWpYf6RQBHuNvVXmwxsNoiCv3bMHVG
U73LWN6CN48tFv9p/w4z0jbRyZAA6ZBcpvbv
WXA=
>X-Complaints-To: abuse@.giganews.com
>X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
>X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
>X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
complaint properly
>X-Postfilter: 1.3.32
>Path:
TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.gigan
ews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
>Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423971
>X-Tomcat-NG: microsoft.public.sqlserver.server
>I have installed SQL Server 2005 Std on an XP system for development using
VS 2005. When I try to
>connect to the DB via Server Management Studio, I get the message that
"... does not allow remote
>connections".
>When I launch Surface Area Configuration and select the Surface Area
Configuration for Services and
>Connections, I see only 4 services listed: Analysis, Reporting,
Integration and SQL Server Browser.
>There is no Database Engine Service listed!
>Have I installed incorrectly?
>TIA Lars
>

Does MSDE listen on 1433 by default?

Does a default installation of MSDE listen for connections on TCP/IP port
1433 by default or do I need to explicitly turn the TCP/IP listener on using
svrnetcn.exe?
(I'm using W2kR4 (v5.00.2195) and MSDE v8.000.761)
hi,
sparky62 wrote:
> Does a default installation of MSDE listen for connections on TCP/IP
> port 1433 by default or do I need to explicitly turn the TCP/IP
> listener on using svrnetcn.exe?
> (I'm using W2kR4 (v5.00.2195) and MSDE v8.000.761)
if network protocols have been enabled at install time
(DISABLENETWORKPROTOCOLS=0 parameter) TCP/IP port 1433 is assigned by
default to a default instance, where named instances use by default
dynamically assigned port, and thus UDP 1434 is needed to..
The SQL Server Resolution Service, which operates on UDP port 1434, provides
a way for clients to query for the appropriate network endpoints to use for
a particular SQL Server instance... this handshake is provided at connection
time via MDAC stack (MDAC must be at 2.6 level at least) , the SQL Server
Resolution Service queries the SQL Server instance for the port it is
listening to and transfer that info to the client redirecting the dialog to
that port...
if a static port has been assigned, the SQL Server Resolution Service is no
longer needed but you have to define an Alias pointing to the server on the
correct port on each remote client..
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.15.0 - DbaMgr ver 0.60.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply