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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anumsajeel
    New Member
    • Jan 2009
    • 4

    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.MySq lClient.Driver GetConnection()
    Error Source:-
    MySql.Data
    Error Full:-
    MySql.DataMySql .Data.MySqlClie nt.MySqlExcepti on: 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.MySq lClient.MySqlPo ol.GetConnectio n()
    at MySql.Data.MySq lClient.MySqlCo nnection.Open()
    at SM.Quiz.Questio ns.Collection.S toreQuestionsCo llection.GetQue stionsGenericCo llection()
    in C:\Working\Quiz Engine\Business Library\SM.Quiz .Questions\Coll ection\StoreQue stionsCollectio n.cs:line
    20

    Life in the UK Test Online, British Citizenship Test, UK Citizenship Test
  • PRR
    Recognized Expert Contributor
    • Dec 2007
    • 750

    #2
    "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";

    Comment

    • anumsajeel
      New Member
      • Jan 2009
      • 4

      #3
      Originally posted by DeepBlue
      "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";
      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

      Comment

      Working...