Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How different between these 2 connection Strings, one has pooling = false, the other is not. ?
tuanbs
Nov 24 2009 12:04 AM
3.3k
Reply
1. <add name="MyConnect" connectionString="server=.;database=OnlinePostOffice;
Pooling=false;Connect Timeout=45
;uid=sa;pwd=456"/>
2. <add name="MyConnect" connectionString="server=.;database=OnlinePostOffice;uid=sa;pwd=456"/>
If I use the second String, sometime I got this error:
"Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached."
Now I must use the first String. But I don't know how different between us.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to change user controls in visual studion 2005 without page loading?
How to read data from port with ASP.NET