Time out expired

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

Bu soruna genellikle kod içerisinde açılan fakat kapatılması unutulan, gözden kaçırılan Connection’lar neden olur.

Bu kapatılmayan Connection’lar ise Connection Pool içerisinde tanımlı max. Connection sayısına ulaştığında sistem her yeni Connection açmaya çalıştığında bu hatayı alırsınız .

Çözüm için yazılımınzdaki connectionları kontrol etmeniz gerekmektedir. Bir diğer çözümde aşağıdaki kod ile connection sayısını arttırmak.

pooling=true;max pool size=1000000

Reply Cancel Reply

Your email address will not be published. Required fields are marked *

Comment*

Name*

Website

Comments

  1. soru

    iis te daha az ise bu connection sayısı peki

  2. salim köse

    bu değeri nereye yaxacağız pooling=true;max pool size=1000000
    ayrıca değeri bu sayıda tutmak sorun yaratırmı

  3. Bu değeri webconfig dosyanıza yazmanız gerekir. Bu sayıda tutmak sorun yaratmaz ama yazılımsal bir sorun olduğunu da gösterebilir kodunuzu incelemeyi ihmal etmeyin derin.

  4. salim köse

    merhaba attıracağım yeri bulamadım nereye eklemem gerekiyor acaba

    <!– CUSTOM ERROR MESSAGES
    Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.
    Add tags for each of the errors you want to handle.

    “On” Always display custom (friendly) messages.
    “Off” Always display detailed ASP.NET error information.
    “RemoteOnly” Display custom (friendly) messages only to users not running
    on the local Web server. This setting is recommended for security purposes, so
    that you do not display application detail information to remote clients.
    –>

    <!–

    –>

    <!– CUSTOM ERROR MESSAGES
    Set customErrors mode="MsAccess" or "PassError" to enable custom error messages.
    Add tags for each of the errors you want to handle.

    “Always Resume” Display custom (friendly) messages only to users not running
    on the local Web server. This setting is recommended for security purposes, so
    that you do not display application detail information to remote clients.
    –>

  5. aşağıdaki taglar arasında SQL connection cümlenize eklemeniz gerekir.