469,289 Members | 2,251 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,289 developers. It's quick & easy.

The timeout period elapsed prior to obtaining a connection from the pool.

Hi,

Error Message:-
error connecting: 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.
Target Site:-
MySql.Data.MySqlClient.Driver GetConnection()
Error Source:-
MySql.Data
Error Full:-
MySql.DataMySql.Data.MySqlClient.MySqlException: error connecting: 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.
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at SM.Quiz.Questions.Collection.StoreQuestionsCollect ion.GetQuestionsGenericCollection()
in C:\Working\QuizEngine\BusinessLibrary\SM.Quiz.Ques tions\Collection\StoreQuestionsCollection.cs:line
20

Life in the UK Test Online, British Citizenship Test, UK Citizenship Test
Jan 6 '09 #1
2 12329
PRR
750 Expert 512MB
"Error Message:-
error connecting: 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."
You need to increase the connection pool size...like in your connection string you could specify....
"Database = Northwind;Min Pool Size = 25;Max Pool Size=150";
Jan 6 '09 #2
@DeepBlue
Thanks, I am going to change the connection string as you explained.. and will let you know later on.

Thanks,
Life in the uk test
Jan 6 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Silvia | last post: by
1 post views Thread by Jake K | last post: by
2 posts views Thread by =?Utf-8?B?Y2FzaGRlc2ttYWM=?= | last post: by
7 posts views Thread by =?Utf-8?B?Sm9obiBTdGFnZ3M=?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.