Click here to Skip to main content
16,004,602 members
Home / Discussions / Database
   

Database

 
GeneralRe: Creating a new access database ERROR Pin
Rob Graham22-Jul-05 7:50
Rob Graham22-Jul-05 7:50 
GeneralRe: Creating a new access database ERROR Pin
Martin@captivasystems22-Jul-05 8:02
Martin@captivasystems22-Jul-05 8:02 
GeneralRe: Creating a new access database ERROR Pin
Rob Graham22-Jul-05 10:18
Rob Graham22-Jul-05 10:18 
GeneralRe: Creating a new access database ERROR Pin
Martin@captivasystems22-Jul-05 11:31
Martin@captivasystems22-Jul-05 11:31 
Generaldebugging stored procedure Pin
paragraut22-Jul-05 2:23
paragraut22-Jul-05 2:23 
GeneralRe: debugging stored procedure Pin
Scott Serl22-Jul-05 11:21
Scott Serl22-Jul-05 11:21 
GeneralRe: debugging stored procedure Pin
paragraut22-Jul-05 20:56
paragraut22-Jul-05 20:56 
GeneralRe: debugging stored procedure Pin
Scott Serl23-Jul-05 11:54
Scott Serl23-Jul-05 11:54 
GeneralRe: debugging stored procedure Pin
paragraut25-Jul-05 0:06
paragraut25-Jul-05 0:06 
GeneralRe: debugging stored procedure Pin
Rob Graham25-Jul-05 4:38
Rob Graham25-Jul-05 4:38 
GeneralRe: debugging stored procedure Pin
paragraut26-Jul-05 3:09
paragraut26-Jul-05 3:09 
GeneralRe: debugging stored procedure Pin
Scott Serl25-Jul-05 10:35
Scott Serl25-Jul-05 10:35 
QuestionADO .net problem? Pin
Smear122-Jul-05 0:34
sussSmear122-Jul-05 0:34 
GeneralReporting Service / URL Access - login credentials Pin
devvvy21-Jul-05 20:36
devvvy21-Jul-05 20:36 
QuestionHow can i find the Row number in DataRowCollection Pin
m.rastgar21-Jul-05 12:08
m.rastgar21-Jul-05 12:08 
AnswerRe: How can i find the Row number in DataRowCollection Pin
Alomgir Miah22-Jul-05 5:13
Alomgir Miah22-Jul-05 5:13 
GeneralRe: How can i find the Row number in DataRowCollection Pin
Alomgir Miah22-Jul-05 5:18
Alomgir Miah22-Jul-05 5:18 
QuestionHow to perform Database Update with out using controls or SQL commnads using ADO.NET Pin
S.Lalitha21-Jul-05 6:51
S.Lalitha21-Jul-05 6:51 
AnswerRe: How to perform Database Update with out using controls or SQL commnads using ADO.NET Pin
Rob Graham21-Jul-05 8:06
Rob Graham21-Jul-05 8:06 
GeneralRe: How to perform Database Update with out using controls or SQL commnads using ADO.NET Pin
ToddHileHoffer21-Jul-05 9:57
ToddHileHoffer21-Jul-05 9:57 
GeneralRe: How to perform Database Update with out using controls or SQL commnads using ADO.NET Pin
Rob Graham21-Jul-05 10:11
Rob Graham21-Jul-05 10:11 
AnswerRe: How to perform Database Update with out using controls or SQL commnads using ADO.NET Pin
Anonymous21-Jul-05 22:14
Anonymous21-Jul-05 22:14 
GeneralRe: How to perform Database Update with out using controls or SQL commnads using ADO.NET Pin
AmmuRaj21-Jul-05 22:55
AmmuRaj21-Jul-05 22:55 
GeneralRe: How to perform Database Update with out using controls or SQL commnads using ADO.NET Pin
Rob Graham22-Jul-05 5:10
Rob Graham22-Jul-05 5:10 
GeneralADO 2.8 Connection Object Closing SQL Server Connection Pin
QuintesV21-Jul-05 5:12
QuintesV21-Jul-05 5:12 
Hi All,

I execute the following code:

con.Open "server=(local);database=pubs;uid=sa;pwd=apwd;driver=sql server;app=testapp"
MsgBox "Click ok to close connection"
con.Close

Once I all the con.close, it takes approximately 1 minute for the connection to the sql server to be released. I have verified this by doing a sp_who2 in query analyser and by looking at connections in the perf mon.

I am having this problem with C++ using ADO.net via smartpointers, and C# using ado.net. The apps are not using connection pooling, and my simplest test above involves only the above code actually running, i.e. no other apps are running

Can anyone tell me why the connection is so slow to release, and how i can resolve this?

Thanks in advance,
Q

Quintes

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.