سلام این خطا برای چی صادر میشه؟
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. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: 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.
من کانکشن ها را هم بستم ولی باز این خطا داده میشه؟
if (con.State != ConnectionState.Closed) con.Close();
تعداد کاربر هم شاید به 3 تا هم نرسه
زمانی که کانکشن بسته نشود این اتفاق رخ میدهد
شرط را بردارید و کانکشن را بدون شرط ببنید ، ببینید مشکل برطرف میشه
هیچ کاربری تا کنون از این پست تشکر نکرده است
با ما تماس بگیرید تا در این مسیر همراهتان باشیم :)