Click here to Skip to main content
15,903,854 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Learn C# Online Pin
Bluestater23-Feb-11 3:55
Bluestater23-Feb-11 3:55 
AnswerRe: Learn C# Online Pin
lmarrette23-Feb-11 4:22
lmarrette23-Feb-11 4:22 
AnswerRe: Learn C# Online [modified] Pin
BillWoodruff3-Mar-11 20:53
professionalBillWoodruff3-Mar-11 20:53 
AnswerRe: Learn C# Online Pin
Prasanta_Prince14-Apr-11 0:22
Prasanta_Prince14-Apr-11 0:22 
QuestionCheck Remote sql connecton is exist or not? [modified] Pin
RA|-|UL PATEL17-Feb-11 20:12
RA|-|UL PATEL17-Feb-11 20:12 
AnswerRe: Check Remote sql connecton is exist or not? Pin
Richard MacCutchan17-Feb-11 22:01
mveRichard MacCutchan17-Feb-11 22:01 
GeneralRe: Check Remote sql connecton is exist or not? Pin
RA|-|UL PATEL17-Feb-11 22:10
RA|-|UL PATEL17-Feb-11 22:10 
GeneralRe: Check Remote sql connecton is exist or not? Pin
jschell18-Feb-11 9:02
jschell18-Feb-11 9:02 
.Net uses a connection pool.

So unless you explicitly turn it off connections are pooled.

What this means is that you can see the following happen.
- Do something with database (C#), connection is in pool.
- database gets bounced.
- Do something else with database, it pulls existing connection from pool. When you attempt to use the connection it blows up.

The choices are
1. Use a connection string that prevents pooling.
2. Go through enough connection attempts that you get a good connection.
3. Catch and parse all exceptions and look for several specific ones. Reset the pool when you find those. The originating connection still failed though so you need to do something about that.
GeneralRe: Check Remote sql connecton is exist or not? Pin
Nitin Singh India21-Mar-11 7:36
Nitin Singh India21-Mar-11 7:36 
QuestionWhile creating dataset if i click new connection button it is disappearing in visual studio 2008 windows appln Pin
sr15916-Feb-11 22:22
sr15916-Feb-11 22:22 
AnswerRe: While creating dataset if i click new connection button it is disappearing in visual studio 2008 windows appln Pin
Ravi Sant16-Feb-11 23:23
Ravi Sant16-Feb-11 23:23 
QuestionHow to modify the dataset from payroll_systemconnectionstring (database name payroll_system) to another payrollconnectionstring (database name payroll) Pin
sr15916-Feb-11 19:38
sr15916-Feb-11 19:38 
AnswerRe: How to modify the dataset from payroll_systemconnectionstring (database name payroll_system) to another payrollconnectionstring (database name payroll) Pin
Richard MacCutchan17-Feb-11 0:19
mveRichard MacCutchan17-Feb-11 0:19 
AnswerRe: How to modify the dataset from payroll_systemconnectionstring (database name payroll_system) to another payrollconnectionstring (database name payroll) Pin
Ravi Sant17-Feb-11 0:52
Ravi Sant17-Feb-11 0:52 
QuestionHow to get my Word templates and AutoTexts with Interop? Pin
Bernhard Hiller16-Feb-11 3:37
Bernhard Hiller16-Feb-11 3:37 
GeneralRe: How to get my Word templates and AutoTexts with Interop? [modified] Pin
musefan16-Feb-11 4:05
musefan16-Feb-11 4:05 
GeneralRe: How to get my Word templates and AutoTexts with Interop? [modified] Pin
musefan16-Feb-11 4:13
musefan16-Feb-11 4:13 
GeneralRe: How to get my Word templates and AutoTexts with Interop? Pin
Bernhard Hiller16-Feb-11 20:00
Bernhard Hiller16-Feb-11 20:00 
AnswerRe: How to get my Word templates and AutoTexts with Interop? Pin
Bernhard Hiller16-Feb-11 20:41
Bernhard Hiller16-Feb-11 20:41 
QuestionHow to resolve sgen.exe error Pin
meeram39515-Feb-11 21:37
meeram39515-Feb-11 21:37 
AnswerRe: How to resolve sgen.exe error Pin
Richard MacCutchan15-Feb-11 23:02
mveRichard MacCutchan15-Feb-11 23:02 
AnswerRe: How to resolve sgen.exe error Pin
Yusuf16-Feb-11 3:21
Yusuf16-Feb-11 3:21 
QuestionProcess::HasExited always true Pin
piul15-Feb-11 2:07
piul15-Feb-11 2:07 
AnswerRe: Process::HasExited always true Pin
Luc Pattyn15-Feb-11 3:10
sitebuilderLuc Pattyn15-Feb-11 3:10 
GeneralRe: Process::HasExited always true Pin
piul15-Feb-11 3:20
piul15-Feb-11 3:20 

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.