Solved

How to remove idle connections from SQL Server 2005

Posted on 2009-03-31
3
365 Views
Last Modified: 2012-05-06
I have a web application which connects through application server to a SQL SERVER 2005 database. The problem is that after users login to database ( through AppServer, not directly from the Web Site ) and after some time the exit Web Browser window without normal logout process, then there are a lot of connections in SQL Server and they must be dropped. Is there way or parameter to poll idle connections and kill from the SQL Server 2005 ? Thanks.
0
Comment
Question by:johnf23
3 Comments
 
LVL 21

Accepted Solution

by:
JestersGrind earned 500 total points
ID: 24028206
Check out this link:

http://www.sqlservercentral.com/scripts/Maintenance+and+Management/30082/

It show how to do exactly what you are suggesting.  You would just need to schedule a SQL job to run it on a regular basis.

Greg


0
 

Author Comment

by:johnf23
ID: 24036017
I will have a look on it and let you know
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Display multiple images in report 12 102
Cassandra Select Query 1 52
Search combo error "Data Type Mismatch in Criteria Expression" 2 50
Unrecognized Database Format 8 90
APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
Creating and Managing Databases with phpMyAdmin in cPanel.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now